Google Cloud Dialogflow Cx V3 Client - Class Result (0.2.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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setVersionMetrics

Version variants and metrics.

Parameter
NameDescription
var array<Google\Cloud\Dialogflow\Cx\V3\Experiment\Result\VersionMetrics>
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this