The ISO-639 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, part of the Google Cloud Translation v3 API, represents a single translation response and 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 Google Cloud Translation v3 API is 3.9.0, while the current page's documentation is focused on version 3.7.0, with past versions listed back to 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTranslation\u003c/code\u003e class includes properties like \u003ccode\u003eDetectedLanguageCode\u003c/code\u003e, \u003ccode\u003eGlossaryConfig\u003c/code\u003e, \u003ccode\u003eModel\u003c/code\u003e, and \u003ccode\u003eTranslatedText\u003c/code\u003e, providing details about the translation process and results.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTranslation\u003c/code\u003e class can be created with two distinct constructors, \u003ccode\u003eTranslation()\u003c/code\u003e and \u003ccode\u003eTranslation(Translation other)\u003c/code\u003e that can be used for different use cases.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTranslation\u003c/code\u003e class inherits functionalities from the base \u003ccode\u003eobject\u003c/code\u003e class, such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e, which are accessible within the \u003ccode\u003eTranslation\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]