Diese Nachricht repräsentiert einen beliebigen HTTP-Text. Sie sollte nur für Nutzlastformate verwendet werden, die nicht als JSON dargestellt werden können, z. B. binäre Rohdaten oder eine HTML-Seite.
Diese Nachricht kann sowohl für Streaming- als auch Nicht-Streaming-API-Methoden in der Anfrage sowie in der Antwort verwendet werden.
Sie kann als übergeordnetes Anfragefeld verwendet werden. Das ist praktisch, wenn Sie Parameter aus der URL- oder HTTP-Vorlage in die Anfragefelder extrahieren und auch auf die Rohdaten des HTTP-Texts zugreifen möchten.
Anwendungsspezifische Antwortmetadaten. Sie müssen in der ersten Antwort für Streaming-APIs festgelegt werden.
Ein Objekt mit Feldern eines beliebigen Typs. Ein zusätzliches Feld "@type" enthält einen URI zur Identifizierung des Typs. Beispiel: { "id": 1234, "@type": "types.example.com/standard/id" }.
[[["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 message format is designed for HTTP body payloads that are not representable as JSON, including raw binary data and HTML.\u003c/p\u003e\n"],["\u003cp\u003eIt supports both streaming and non-streaming API methods, applicable to both requests and responses.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003econtentType\u003c/code\u003e field specifies the MIME type of the body, while the \u003ccode\u003edata\u003c/code\u003e field holds the base64-encoded binary content.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eextensions\u003c/code\u003e is used for application-specific response metadata, particularly required in the first response for streaming APIs.\u003c/p\u003e\n"]]],[],null,["# HttpBody\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nMessage that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page.\n\nThis message can be used both in streaming and non-streaming API methods in the request as well as the response.\n\nIt can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body."]]