Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::CreateEnvironmentRequest.
The request message for Environments.CreateEnvironment.
Inherits
- Object
 
Extended By
- Google::Protobuf::MessageExts::ClassMethods
 
Includes
- Google::Protobuf::MessageExts
 
Methods
#environment
def environment() -> ::Google::Cloud::Dialogflow::V2::Environment Returns 
 - (::Google::Cloud::Dialogflow::V2::Environment) — Required. The environment to create.
 
#environment=
def environment=(value) -> ::Google::Cloud::Dialogflow::V2::Environment Parameter 
 - value (::Google::Cloud::Dialogflow::V2::Environment) — Required. The environment to create.
 
 Returns 
 - (::Google::Cloud::Dialogflow::V2::Environment) — Required. The environment to create.
 
#environment_id
def environment_id() -> ::String Returns 
 - (::String) — Required. The unique id of the new environment.
 
#environment_id=
def environment_id=(value) -> ::String Parameter 
 - value (::String) — Required. The unique id of the new environment.
 
 Returns 
 - (::String) — Required. The unique id of the new environment.
 
#parent
def parent() -> ::String Returns 
 -  (::String) — 
Required. The agent to create an environment for. Supported formats:
projects/<Project ID>/agentprojects/<Project ID>/locations/<Location ID>/agent
 
#parent=
def parent=(value) -> ::String Parameter 
 -  value (::String) — 
Required. The agent to create an environment for. Supported formats:
projects/<Project ID>/agentprojects/<Project ID>/locations/<Location ID>/agent
 
 Returns 
 -  (::String) — 
Required. The agent to create an environment for. Supported formats:
projects/<Project ID>/agentprojects/<Project ID>/locations/<Location ID>/agent