Stay organized with collections Save and categorize content based on your preferences.

Request object for ByteStream.Read.

JSON representation
  "resourceName": string,
  "readOffset": string,
  "readLimit": string


The name of the resource to read.


string (int64 format)

The offset for the first byte to return in the read, relative to the start of the resource.

A readOffset that is negative or greater than the size of the resource will cause an OUT_OF_RANGE error.


string (int64 format)

The maximum number of data bytes the server is allowed to return in the sum of all ReadResponse messages. A readLimit of zero indicates that there is no limit, and a negative readLimit will cause an error.

If the stream returns fewer bytes than allowed by the readLimit and no error occurred, the stream includes all data from the readOffset to the end of the resource.