Enum Status
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
상태
상태 코드를 나타내는 enum입니다.
Google Chat 앱에서만 사용할 수 있습니다. Google Workspace 부가기능에는 사용할 수 없습니다.
enum을 호출하려면 상위 클래스, 이름, 속성을 호출합니다. 예를 들면
CardService.Status.OK
입니다.
속성
속성 | 유형 | 설명 |
OK | Enum | HTTP 매핑: 200 OK |
CANCELLED | Enum | HTTP 매핑: 499 클라이언트에서 닫은 요청 |
UNKNOWN | Enum | 알 수 없는 오류입니다. HTTP 매핑: 500 내부 서버 오류 |
INVALID_ARGUMENT | Enum | 클라이언트에서 잘못된 인수를 지정했습니다. HTTP 매핑: 400 잘못된 요청 |
DEADLINE_EXCEEDED | Enum | HTTP 매핑: 504 게이트웨이 시간 초과 |
NOT_FOUND | Enum | HTTP 매핑: 404 찾을 수 없음 |
ALREADY_EXISTS | Enum | 클라이언트가 만들려고 시도한 항목이 이미 존재합니다. HTTP 매핑: 409 충돌 |
PERMISSION_DENIED | Enum | HTTP 매핑: 403 금지됨 |
UNAUTHENTICATED | Enum | HTTP 매핑: 401 승인되지 않음 |
RESOURCE_EXHAUSTED | Enum | HTTP 매핑: 429 요청한 횟수가 너무 많음 |
FAILED_PRECONDITION | Enum | 시스템이 작업 실행에 필요한 상태가 아니기 때문에 작업이 거부되었습니다. HTTP 매핑: 400 잘못된 요청 |
ABORTED | Enum | 작업이 취소되었습니다. 대개 시퀀서 확인 실패, 트랜잭션 취소 등의 동시 실행 문제가 원인입니다. HTTP 매핑: 409 충돌 |
OUT_OF_RANGE | Enum | 유효한 범위를 벗어나는 작업을 시도했습니다. HTTP 매핑: 400 잘못된 요청 |
UNIMPLEMENTED | Enum | HTTP 매핑: 501 구현되지 않음 |
INTERNAL | Enum | 내부 오류가 발생했습니다. 이는 기본 시스템에서 예상하는 불변 항목에 문제가 있는 경우입니다. 이 오류 코드는 심각한 오류를 위해 예약되어 있습니다. HTTP 매핑: 500 내부 서버 오류 |
UNAVAILABLE | Enum | HTTP 매핑: 503 사용할 수 없는 서비스 |
DATA_LOSS | Enum | 복구할 수 없는 데이터 손실이나 손상이 발생했습니다. HTTP 매핑: 500 내부 서버 오류 |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003e\u003ccode\u003eStatus\u003c/code\u003e is an enum representing status codes, specifically for Google Chat apps and not Google Workspace Add-ons.\u003c/p\u003e\n"],["\u003cp\u003eTo use a \u003ccode\u003eStatus\u003c/code\u003e enum value, call it using the format \u003ccode\u003eCardService.Status.[Property Name]\u003c/code\u003e, like \u003ccode\u003eCardService.Status.OK\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEach \u003ccode\u003eStatus\u003c/code\u003e property corresponds to an HTTP status code, such as \u003ccode\u003eOK\u003c/code\u003e mapping to 200 OK and \u003ccode\u003eNOT_FOUND\u003c/code\u003e to 404 Not Found.\u003c/p\u003e\n"],["\u003cp\u003eThe provided table lists all available \u003ccode\u003eStatus\u003c/code\u003e properties along with their types and corresponding HTTP mappings for various error conditions.\u003c/p\u003e\n"]]],[],null,["# Enum Status\n\nStatus\n\nAn enum that represents the status code.\n\nOnly available for Google Chat apps. Not available for Google Workspace add-ons.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCardService.Status.OK`. \n\n### Properties\n\n| Property | Type | Description |\n|-----------------------|--------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `OK` | `Enum` | HTTP Mapping: 200 OK |\n| `CANCELLED` | `Enum` | HTTP Mapping: 499 Client Closed Request |\n| `UNKNOWN` | `Enum` | Unknown error. HTTP Mapping: 500 Internal Server Error |\n| `INVALID_ARGUMENT` | `Enum` | The client specified an invalid argument. HTTP Mapping: 400 Bad Request |\n| `DEADLINE_EXCEEDED` | `Enum` | HTTP Mapping: 504 Gateway Timeout |\n| `NOT_FOUND` | `Enum` | HTTP Mapping: 404 Not Found |\n| `ALREADY_EXISTS` | `Enum` | The entity that a client attempted to create already exists. HTTP Mapping: 409 Conflict |\n| `PERMISSION_DENIED` | `Enum` | HTTP Mapping: 403 Forbidden |\n| `UNAUTHENTICATED` | `Enum` | HTTP Mapping: 401 Unauthorized |\n| `RESOURCE_EXHAUSTED` | `Enum` | HTTP Mapping: 429 Too Many Requests |\n| `FAILED_PRECONDITION` | `Enum` | The operation was rejected because the system is not in a state required for the operation's execution. HTTP Mapping: 400 Bad Request |\n| `ABORTED` | `Enum` | The operation was aborted, typically due to a concurrency issue such as a sequencer check failure or transaction abort. HTTP Mapping: 409 Conflict |\n| `OUT_OF_RANGE` | `Enum` | The operation was attempted past the valid range. HTTP Mapping: 400 Bad Request |\n| `UNIMPLEMENTED` | `Enum` | HTTP Mapping: 501 Not Implemented |\n| `INTERNAL` | `Enum` | Internal errors. This means that some invariants expected by the underlying system have been broken. This error code is reserved for serious errors. HTTP Mapping: 500 Internal Server Error |\n| `UNAVAILABLE` | `Enum` | HTTP Mapping: 503 Service Unavailable |\n| `DATA_LOSS` | `Enum` | Unrecoverable data loss or corruption. HTTP Mapping: 500 Internal Server Error. |"]]