Google Cloud Dataplex V1 Client - Class RegexExpectation (0.4.0)

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

setRegex

A regular expression the column value is expected to match.

Parameter
NameDescription
var string
Returns
TypeDescription
$this