Google Classroom アドオンの一般提供が開始されました。詳しくは、
アドオンのドキュメントをご覧ください。
使用制限
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
割り当ては 60 秒の移動平均でチェックされるため、使用量の急増に対応できます。デフォルトでは、Classroom API には次の表の制限が適用されます。
上限 |
Quota Standard |
クライアントごとの 1 日あたりのクエリ数 |
4,000,000(平均 46 QPS) |
クライアントあたりの 1 分あたりのクエリ数 |
3,000(50 QPS) |
1 ユーザー、1 分あたりのクエリ数 |
1,200(20 QPS) |
許可される QPS は、さまざまな運用上の要因に応じて増減することがあります。
プロジェクトに適用されている上限を超えるリクエストを行う必要がある場合:
- まず、再試行可能なエラー(リクエストが上限を超えたときに返される
RESOURCE_EXHAUSTED
エラーなど)に対して、リクエストを再試行することで対応します。できれば、指数バックオフを使用します。
- この機能が提供されているエンドポイントで変更をポーリングしている場合は、代わりにプッシュ通知の使用を検討してください。
- プロジェクトに割り当てられた上限を超えるリクエストを送信する必要がある場合は、上限の引き上げをリクエストする手順について、以下をご覧ください。
プロジェクトの使用量上限を確認して変更する手順、または割り当ての増加をリクエストする手順は次のとおりです。
- プロジェクトの請求先アカウントをまだ持っていない場合は、1 つ作成します。
- API Console で API ライブラリの [有効な API] ページに移動し、リストから API を選択します。
- 割り当て関連の設定を表示および変更するには、[割り当て] を選択します。使用統計情報を表示するには、[使用量] を選択します。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-01 UTC。
[null,null,["最終更新日 2025-08-01 UTC。"],[],[],null,["# Usage Limits\n\nQuota is checked on a **60-second moving average** , which **allows for spikes in\nusage**. By default, the Classroom API is subject to the limits in the following\ntable:\n\n| Limit | Quota Standard |\n|-------------------------------|-------------------------|\n| Queries per day per client | 4,000,000 (Avg. 46 QPS) |\n| Queries per minute per client | 3,000 (50 QPS) |\n| Queries per minute per user | 1,200 (20 QPS) |\n\nThe permitted QPS may be increased or decreased depending on a number of\noperational factors.\n\nIf you need to make more requests than the limits applied to your project:\n\n1. First, ensure that you respond to retryable errors (such as the `RESOURCE_EXHAUSTED` error that is returned when a request exceeds your limits) by retrying the request, preferably using exponential backoff.\n2. If you are polling for changes on an endpoint where this is offered, consider using [push notifications](/workspace/classroom/guides/push-notifications) instead.\n3. If you still need to make more requests than the limits assigned to your project, see below for instructions on requesting higher limits.\n\nTo view or change usage limits for your project, or to request an increase to\nyour quota, do the following:\n\n1. If you don't already have a [billing account](//cloud.google.com/billing/docs/how-to/manage-billing-account) for your project, then create one.\n2. [Visit the Enabled APIs page of the\n API library](https://console.cloud.google.com/apis/enabled) in the API Console, and select an API from the list.\n3. To view and change quota-related settings, select **Quotas** . To view usage statistics, select **Usage**."]]