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

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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getMetrics

The metrics and corresponding confidence intervals in the inference result.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setMetrics

The metrics and corresponding confidence intervals in the inference result.

Parameter
NameDescription
var array<Google\Cloud\Dialogflow\Cx\V3\Experiment\Result\Metric>
Returns
TypeDescription
$this

getSessionCount

Number of sessions that were allocated to this version.

Returns
TypeDescription
int

setSessionCount

Number of sessions that were allocated to this version.

Parameter
NameDescription
var int
Returns
TypeDescription
$this