Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::Flow::MultiLanguageSettings (v1.2.0)

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

Settings for multi-lingual agents.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#enable_multi_language_detection

def enable_multi_language_detection() -> ::Boolean
Returns
  • (::Boolean) — Optional. Enable multi-language detection for this flow. This can be set only if [agent level multi language setting][Agent.enable_multi_language_training] is enabled.

#enable_multi_language_detection=

def enable_multi_language_detection=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Enable multi-language detection for this flow. This can be set only if [agent level multi language setting][Agent.enable_multi_language_training] is enabled.
Returns
  • (::Boolean) — Optional. Enable multi-language detection for this flow. This can be set only if [agent level multi language setting][Agent.enable_multi_language_training] is enabled.

#supported_response_language_codes

def supported_response_language_codes() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. Agent will respond in the detected language if the detected language code is in the supported resolved languages for this flow. This will be used only if multi-language training is enabled in the agent and multi-language detection is enabled in the flow. The supported languages must be a subset of the languages supported by the agent.

#supported_response_language_codes=

def supported_response_language_codes=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. Agent will respond in the detected language if the detected language code is in the supported resolved languages for this flow. This will be used only if multi-language training is enabled in the agent and multi-language detection is enabled in the flow. The supported languages must be a subset of the languages supported by the agent.
Returns
  • (::Array<::String>) — Optional. Agent will respond in the detected language if the detected language code is in the supported resolved languages for this flow. This will be used only if multi-language training is enabled in the agent and multi-language detection is enabled in the flow. The supported languages must be a subset of the languages supported by the agent.