Expand description
Wire types of the JSON layout of the batch endpoint.
In this layout, the operation at position i of a request is described by a Descriptor
part named "<i>". The server answers with a ResultPart named "<i>" per operation, in
completion order. A part named "<i>.payload" carries the object bytes of an insert in a
request, or of a successful get in a response, and directly follows the part it belongs to.
Structs§
- Result
Part - The JSON body of a result part, which reports the outcome of one operation.
Enums§
- Descriptor
- The JSON body of a descriptor part, which describes one operation of a request.
- Operation
Kind - The kind of a batch operation.
Constants§
- MAX_
BATCH_ OPERATIONS - Maximum number of operations in one batch request.
- MAX_
BATCH_ PART_ SIZE - Maximum size in bytes of the body of a part that carries object bytes.
- MAX_
DESCRIPTOR_ SIZE - Maximum size in bytes of the body of a
Descriptorpart. - PAYLOAD_
SUFFIX - Suffix that marks a payload part.
Functions§
- payload_
part_ name - Returns the name of the payload part of the operation at
index, for example"0.payload".