Google Cloud Dialogflow Cx V3 Client - Class VersionMetrics (0.4.0)

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

Version variant and associated metrics.

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

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3 \ Experiment \ Result

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ version string

The name of the flow Version. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>.

↳ metrics array<Google\Cloud\Dialogflow\Cx\V3\Experiment\Result\Metric>

The metrics and corresponding confidence intervals in the inference result.

↳ session_count int

Number of sessions that were allocated to this version.

getVersion

The name of the flow Version.

Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>.

Returns
Type Description
string

setVersion

The name of the flow Version.

Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>.

Parameter
Name Description
var string
Returns
Type Description
$this

getMetrics

The metrics and corresponding confidence intervals in the inference result.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setMetrics

The metrics and corresponding confidence intervals in the inference result.

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

getSessionCount

Number of sessions that were allocated to this version.

Returns
Type Description
int

setSessionCount

Number of sessions that were allocated to this version.

Parameter
Name Description
var int
Returns
Type Description
$this