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

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/<ProjectID>/locations/<LocationID>/agents/<AgentID> .

↳ 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
Returns
Type
Description
$this

static::build

Parameters
Name
Description
parent
string

Required. The Agent to create an Environment for. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID> . Please see EnvironmentsClient::agentName() for help formatting this field.

environment
Environment

Required. The environment to create.

Returns
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: