Google Cloud Dialogflow V2 Client - Class ValidationResult (1.0.1)

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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setValidationErrors

Contains all validation errors.

Generated from protobuf field repeated .google.cloud.dialogflow.v2.ValidationError validation_errors = 1;

Parameter
NameDescription
var array<Google\Cloud\Dialogflow\V2\ValidationError>
Returns
TypeDescription
$this