Mensaje de solicitud para el método ListQuotaGroups.
Campos
parent
string
Obligatorio. La cuenta del comerciante propietaria de la recopilación de cuotas de métodos. Formato: accounts/{account}
page_size
int32
Opcional. Es la cantidad máxima de cuotas que se mostrarán en la respuesta, que se usa para la paginación. El valor predeterminado es 500. Los valores superiores a 1,000 se convertirán a 1,000.
page_token
string
Opcional. Token (si se proporciona) para recuperar la página siguiente. Todos los demás parámetros deben coincidir con la llamada original que proporcionó el token de la página.
ListQuotaGroupsResponse
Mensaje de respuesta para el método ListMethodGroups.
Los métodos, el uso actual de la cuota y los límites de cada grupo La cuota se comparte entre todos los métodos del grupo. Los grupos se ordenan de forma descendente según quota_usage.
next_page_token
string
Un token, que se puede enviar como page_token para recuperar la página siguiente. Si se omite este campo, no habrá páginas siguientes.
MethodDetails
Los detalles de cada método en la API de Merchant
Campos
method
string
Solo salida. Es el nombre del método, por ejemplo, products.list.
version
string
Solo salida. Es la versión de la API a la que pertenece el método.
subapi
string
Solo salida. La sub-API a la que pertenece el método.
path
string
Solo salida. La ruta de acceso del método, como products/v1/productInputs.insert
QuotaGroup
Es la información del grupo para los métodos de la API de Merchant. La cuota se comparte entre todos los métodos del grupo. Incluso si ninguno de los métodos del grupo tiene uso, se muestra la información del grupo.
Campos
name
string
Identificador. Es el nombre del recurso del grupo de cuotas. Formato: accounts/{account}/quotas/{group} Nota: No se garantiza el formato de {group}.
quota_usage
int64
Solo salida. El uso actual de la cuota, es decir, la cantidad de llamadas que ya se realizaron en un día determinado a los métodos del grupo. Los límites de cuota diaria se restablecen a las 12:00 p.m. (mediodía UTC).
quota_limit
int64
Solo salida. Es la cantidad máxima de llamadas permitidas por día para el grupo.
quota_minute_limit
int64
Solo salida. Es la cantidad máxima de llamadas permitidas por minuto para el grupo.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-01-23 (UTC)"],[[["\u003cp\u003eThe QuotaService API allows you to retrieve method call quota information for your Merchant Center account.\u003c/p\u003e\n"],["\u003cp\u003eYou can use the \u003ccode\u003eListQuotaGroups\u003c/code\u003e method to view the daily call quota and usage for each method group, including details such as quota limits and usage.\u003c/p\u003e\n"],["\u003cp\u003eQuotaGroups represent a collection of methods with shared quota, providing insights into the maximum number of calls allowed per day and per minute for those methods.\u003c/p\u003e\n"],["\u003cp\u003eMethodDetails provide specific information about each method within a QuotaGroup, including its name, API version, sub-API, and path.\u003c/p\u003e\n"],["\u003cp\u003eThe provided API endpoints and message structures enable developers to programmatically manage and monitor quota usage within their Merchant Center integrations.\u003c/p\u003e\n"]]],["The `QuotaService` allows retrieval of daily call quota and usage for Merchant Center accounts via the `ListQuotaGroups` method. This method requires the `content` OAuth scope. The `ListQuotaGroupsRequest` specifies the target merchant account, page size, and token. The response, `ListQuotaGroupsResponse`, includes an array of `QuotaGroup` objects detailing quota usage, limits per day and per minute, and associated `MethodDetails`. Each group represents a set of related methods.\n"],null,["# Package google.shopping.merchant.quota.v1beta\n\nIndex\n-----\n\n- [QuotaService](/merchant/api/reference/rpc/google.shopping.merchant.quota.v1beta#google.shopping.merchant.quota.v1beta.QuotaService) (interface)\n- [ListQuotaGroupsRequest](/merchant/api/reference/rpc/google.shopping.merchant.quota.v1beta#google.shopping.merchant.quota.v1beta.ListQuotaGroupsRequest) (message)\n- [ListQuotaGroupsResponse](/merchant/api/reference/rpc/google.shopping.merchant.quota.v1beta#google.shopping.merchant.quota.v1beta.ListQuotaGroupsResponse) (message)\n- [MethodDetails](/merchant/api/reference/rpc/google.shopping.merchant.quota.v1beta#google.shopping.merchant.quota.v1beta.MethodDetails) (message)\n- [QuotaGroup](/merchant/api/reference/rpc/google.shopping.merchant.quota.v1beta#google.shopping.merchant.quota.v1beta.QuotaGroup) (message)\n\nQuotaService\n------------\n\nService to get method call quota information per Merchant API method.\n\n| ListQuotaGroups |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` rpc ListQuotaGroups(`[ListQuotaGroupsRequest](/merchant/api/reference/rpc/google.shopping.merchant.quota.v1beta#google.shopping.merchant.quota.v1beta.ListQuotaGroupsRequest)`) returns (`[ListQuotaGroupsResponse](/merchant/api/reference/rpc/google.shopping.merchant.quota.v1beta#google.shopping.merchant.quota.v1beta.ListQuotaGroupsResponse)`) ` Lists the daily call quota and usage per group for your Merchant Center account. Authorization scopes : Requires the following OAuth scope: - `https://www.googleapis.com/auth/content` For more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2). |\n\nListQuotaGroupsRequest\n----------------------\n\nRequest message for the ListQuotaGroups method.\n\n| Fields ||\n|--------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The merchant account who owns the collection of method quotas Format: accounts/{account} |\n| `page_size` | `int32` Optional. The maximum number of quotas to return in the response, used for paging. Defaults to 500; values above 1000 will be coerced to 1000. |\n| `page_token` | `string` Optional. Token (if provided) to retrieve the subsequent page. All other parameters must match the original call that provided the page token. |\n\nListQuotaGroupsResponse\n-----------------------\n\nResponse message for the ListMethodGroups method.\n\n| Fields ||\n|-------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `quota_groups[]` | [QuotaGroup](/merchant/api/reference/rpc/google.shopping.merchant.quota.v1beta#google.shopping.merchant.quota.v1beta.QuotaGroup) The methods, current quota usage and limits per each group. The quota is shared between all methods in the group. The groups are sorted in descending order based on [quota_usage](/merchant/api/reference/rpc/google.shopping.merchant.quota.v1beta#google.shopping.merchant.quota.v1beta.QuotaGroup.FIELDS.int64.google.shopping.merchant.quota.v1beta.QuotaGroup.quota_usage). |\n| `next_page_token` | `string` A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. |\n\nMethodDetails\n-------------\n\nThe method details per method in the Merchant API.\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\nQuotaGroup\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| 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| `quota_usage` | `int64` 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| `quota_limit` | `int64` Output only. The maximum number of calls allowed per day for the group. |\n| `quota_minute_limit` | `int64` Output only. The maximum number of calls allowed per minute for the group. |\n| `method_details[]` | [MethodDetails](/merchant/api/reference/rpc/google.shopping.merchant.quota.v1beta#google.shopping.merchant.quota.v1beta.MethodDetails) Output only. List of all methods group quota applies to. |"]]