REST Resource: accounts.quotas
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:QuotaGroup
Merchant API 中方法的群组信息。配额会在组中的所有方法之间共享。即使组中的所有方法都没有使用情况,系统也会返回该组的信息。
JSON 表示法 |
{
"name": string,
"quotaUsage": string,
"quotaLimit": string,
"quotaMinuteLimit": string,
"methodDetails": [
{
object (MethodDetails )
}
]
} |
字段 |
name |
string
标识符。配额组的资源名称。格式:accounts/{account}/quotas/{group}。注意:我们不保证{group}的格式
|
quotaUsage |
string (int64 format)
仅限输出。当前配额用量,即在给定日期对组中方法已完成的调用次数。每日配额限制会在世界协调时间中午 12:00 重置。
|
quotaLimit |
string (int64 format)
仅限输出。群组每天允许的通话次数上限。
|
quotaMinuteLimit |
string (int64 format)
仅限输出。群组每分钟允许的通话数量上限。
|
methodDetails[] |
object (MethodDetails )
仅限输出。组配额适用的所有方法的列表。
|
MethodDetails
JSON 表示法 |
{
"method": string,
"version": string,
"subapi": string,
"path": string
} |
字段 |
method |
string
仅限输出。方法的名称,例如 products.list 。
|
version |
string
仅限输出。方法所属的 API 版本。
|
subapi |
string
仅限输出。方法所属的子 API。
|
path |
string
仅限输出。方法的路径,例如 products/v1/productInputs.insert
|
方法 |
|
列出 Merchant Center 账号的每日调用配额和每个组的使用情况。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-01-23。
[null,null,["最后更新时间 (UTC):2025-01-23。"],[[["\u003cp\u003eQuotaGroup provides information about the daily call quota and usage for methods in the Merchant API, shared among methods within the same group.\u003c/p\u003e\n"],["\u003cp\u003eThe quota limits reset at 12:00 PM midday UTC, and details include the current usage, daily limit, and per-minute limit.\u003c/p\u003e\n"],["\u003cp\u003eMethodDetails provides specific information about each method, including its name, API version, sub-API, and path.\u003c/p\u003e\n"],["\u003cp\u003eYou can use the \u003ccode\u003elist\u003c/code\u003e method to retrieve the daily call quota and usage per group for your Merchant Center account.\u003c/p\u003e\n"]]],["QuotaGroup provides details on API method groups, including `name`, `quotaUsage`, `quotaLimit`, and `quotaMinuteLimit`. `MethodDetails` lists individual method information like `method`, `version`, `subapi`, and `path`. The quota is shared across methods in a group. Quota usage displays the number of daily calls made, with limits resetting at 12:00 PM UTC. A \"list\" method is available to list call quotas.\n"],null,["# REST Resource: accounts.quotas\n\n- [Resource: QuotaGroup](#QuotaGroup)\n - [JSON representation](#QuotaGroup.SCHEMA_REPRESENTATION)\n- [MethodDetails](#MethodDetails)\n - [JSON representation](#MethodDetails.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: QuotaGroup\n--------------------\n\nThe group information for methods in the Merchant API. The quota is shared between all methods in the group. Even if none of the methods within the group have usage the information for the group is returned.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"quotaUsage\": string, \"quotaLimit\": string, \"quotaMinuteLimit\": string, \"methodDetails\": [ { object (/merchant/api/reference/rest/quota_v1beta/accounts.quotas#MethodDetails) } ] } ``` |\n\n| Fields ||\n|--------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Identifier. The resource name of the quota group. Format: accounts/{account}/quotas/{group} Note: There is no guarantee on the format of {group} |\n| `quotaUsage` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. The current quota usage, meaning the number of calls already made on a given day to the methods in the group. The daily quota limits reset at at 12:00 PM midday UTC. |\n| `quotaLimit` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. The maximum number of calls allowed per day for the group. |\n| `quotaMinuteLimit` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. The maximum number of calls allowed per minute for the group. |\n| `methodDetails[]` | `object (`[MethodDetails](/merchant/api/reference/rest/quota_v1beta/accounts.quotas#MethodDetails)`)` Output only. List of all methods group quota applies to. |\n\nMethodDetails\n-------------\n\nThe method details per method in the Merchant API.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------|\n| ``` { \"method\": string, \"version\": string, \"subapi\": string, \"path\": string } ``` |\n\n| Fields ||\n|-----------|------------------------------------------------------------------------------------------|\n| `method` | `string` Output only. The name of the method for example `products.list`. |\n| `version` | `string` Output only. The API version that the method belongs to. |\n| `subapi` | `string` Output only. The sub-API that the method belongs to. |\n| `path` | `string` Output only. The path for the method such as `products/v1/productInputs.insert` |\n\n| Methods ------- ||\n|----------------------------------------------------------------------------|----------------------------------------------------------------------------------|\n| ### [list](/merchant/api/reference/rest/quota_v1beta/accounts.quotas/list) | Lists the daily call quota and usage per group for your Merchant Center account. |"]]