Response

A response to a single Request.

JSON representation
{
  "requestId": string,
  "continued": boolean,
  "extensions": [
    {
      "@type": string,
      field1: ...,
      ...
    }
  ],

  // Union field result can be only one of the following:
  "error": {
    object (Status)
  },
  "response": {
    "@type": string,
    field1: ...,
    ...
  }
  // End of list of possible types for union field result.
}
Fields
requestId

string

The requestId of the Request this message is in response to.

continued

boolean

If true, this Response is followed by additional responses that are in the same response stream as this Response.

extensions[]

object

Application specific response metadata.

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" }.

Union field result. The response result, which can be either an error or a valid response. result can be only one of the following:
error

object (Status)

The error result if there was an error processing the request.

response

object

The response payload if the call was a success.

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" }.