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 webpage provides documentation for the \u003ccode\u003eTranslationConfig\u003c/code\u003e class within the Google Cloud Speech-to-Text v2 API, used for configuring audio translation into text for a specified language.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTranslationConfig\u003c/code\u003e class 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 from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe available versions of the \u003ccode\u003eTranslationConfig\u003c/code\u003e class, found on the page, range from version 1.0.0 to 1.4.0, with 1.4.0 being the latest.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTranslationConfig\u003c/code\u003e has two constructors: a default constructor and a copy constructor that accepts another \u003ccode\u003eTranslationConfig\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe primary property of \u003ccode\u003eTranslationConfig\u003c/code\u003e is \u003ccode\u003eTargetLanguage\u003c/code\u003e, a string property used to set the desired language for translation, and it is required for use.\u003c/p\u003e\n"]]],[],null,[]]