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 \ V3Methods
__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: |
↳ experiment |
Experiment
Required. The experiment to create. |
getParent
Required. The Agent to create an
Environment for. Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>.
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The Agent to create an
Environment for. Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExperiment
Required. The experiment to create.
| Returns | |
|---|---|
| Type | Description |
Experiment|null |
|
hasExperiment
clearExperiment
setExperiment
Required. The experiment to create.
| Parameter | |
|---|---|
| Name | Description |
var |
Experiment
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The Agent to create an
Environment for. Format:
|
experiment |
Experiment
Required. The experiment to create. |
| Returns | |
|---|---|
| Type | Description |
CreateExperimentRequest |
|