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 documentation covers the \u003ccode\u003eTranslationConfig\u003c/code\u003e class, part of the Google Cloud Speech-to-Text v2 API, used for configuring audio translation into text for a specific language.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTranslationConfig\u003c/code\u003e class has been released in multiple versions, with version 1.4.0 being the latest, and it can also be found in older versions like 1.3.0, 1.2.0, 1.1.0, and 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTranslationConfig\u003c/code\u003e 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, and inherits members from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTranslationConfig\u003c/code\u003e class includes a \u003ccode\u003eTargetLanguage\u003c/code\u003e property, a required string that specifies the language code for the desired translation.\u003c/p\u003e\n"],["\u003cp\u003eConstructors for \u003ccode\u003eTranslationConfig\u003c/code\u003e are provided to instantiate a new instance or create a copy from an existing \u003ccode\u003eTranslationConfig\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]