Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::Environment (v0.20.0)

Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::Environment.

Represents an environment for an agent. You can create multiple versions of your agent and publish them to separate environments. When you edit an agent, you are editing the draft agent. At any point, you can save the draft agent as an agent version, which is an immutable snapshot of your agent. When you save the draft agent, it is published to the default environment. When you create agent versions, you can publish them to custom environments. You can create a variety of custom environments for testing, development, production, etc.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#description

def description() -> ::String
Returns
  • (::String) — The human-readable description of the environment. The maximum length is 500 characters. If exceeded, the request is rejected.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — The human-readable description of the environment. The maximum length is 500 characters. If exceeded, the request is rejected.
Returns
  • (::String) — The human-readable description of the environment. The maximum length is 500 characters. If exceeded, the request is rejected.

#display_name

def display_name() -> ::String
Returns
  • (::String) — Required. The human-readable name of the environment (unique in an agent). Limit of 64 characters.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Required. The human-readable name of the environment (unique in an agent). Limit of 64 characters.
Returns
  • (::String) — Required. The human-readable name of the environment (unique in an agent). Limit of 64 characters.

#name

def name() -> ::String
Returns
  • (::String) — The name of the environment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The name of the environment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>.
Returns
  • (::String) — The name of the environment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>.

#test_cases_config

def test_cases_config() -> ::Google::Cloud::Dialogflow::CX::V3::Environment::TestCasesConfig
Returns

#test_cases_config=

def test_cases_config=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Environment::TestCasesConfig
Parameter
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns

#version_configs

def version_configs() -> ::Array<::Google::Cloud::Dialogflow::CX::V3::Environment::VersionConfig>
Returns

#version_configs=

def version_configs=(value) -> ::Array<::Google::Cloud::Dialogflow::CX::V3::Environment::VersionConfig>
Parameter
Returns

#webhook_config

def webhook_config() -> ::Google::Cloud::Dialogflow::CX::V3::Environment::WebhookConfig
Returns

#webhook_config=

def webhook_config=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Environment::WebhookConfig
Parameter
Returns