Mensaje que representa un cuerpo HTTP arbitrario. Solo debería usarse para formatos de carga útil que no pueden representarse como JSON, por ejemplo, datos binarios sin procesar o una página HTML.
Este mensaje se puede usar en métodos de API de transmisión y de no transmisión, en la solicitud y en la respuesta.
Se puede usar como campo de solicitud de alto nivel, que es conveniente si alguien quiere extraer parámetros de la plantilla de URL o HTTP en los campos de solicitudes y también quiere acceder al cuerpo HTTP sin procesar.
El cuerpo de la solicitud/respuesta HTTP como objeto binario sin procesar.
String codificada en base 64.
extensions[]
object
Metadatos de la respuesta específica de la aplicación. Se deben configurar en la primera respuesta para las API de transmisión.
Un objeto que contiene campos de un tipo arbitrario. Un campo adicional "@type" contiene una URI que identifica el tipo. Ejemplo: { "id": 1234, "@type": "types.example.com/standard/id" }.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 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."]]