Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class CreateEnvironmentRequest.
The request message for Environments.CreateEnvironment.
Generated from protobuf message google.cloud.dialogflow.cx.v3.CreateEnvironmentRequest
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: |
↳ environment |
Environment
Required. The environment to create. |
getParent
Required. The Agent to create an
Environment for. Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>
.
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The Agent to create an
Environment for. Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getEnvironment
Required. The environment to create.
Returns | |
---|---|
Type | Description |
Environment|null |
hasEnvironment
clearEnvironment
setEnvironment
Required. The environment to create.
Parameter | |
---|---|
Name | Description |
var |
Environment
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. The Agent to create an
Environment for. Format:
|
environment |
Environment
Required. The environment to create. |
Returns | |
---|---|
Type | Description |
CreateEnvironmentRequest |