Google Cloud Dialogflow Cx V3 Client - Class Result (0.4.1)

Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class Result.

The inference result which includes an objective metric to optimize and the confidence interval.

Generated from protobuf message google.cloud.dialogflow.cx.v3.Experiment.Result

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3 \ Experiment

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ version_metrics array<Google\Cloud\Dialogflow\Cx\V3\Experiment\Result\VersionMetrics>

Version variants and metrics.

↳ last_update_time Google\Protobuf\Timestamp

The last time the experiment's stats data was updated. Will have default value if stats have never been computed for this experiment.

getVersionMetrics

Version variants and metrics.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setVersionMetrics

Version variants and metrics.

Parameter
Name Description
var array<Google\Cloud\Dialogflow\Cx\V3\Experiment\Result\VersionMetrics>
Returns
Type Description
$this

getLastUpdateTime

The last time the experiment's stats data was updated. Will have default value if stats have never been computed for this experiment.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasLastUpdateTime

clearLastUpdateTime

setLastUpdateTime

The last time the experiment's stats data was updated. Will have default value if stats have never been computed for this experiment.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this