Google Cloud Dialogflow V2 Client - Class ValidationResult (1.16.0)

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

Namespace

Google \ Cloud \ Dialogflow \ V2

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.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setValidationErrors

Contains all validation errors.

Parameter
Name Description
var array<Google\Cloud\Dialogflow\V2\ValidationError>
Returns
Type Description
$this