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 |
Google\Cloud\Dialogflow\Cx\V3\Environment
Required. The environment to create. |
getParent
Required. The Agent to create an
Environment for. Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The Agent to create an
Environment for. Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getEnvironment
Required. The environment to create.
Returns | |
---|---|
Type | Description |
Google\Cloud\Dialogflow\Cx\V3\Environment|null |
hasEnvironment
clearEnvironment
setEnvironment
Required. The environment to create.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dialogflow\Cx\V3\Environment
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. The Agent to create an
Environment for. Format:
|
environment |
Google\Cloud\Dialogflow\Cx\V3\Environment
Required. The environment to create. |
Returns | |
---|---|
Type | Description |
Google\Cloud\Dialogflow\Cx\V3\CreateEnvironmentRequest |