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

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

↳ 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
TypeDescription
string

setParent

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEnvironment

Required. The environment to create.

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

hasEnvironment

clearEnvironment

setEnvironment

Required. The environment to create.

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