Opcional. O formato do texto de origem, por exemplo, "text/html" ou "text/plain". Se for deixado em branco, o tipo MIME usa como predefinição "text/html".
content
string
O conteúdo da entrada armazenado como uma string.
Corpo da resposta
Se for bem-sucedido, o corpo da resposta contém uma instância de DetectLanguageResponse.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-08-21 UTC."],[[["\u003cp\u003eThis service detects the language of text submitted within a request.\u003c/p\u003e\n"],["\u003cp\u003eThe request is made via a \u003ccode\u003ePOST\u003c/code\u003e request to the provided endpoint, including the project ID as a path parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain the content to be analyzed, along with an optional MIME type, in JSON format.\u003c/p\u003e\n"],["\u003cp\u003eThe response body will contain the language detection results in \u003ccode\u003eDetectLanguageResponse\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: projects.detectLanguage\n\nDetects the language of text within a request.\n\n### HTTP request\n\n`POST https://{TRANSLATION_GDC_ENDPOINT}/v3/{parent}:detectLanguage`\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nIf successful, the response body contains an instance of [DetectLanguageResponse](/distributed-cloud/hosted/docs/latest/gdch/apis/vertex-ai/translation/rest/v3/DetectLanguageResponse)."]]