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 \ ResultMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ version |
string
The name of the flow Version. Format: |
↳ metrics |
array<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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>.
| Returns | |
|---|---|
| Type | Description |
string |
|
setVersion
The name of the flow Version.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>.
| 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<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 |
|