Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class ValidationResult.
Represents the output of agent validation.
Generated from protobuf message google.cloud.dialogflow.v2.ValidationResult
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ validation_errors |
array<Google\Cloud\Dialogflow\V2\ValidationError>
Contains all validation errors. |
getValidationErrors
Contains all validation errors.
Generated from protobuf field repeated .google.cloud.dialogflow.v2.ValidationError validation_errors = 1;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setValidationErrors
Contains all validation errors.
Generated from protobuf field repeated .google.cloud.dialogflow.v2.ValidationError validation_errors = 1;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Dialogflow\V2\ValidationError>
|
Returns | |
---|---|
Type | Description |
$this |