The BCP-47 language code of source text in the initial request, detected
automatically, if no source language was passed within the initial
request. If the source language was passed, auto-detection of the language
does not occur and this field is empty.
Only present when model is present in the request.
model here is normalized to have project number.
For example:
If the model requested in TranslationTextRequest is
projects/{project-id}/locations/{location-id}/models/general/nmt then
model here would be normalized to
projects/{project-number}/locations/{location-id}/models/general/nmt.
[[["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\u003eTranslation\u003c/code\u003e class represents a single translation response within the Google Cloud Translate V3 API, with its current version being 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eIt 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, indicating its role in handling message structures, comparisons, deep cloning, and buffer operations.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eTranslation\u003c/code\u003e class include \u003ccode\u003eDetectedLanguageCode\u003c/code\u003e (the automatically detected source language), \u003ccode\u003eGlossaryConfig\u003c/code\u003e (the glossary configuration used), \u003ccode\u003eModel\u003c/code\u003e (the normalized translation model used), and \u003ccode\u003eTranslatedText\u003c/code\u003e (the actual translated text).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTranslation\u003c/code\u003e class has two constructors, one that takes no parameters, and another that takes a \u003ccode\u003eTranslation\u003c/code\u003e object as an argument.\u003c/p\u003e\n"],["\u003cp\u003eThis class supports and inherits some methods from the base \u003ccode\u003eObject\u003c/code\u003e class such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, \u003ccode\u003eMemberwiseClone()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]