Cloud Speech-to-Text v2 API - Class TranslationConfig (1.0.0)

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.

Inheritance

object > TranslationConfig

Namespace

Google.Cloud.Speech.V2

Assembly

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