Google Cloud Dialogflow V2 Client - Class ValidationResult (1.17.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

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ validation_errors array<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<ValidationError>
Returns
Type Description
$this