Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::CreateEnvironmentRequest (v1.0.0)

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

#environment=

def environment=(value) -> ::Google::Cloud::Dialogflow::V2::Environment
Parameter
Returns

#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>/agent
    • projects/<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>/agent
    • projects/<Project ID>/locations/<Location ID>/agent
Returns
  • (::String) —

    Required. The agent to create an environment for. Supported formats:

    • projects/<Project ID>/agent
    • projects/<Project ID>/locations/<Location ID>/agent