Google Cloud Datastream V1 Client - Class Validation (1.5.5)

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

Namespace

Google \ Cloud \ Datastream \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setDescription

A short description of the validation.

Parameter
Name Description
var string
Returns
Type Description
$this

getState

Validation execution status.

Returns
Type Description
int

setState

Validation execution status.

Parameter
Name Description
var int
Returns
Type Description
$this

getMessage

Messages reflecting the validation results.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setMessage

Messages reflecting the validation results.

Parameter
Name Description
var array<Google\Cloud\Datastream\V1\ValidationMessage>
Returns
Type Description
$this

getCode

A custom code identifying this validation.

Returns
Type Description
string

setCode

A custom code identifying this validation.

Parameter
Name Description
var string
Returns
Type Description
$this