Optional. The format of the source text, for example,
"text/html", "text/plain". If left blank, the MIME type
defaults to "text/html".
Required. The BCP-47 language code to use for translation of
the input text, set to one of the language codes listed in
Language Support.
Optional. The model type requested for this translation.
The format depends on model type: - AutoML Translation
models: projects/{project-id}/locations/{location-
id}/models/{model-id} - General (built-in) models:
projects/{project-id}/locations/{location-
id}/models/general/nmt, projects/{project-
id}/locations/{location-id}/models/general/base For global
(non-regionalized) requests, use location-idglobal.
For example, projects/{project-
id}/locations/global/models/general/nmt. If missing, the
system decides which google base model to use.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[],[]]