Method: accounts.quotas.list
Merchant Center アカウントの 1 日あたりの呼び出し割り当てとグループごとの使用量が一覧表示されます。
HTTP リクエスト
GET https://merchantapi.googleapis.com/quota/v1beta/{parent=accounts/*}/quotas
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
parent |
string
必須。決済方法の割り当てコレクションを所有する販売者のアカウント。形式: accounts/{account}
|
クエリ パラメータ
パラメータ |
pageSize |
integer
省略可。レスポンスで返される割り当ての最大数。ページングに使用されます。デフォルトは 500 です。1,000 を超える値は 1,000 に強制変換されます。
|
pageToken |
string
省略可。後続のページを取得するためのトークン(指定されている場合)。その他のすべてのパラメータは、ページトークンを提供した元の呼び出しと一致している必要があります。
|
リクエストの本文
リクエストの本文は空にする必要があります。
レスポンスの本文
ListMethodGroups メソッドのレスポンス メッセージ。
成功した場合、レスポンスの本文には次の構造のデータが含まれます。
JSON 表現 |
{
"quotaGroups": [
{
object (QuotaGroup )
}
],
"nextPageToken": string
} |
フィールド |
quotaGroups[] |
object (QuotaGroup )
メソッド、現在の割り当て使用量、各グループの上限。割り当ては、グループ内のすべてのメソッドで共有されます。グループは quotaUsage に基づいて降順で並べ替えられます。
|
nextPageToken |
string
次のページを取得するために pageToken として送信できるトークン。このフィールドを省略すると、後続のページはなくなります。
|
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/content
詳細については、OAuth 2.0 Overview をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-01-23 UTC。
[null,null,["最終更新日 2025-01-23 UTC。"],[[["Lists the daily call quota and usage per group for a given Merchant Center account."],["Requires authorization with the `https://www.googleapis.com/auth/content` scope."],["Uses a `GET` request to the `https://merchantapi.googleapis.com/quota/v1beta/{parent=accounts/*}/quotas` endpoint."],["Accepts optional query parameters for pagination: `pageSize` and `pageToken`."],["Returns a response body containing quota groups, their usage, and a token for retrieving subsequent pages."]]],["This document outlines how to retrieve daily call quota and usage per group for a Merchant Center account using the `GET` request: `https://merchantapi.googleapis.com/quota/v1beta/{parent=accounts/*}/quotas`. The `parent` path parameter specifies the account. Optional query parameters `pageSize` (default 500, max 1000) and `pageToken` handle pagination. The request body must be empty. The response, formatted as JSON, includes `quotaGroups` with usage data and `nextPageToken` for further pages. Authorization requires the `https://www.googleapis.com/auth/content` OAuth scope.\n"]]