Google Cloud Dialogflow V2 Client - Class ValidationResult (1.3.2)

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.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setValidationErrors

Contains all validation errors.

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