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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ description |
string
A short description of the validation. |
↳ state |
int
Output only. Validation execution status. |
↳ message |
array<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
Output only. Validation execution status.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type State. |
setState
Output only. Validation execution status.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type State. |
| 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<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 |
|