Google Cloud Dataplex V1 Client - Class RegexExpectation (0.11.1)

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 \ DataQualityRule

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setRegex

Optional. A regular expression the column value is expected to match.

Parameter
NameDescription
var string
Returns
TypeDescription
$this