ReadResponse

Response object for ByteStream.Read.

JSON representation
{
  "data": string,
  "finalResourceSize": string,
  "extensions": [
    {
      "@type": string,
      field1: ...,
      ...
    }
  ]
}
Fields
data

string (bytes format)

A portion of the data for the resource. The service may leave data empty for any given ReadResponse. This enables the service to inform the client that the request is still live while it is running an operation to generate more data.

A base64-encoded string.

finalResourceSize

string (Int64Value format)

Optional. The estimated final size of the resource, which should only be used for showing read progress.

extensions[]

object

Application specific response metadata. Must be set in the first response for streaming APIs.

An object containing fields of an arbitrary type. An additional field "@type" contains a URI identifying the type. Example: { "id": 1234, "@type": "types.example.com/standard/id" }.