Google Cloud Dataplex V1 Client - Class RegexExpectation (0.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Dataplex V1 Client class RegexExpectation.
Evaluates whether each column value matches a specified regex.
Generated from protobuf message google.cloud.dataplex.v1.DataQualityRule.RegexExpectation
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ regex |
string
A regular expression the column value is expected to match. |
getRegex
A regular expression the column value is expected to match.
| Returns | |
|---|---|
| Type | Description |
string |
|
setRegex
A regular expression the column value is expected to match.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|