Optional. Das Format des Quelltexts, z. B. „text/html“ oder „text/plain“. Wenn Sie hier nichts eingeben, wird standardmäßig der MIME-Typ „text/html“ verwendet.
content
string
Der Inhalt der Eingabe, die als String gespeichert ist.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von DetectLanguageResponse.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-07-30 (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)."]]