Google Cloud Dialogflow Cx V3 Client - Class CreateExperimentRequest (0.1.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
NameDescription
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
TypeDescription
string

setParent

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getExperiment

Required. The experiment to create.

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

hasExperiment

clearExperiment

setExperiment

Required. The experiment to create.

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