Response

단일 요청에 대한 응답입니다.

JSON 표현
{
  "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.
}
필드
requestId

string

이 메시지에 대한 응답으로 요청된 요청의 requestId입니다.

continued

boolean

true인 경우 이 응답 다음에 이 응답과 동일한 응답 스트림에 있는 추가 응답이 이어집니다.

extensions[]

object

애플리케이션별 응답 메타데이터입니다.

임의 유형의 필드를 포함하는 객체입니다. 추가 필드 "@type"은 유형을 식별하는 URI를 포함합니다. 예를 들면 { "id": 1234, "@type": "types.example.com/standard/id" }입니다.

통합 필드 result는 응답 결과로, error 또는 유효한 response일 수 있습니다. result는 다음 중 하나여야 합니다.
error

object (Status)

요청을 처리하는 중에 오류가 발생한 경우의 오류 결과입니다.

response

object

호출이 성공한 경우 응답 페이로드

임의 유형의 필드를 포함하는 객체입니다. 추가 필드 "@type"은 유형을 식별하는 URI를 포함합니다. 예: { "id": 1234, "@type": "types.example.com/standard/id" }