Google Cloud Dialogflow Cx V3 Client - Class CreateEnvironmentRequest (0.4.0)

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 \ 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>.

↳ 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: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>. Please see Google\Cloud\Dialogflow\Cx\V3\EnvironmentsClient::agentName() for help formatting this field.

environment Google\Cloud\Dialogflow\Cx\V3\Environment

Required. The environment to create.

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