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\u003eThis page provides reference documentation for the \u003ccode\u003eTranslation\u003c/code\u003e class within the Google Cloud Translation v3 API, specifically for version 3.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTranslation\u003c/code\u003e class represents a single translation response, which implements several interfaces such as \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\u003eKey properties of the \u003ccode\u003eTranslation\u003c/code\u003e class include \u003ccode\u003eDetectedLanguageCode\u003c/code\u003e, \u003ccode\u003eGlossaryConfig\u003c/code\u003e, \u003ccode\u003eModel\u003c/code\u003e, and \u003ccode\u003eTranslatedText\u003c/code\u003e, each providing specific details about the translation process and result.\u003c/p\u003e\n"],["\u003cp\u003eThe page also lists available versions of the Google Cloud Translation v3 API, ranging from the latest 3.9.0 down to 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThis document details the public constructors \u003ccode\u003eTranslation()\u003c/code\u003e and \u003ccode\u003eTranslation(Translation other)\u003c/code\u003e, as well as the inherited members \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]