Google Cloud Dialogflow V2 Client - Class EvaluationStatus (2.3.0)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class EvaluationStatus.

A common evalaution pipeline status.

Generated from protobuf message google.cloud.dialogflow.v2.EvaluationStatus

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ done bool

Output only. If the value is false, it means the evaluation is still in progress. If true, the operation is completed, and either error or response is available.

↳ pipeline_status Google\Rpc\Status

Output only. The error result of the evaluation in case of failure in evaluation pipeline.

getDone

Output only. If the value is false, it means the evaluation is still in progress. If true, the operation is completed, and either error or response is available.

Returns
Type Description
bool

hasDone

clearDone

setDone

Output only. If the value is false, it means the evaluation is still in progress. If true, the operation is completed, and either error or response is available.

Parameter
Name Description
var bool
Returns
Type Description
$this

getPipelineStatus

Output only. The error result of the evaluation in case of failure in evaluation pipeline.

Returns
Type Description
Google\Rpc\Status|null

hasPipelineStatus

clearPipelineStatus

setPipelineStatus

Output only. The error result of the evaluation in case of failure in evaluation pipeline.

Parameter
Name Description
var Google\Rpc\Status
Returns
Type Description
$this