Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class MultiLanguageSettings.
Settings for multi-lingual agents.
Generated from protobuf message google.cloud.dialogflow.cx.v3.Flow.MultiLanguageSettings
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3 \ FlowMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ enable_multi_language_detection
bool
Optional. Enable multi-language detection for this flow. This can be set only if agent level multi language setting is enabled.
↳ supported_response_language_codes
array
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.
getEnableMultiLanguageDetection
Optional. Enable multi-language detection for this flow. This can be set only if agent level multi language setting is enabled.
bool
setEnableMultiLanguageDetection
Optional. Enable multi-language detection for this flow. This can be set only if agent level multi language setting is enabled.
var
bool
$this
getSupportedResponseLanguageCodes
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.
setSupportedResponseLanguageCodes
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.
var
string[]
$this