사용량 한도 및 할당량
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
한도 및 할당량은 Admin Settings API를 부적절한 방식으로 사용하는 자동화된 프로세스로부터 Google 인프라를 보호합니다. API의 과도한 요청은 무해한 오타로 인해 발생하거나 비효율적으로 설계된 시스템으로 인해 불필요한 API 호출이 발생할 수 있습니다. 원인과 관계없이 특정 소스의 트래픽이 특정 수준에 도달하면 Google Workspace 시스템의 전반적인 상태를 점검해야 합니다. 한 개발자의 행동이 대규모 커뮤니티에 부정적인 영향을 미치지 않도록 합니다.
드물지만 API 요청에 실패하면 HTTP 상태 코드 응답을 받게 됩니다. 상태 코드 403에는 잘못된 입력에 대한 오류 정보가 있고 HTTP 상태 코드 503에는 초과된 API 할당량을 나타내는 오류 정보가 포함되어 있습니다. 이러한 응답을 통해 맞춤 애플리케이션은 이러한 오류를 감지하고 적절한 조치를 취할 수 있습니다.
고정된 기간 내에 요청을 완료해야 하는 경우 요청을 동시에 보내거나 자바 또는 C# 애플리케이션에서 여러 스레드를 사용하세요. 예를 들어 요청을 월별 또는 다른 기간으로 나눕니다. 스레드의 경우 요청당 하나의 스레드인 10개의 스레드로 시작해 봅니다. 스레드 추천에는 장단점이 있으며 모든 API 상황에서 유용한 것은 아닙니다. 요청 수가 너무 많으면 할당량 오류가 발생합니다.
시간 기반의 모든 오류 (스레드당 X초 동안 최대 N개), 특히 503 상태 코드 오류의 경우 코드에서 예외를 포착하고 지수 백오프 알고리즘을 사용하여 잠시 기다린 후에 실패한 호출을 다시 시도하는 것이 좋습니다. 한 스레드에 대한 Email Settings API 예는 5초 동안 기다렸다가 실패한 호출을 재시도하는 것입니다. 요청이 성공하면 다른 스레드에 이 패턴을 반복합니다. 두 번째 요청이 성공하지 않을 경우 호출이 성공할 때까지 애플리케이션에서 요청 빈도를 줄여 축소해야 합니다. 예를 들어 초기 5초 지연 시간을 10초로 늘리고 실패한 통화를 다시 시도합니다. 또한 재시도 한도를 결정합니다. 예를 들어 애플리케이션이 사용자에게 오류를 반환하기 전에 지연 시간을 다르게 하여 5~7회 요청을 재시도합니다.
API 할당량 카테고리 |
할당량 |
ClientLogin 인증 토큰 |
24시간 동안 유효합니다. '401 토큰 만료됨' 오류입니다.
|
공개 및 비공개 키 생성 |
ID 공급업체에서 DSA 또는 RSA 알고리즘을 사용하여 공개 및 비공개 키 집합을 생성합니다. 공개 키는 X.509 형식의 인증서에 있습니다. SAML 기반 싱글 사인온(SSO) 서명 키에 대한 자세한 내용은 Google Workspace 싱글 사인온(SSO) 서비스를 위한 키 및 인증서 생성을 참고하세요. |
Logo |
계정의 로고 이미지 파일은 JPEG, PNG 또는 GIF 형식이어야 합니다. 권장 크기는 143x59픽셀이며 파일은 20KB보다 작아야 합니다. 맞춤 로고를 사용할 때는 Google 서비스 약관을 준수해야 합니다. Google 로고, Gmail 로고 또는 기타 Google 로고를 사용하지 마세요. 자세한 내용은 로고 및 방문 페이지 정책을 참고하세요. |
SSO 화이트리스트 |
sso허용 목록은 클래스 없는 도메인 간 라우팅(CIDR) 형식의 네트워크 마스크 IP 주소입니다. |
기타 한도 유형 |
제한사항 및 가이드라인 |
MX 레코드 확인 상태 |
기본 MX 레코드 확인 상태는 `false` 이며 이는 Google 시스템이 MX 레코드 구성을 최근에 확인하지 않았거나 MX 레코드가 Google 시스템을 가리키도록 구성되지 않았음을 의미합니다. 레코드를 업데이트했는데도 인증 상태가 false로 유지된다면 MX 레코드 업데이트가 적용되지 않았거나 레코드에 오타가 있을 수 있습니다. 전파를 위해 MX 레코드의 TTL (수명) 값으로 정의된 시간을 기다린 후 다시 시도해 보세요.
|
국가 코드 |
조직 이름이 맞춤설정되지 않은 경우 기본값은 기본 도메인 이름입니다. 조직 이름 문자에 대한 자세한 내용은 문자 사용을 참고하세요.
|
creationTime 속성, 날짜 및 시간을 숫자로 표현 |
날짜와 시간을 숫자로 표현하는 ISO 8601을 참고하세요. |
언어 인코딩 태그 |
Google Mail에서 허용하는 RFC 3066 언어 태그를 참조하세요. |
조직 이름 |
조직 이름이 맞춤설정되지 않은 경우 기본값은 기본 도메인 이름입니다. 조직 이름 문자에 대한 자세한 내용은 문자 사용을 참고하세요. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-03-25(UTC)
[null,null,["최종 업데이트: 2025-03-25(UTC)"],[],[],null,["# Usage limits and quotas\n\nLimits and quotas protect the Google infrastructure from an automated process that uses the Admin Settings API in an inappropriate way. Excessive requests from an API might result from a harmless typo, or may result from an inefficiently designed system that makes needless API calls. Regardless of the cause, blocking traffic from a specific source once it reaches a certain level is necessary for the overall health of the Google Workspace system. It ensures that one developer's actions cannot negatively impact the larger community.\n\nIn the unlikely event that your API request fails, you'll receive an HTTP status code response. A status code of 403 has error information about incorrect input, and an HTTP status code of 503 has error information indicating which API quotas have been exceeded. These responses allow your custom application to detect these errors and take appropriate action.\n\nIf your requests need to be completed in a fixed period of time, send your requests in parallel or use multiple threads in your Java or C# application. For example, break your requests by month or another time period. In the case of threads, try starting with 10 threads, one thread per request. Note, the thread recommendation has tradeoffs and is not useful for all API situations. If the number of requests gets too high, quota errors will occur.\n\nFor all errors that are time based (maximum of N things for X seconds per thread), especially the 503 status code errors, we recommend your code catch the exception and, using an [exponential backoff](http://en.wikipedia.org/wiki/Truncated_binary_exponential_backoff) algorithm, wait for a small delay before retrying the failed call. A Email Settings API example for one thread is to wait 5 seconds and retry the failed call. If the request is successful, repeat this pattern for the other threads. If the second request is not successful, your application should scale back on the frequency of the request until a call is successful. For example, increase the initial 5 second delay to 10 seconds and retry your failed call again. Also, decide on a retry limit. For example retry a request 5 to 7 times with different delay times before your application returns an error to the user.\n\n| API Quota Categories | Quotas |\n|------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ClientLogin authentication tokens | Valid for 24 hours. The error is '401 token expired'. |\n| Generating public and private keys | With your identity provider, generate a set of public and private keys using either the DSA or RSA algorithms. The public key is in X.509 formatted certificate. For more information about SAML-based Single Sign-On signing keys, see [Generating Keys and Certificates for Google Workspace Single Sign-On Service](/google-apps/help/articles/sso-keygen). |\n| Logo | An account's logo image file can be in JPEG, PNG, or GIF format. The recommended size is 143 x 59 pixels and the file should be smaller than 20Kb. When using custom logos, remember to stay within the Google [Terms of Service](//www.google.com/apps/intl/en/terms/standard_terms.html). And refrain from using the Google logo, Gmail logo, or any other Google logos. For more information, see [Logo and landing page policies](https://support.google.com/a/answer/96474). |\n| ssoWhitelist | A ssoWhitelist is a network mask IP address in Classless Inter-Domain Routing [(CIDR)](http://en.wikipedia.org/wiki/CIDR) format. |\n\n| Other Types of Limits | Limitations and Guidelines |\n|-------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| MX record verification status | The default MX record verification status is \\`false\\` which means either the Google system has not recently checked your MX record configuration or your MX records have not been configured to point to the Google systems. If you have updated your records and the verification status remains false, it can mean your MX record updates have not been propagated, or there is a typo in the record. For propagation, we recommend you wait the amount of time defined by the MX record's Time To Live value (TTL) and try again. |\n| Country codes | If the organization name has not been customized, the default is your primary domain name. For information about organization name characters, see [Character usage](https://support.google.com/a/answer/33386). |\n| `creationTime` property, numeric representation of dates and time | See the [ISO 8601](//www.iso.org/iso/support/faqs/faqs_widely_used_standards/widely_used_standards_other/iso8601), Numeric representation of Dates and Time. |\n| Language encoding tags | See the [RFC 3066 language tags](/workspace/admin/email-settings#language_tags) accepted by Google Mail. |\n| Organization name | If the organization name has not been customized, the default is your primary domain name. For information about organization name characters, see [Character usage](https://support.google.com/a/answer/33386). |"]]