Google Cloud Datastream V1 Client - Class Validation (1.1.0)

Reference documentation and code samples for the Google Cloud Datastream V1 Client class Validation.

A validation to perform on a stream.

Generated from protobuf message google.cloud.datastream.v1.Validation

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ description string

A short description of the validation.

↳ state int

Validation execution status.

↳ message array<Google\Cloud\Datastream\V1\ValidationMessage>

Messages reflecting the validation results.

↳ code string

A custom code identifying this validation.

getDescription

A short description of the validation.

Returns
TypeDescription
string

setDescription

A short description of the validation.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getState

Validation execution status.

Returns
TypeDescription
int

setState

Validation execution status.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getMessage

Messages reflecting the validation results.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setMessage

Messages reflecting the validation results.

Parameter
NameDescription
var array<Google\Cloud\Datastream\V1\ValidationMessage>
Returns
TypeDescription
$this

getCode

A custom code identifying this validation.

Returns
TypeDescription
string

setCode

A custom code identifying this validation.

Parameter
NameDescription
var string
Returns
TypeDescription
$this