Google Cloud Dialogflow Cx V3 Client - Class Definition (0.5.1)

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

Definition of the experiment.

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

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3 \ Experiment

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ condition string

The condition defines which subset of sessions are selected for this experiment. If not specified, all sessions are eligible. E.g. "query_input.language_code=en" See the conditions reference.

↳ version_variants Google\Cloud\Dialogflow\Cx\V3\VersionVariants

The flow versions as the variants of this experiment.

getCondition

The condition defines which subset of sessions are selected for this experiment. If not specified, all sessions are eligible. E.g.

"query_input.language_code=en" See the conditions reference.

Returns
Type Description
string

setCondition

The condition defines which subset of sessions are selected for this experiment. If not specified, all sessions are eligible. E.g.

"query_input.language_code=en" See the conditions reference.

Parameter
Name Description
var string
Returns
Type Description
$this

getVersionVariants

The flow versions as the variants of this experiment.

Returns
Type Description
Google\Cloud\Dialogflow\Cx\V3\VersionVariants|null

hasVersionVariants

setVersionVariants

The flow versions as the variants of this experiment.

Parameter
Name Description
var Google\Cloud\Dialogflow\Cx\V3\VersionVariants
Returns
Type Description
$this

getVariants

Returns
Type Description
string