Google Cloud Dialogflow Cx V3 Client - Class CreateExperimentRequest (0.4.1)

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

The request message for Experiments.CreateExperiment.

Generated from protobuf message google.cloud.dialogflow.cx.v3.CreateExperimentRequest

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The Agent to create an Environment for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>.

↳ experiment Google\Cloud\Dialogflow\Cx\V3\Experiment

Required. The experiment to create.

getParent

Required. The Agent to create an Environment for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>.

Returns
Type Description
string

setParent

Required. The Agent to create an Environment for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>.

Parameter
Name Description
var string
Returns
Type Description
$this

getExperiment

Required. The experiment to create.

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

hasExperiment

clearExperiment

setExperiment

Required. The experiment to create.

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

static::build

Parameters
Name Description
parent string

Required. The Agent to create an Environment for. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>. Please see Google\Cloud\Dialogflow\Cx\V3\ExperimentsClient::environmentName() for help formatting this field.

experiment Google\Cloud\Dialogflow\Cx\V3\Experiment

Required. The experiment to create.

Returns
Type Description
Google\Cloud\Dialogflow\Cx\V3\CreateExperimentRequest