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" }
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-03-13(UTC)
[null,null,["최종 업데이트: 2025-03-13(UTC)"],[],[],null,["# Response\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nA response to a single Request.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"requestId\": string, \"continued\": boolean, \"extensions\": [ { \"@type\": string, field1: ..., ... } ], // Union field `result` can be only one of the following: \"error\": { object (/workspace/tasks/reference/rest/v1/Status) }, \"response\": { \"@type\": string, field1: ..., ... } // End of list of possible types for union field `result`. } ``` |\n\n| Fields ||\n|----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `requestId` | `string` The requestId of the Request this message is in response to. |\n| `continued` | `boolean` If true, this Response is followed by additional responses that are in the same response stream as this Response. |\n| `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\" }`. |\n| Union field `result`. The response result, which can be either an `error` or a valid `response`. `result` can be only one of the following: ||\n| `error` | `object (`[Status](/workspace/tasks/reference/rest/v1/Status)`)` The error result if there was an error processing the request. |\n| `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\" }`. |"]]