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.
[[["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-03-21 UTC."],[[["This document provides reference information for the `TranslationConfig` class within the Google Cloud Speech-to-Text v2 API, used for translating audio into text in a specified language."],["The `TranslationConfig` class, found in the `Google.Cloud.Speech.V2` namespace, implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The latest version of the class is `1.4.0`, and earlier versions `1.0.0` through `1.3.0` are also documented and accessible."],["`TranslationConfig` has a `TargetLanguage` property, a required field of type `string`, that sets the language code for the desired translation."],["There are two constructors available for creating a `TranslationConfig` object, one default constructor and one that takes another `TranslationConfig` as an argument."]]],[]]