public sealed class Flow.Types.MultiLanguageSettings : IMessage<Flow.Types.MultiLanguageSettings>, IEquatable<Flow.Types.MultiLanguageSettings>, IDeepCloneable<Flow.Types.MultiLanguageSettings>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class Flow.Types.MultiLanguageSettings.
Settings for multi-lingual agents.
Implements
IMessageFlowTypesMultiLanguageSettings, IEquatableFlowTypesMultiLanguageSettings, IDeepCloneableFlowTypesMultiLanguageSettings, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
MultiLanguageSettings()
public MultiLanguageSettings()
MultiLanguageSettings(MultiLanguageSettings)
public MultiLanguageSettings(Flow.Types.MultiLanguageSettings other)
Parameter | |
---|---|
Name | Description |
other |
FlowTypesMultiLanguageSettings |
Properties
EnableMultiLanguageDetection
public bool EnableMultiLanguageDetection { get; set; }
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.
Property Value | |
---|---|
Type | Description |
bool |
SupportedResponseLanguageCodes
public RepeatedField<string> SupportedResponseLanguageCodes { get; }
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][google.cloud.dialogflow.cx.v3.Agent.enable_multi_language_training] and multi-language detection is enabled in the [flow][google.cloud.dialogflow.cx.v3.Flow.MultiLanguageSettings.enable_multi_language_detection]. The supported languages must be a subset of the languages supported by the agent.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |