Google Cloud Dialogflow Cx V3 Client - Class Definition (0.2.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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getVersionVariants

The flow versions as the variants of this experiment.

Returns
TypeDescription
Google\Cloud\Dialogflow\Cx\V3\VersionVariants|null

hasVersionVariants

setVersionVariants

The flow versions as the variants of this experiment.

Parameter
NameDescription
var Google\Cloud\Dialogflow\Cx\V3\VersionVariants
Returns
TypeDescription
$this

getVariants

Returns
TypeDescription
string