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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eTranslationConfig\u003c/code\u003e class within the Google Cloud Speech-to-Text v2 API, used for translating audio into text in a specified language.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTranslationConfig\u003c/code\u003e class, found in the \u003ccode\u003eGoogle.Cloud.Speech.V2\u003c/code\u003e namespace, implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the class is \u003ccode\u003e1.4.0\u003c/code\u003e, and earlier versions \u003ccode\u003e1.0.0\u003c/code\u003e through \u003ccode\u003e1.3.0\u003c/code\u003e are also documented and accessible.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTranslationConfig\u003c/code\u003e has a \u003ccode\u003eTargetLanguage\u003c/code\u003e property, a required field of type \u003ccode\u003estring\u003c/code\u003e, that sets the language code for the desired translation.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for creating a \u003ccode\u003eTranslationConfig\u003c/code\u003e object, one default constructor and one that takes another \u003ccode\u003eTranslationConfig\u003c/code\u003e as an argument.\u003c/p\u003e\n"]]],[],null,[]]