Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class MultiLanguageSettings.
Settings for multi-lingual agents.
Generated from protobuf messagegoogle.cloud.dialogflow.cx.v3.Flow.MultiLanguageSettings
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3 \ Flow
Methods
__construct
Constructor.
Parameters
Name
Description
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 ifagent level multi language settingis 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 theagentand multi-language detection is enabled in theflow. 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 ifagent level multi language
settingis enabled.
Returns
Type
Description
bool
setEnableMultiLanguageDetection
Optional. Enable multi-language detection for this flow. This can be set
only ifagent level multi language
settingis enabled.
Parameter
Name
Description
var
bool
Returns
Type
Description
$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 theagentand multi-language detection is enabled in theflow.
The supported languages must be a subset of the languages supported by
the agent.
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 theagentand multi-language detection is enabled in theflow.
The supported languages must be a subset of the languages supported by
the agent.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dialogflow Cx V3 Client - Class MultiLanguageSettings (0.8.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.1 (latest)](/php/docs/reference/cloud-dialogflow-cx/latest/V3.Flow.MultiLanguageSettings)\n- [0.8.0](/php/docs/reference/cloud-dialogflow-cx/0.8.0/V3.Flow.MultiLanguageSettings)\n- [0.7.2](/php/docs/reference/cloud-dialogflow-cx/0.7.2/V3.Flow.MultiLanguageSettings)\n- [0.6.0](/php/docs/reference/cloud-dialogflow-cx/0.6.0/V3.Flow.MultiLanguageSettings)\n- [0.5.2](/php/docs/reference/cloud-dialogflow-cx/0.5.2/V3.Flow.MultiLanguageSettings)\n- [0.4.1](/php/docs/reference/cloud-dialogflow-cx/0.4.1/V3.Flow.MultiLanguageSettings)\n- [0.3.4](/php/docs/reference/cloud-dialogflow-cx/0.3.4/V3.Flow.MultiLanguageSettings)\n- [0.2.1](/php/docs/reference/cloud-dialogflow-cx/0.2.1/V3.Flow.MultiLanguageSettings)\n- [0.1.1](/php/docs/reference/cloud-dialogflow-cx/0.1.1/V3.Flow.MultiLanguageSettings) \nReference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class MultiLanguageSettings.\n\nSettings for multi-lingual agents.\n\nGenerated from protobuf message `google.cloud.dialogflow.cx.v3.Flow.MultiLanguageSettings`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dialogflow \\\\ Cx \\\\ V3 \\\\ Flow\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getEnableMultiLanguageDetection\n\nOptional. Enable multi-language detection for this flow. This can be set\nonly if agent level multi language setting is enabled.\n\n### setEnableMultiLanguageDetection\n\nOptional. Enable multi-language detection for this flow. This can be set\nonly if agent level multi language setting is enabled.\n\n### getSupportedResponseLanguageCodes\n\nOptional. Agent will respond in the detected language if the detected\nlanguage code is in the supported resolved languages for this flow. This\nwill be used only if multi-language training is enabled in the\n[agent](/php/docs/reference/cloud-dialogflow-cx/latest/V3.Agent#_Google_Cloud_Dialogflow_Cx_V3_Agent__getEnableMultiLanguageTraining__)\nand multi-language detection is enabled in the\n[flow](/php/docs/reference/cloud-dialogflow-cx/latest/V3.Flow.MultiLanguageSettings#_Google_Cloud_Dialogflow_Cx_V3_Flow_MultiLanguageSettings__getEnableMultiLanguageDetection__).\n\nThe supported languages must be a subset of the languages supported by\nthe agent.\n\n### setSupportedResponseLanguageCodes\n\nOptional. Agent will respond in the detected language if the detected\nlanguage code is in the supported resolved languages for this flow. This\nwill be used only if multi-language training is enabled in the\n[agent](/php/docs/reference/cloud-dialogflow-cx/latest/V3.Agent#_Google_Cloud_Dialogflow_Cx_V3_Agent__getEnableMultiLanguageTraining__)\nand multi-language detection is enabled in the\n[flow](/php/docs/reference/cloud-dialogflow-cx/latest/V3.Flow.MultiLanguageSettings#_Google_Cloud_Dialogflow_Cx_V3_Flow_MultiLanguageSettings__getEnableMultiLanguageDetection__).\n\nThe supported languages must be a subset of the languages supported by\nthe agent."]]