public sealed class TranslationConfig : IMessage<TranslationConfig>, IEquatable<TranslationConfig>, IDeepCloneable<TranslationConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Speech-to-Text v2 API class TranslationConfig.
Translation configuration. Use to translate the given audio into text for the desired language.
Implements
IMessageTranslationConfig, IEquatableTranslationConfig, IDeepCloneableTranslationConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Speech.V2Assembly
Google.Cloud.Speech.V2.dll
Constructors
TranslationConfig()
public TranslationConfig()
TranslationConfig(TranslationConfig)
public TranslationConfig(TranslationConfig other)
Parameter | |
---|---|
Name | Description |
other |
TranslationConfig |
Properties
TargetLanguage
public string TargetLanguage { get; set; }
Required. The language code to translate to.
Property Value | |
---|---|
Type | Description |
string |