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\u003eThe \u003ccode\u003eTranslationConfig\u003c/code\u003e class, part of the Google Cloud Speech-to-Text v2 API, is used to configure the translation of audio into text in a specified language.\u003c/p\u003e\n"],["\u003cp\u003eThis class is currently available in versions ranging from 1.0.0 to the latest, 1.4.0, with 1.3.0 being the version detailed here.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTranslationConfig\u003c/code\u003e inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTargetLanguage\u003c/code\u003e property within \u003ccode\u003eTranslationConfig\u003c/code\u003e allows users to set the specific language code for the desired translation output.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTranslationConfig\u003c/code\u003e class can be instantiated using a default constructor, or a constructor taking another instance of \u003ccode\u003eTranslationConfig\u003c/code\u003e as a parameter.\u003c/p\u003e\n"]]],[],null,[]]