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
Namespace
Google \ Cloud \ Dataplex \ V1 \ DataQualityRuleMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ regex |
string
Optional. A regular expression the column value is expected to match. |
getRegex
Optional. A regular expression the column value is expected to match.
| Returns | |
|---|---|
| Type | Description |
string |
|
setRegex
Optional. A regular expression the column value is expected to match.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|