Quota Manager API, gRPC: QuotaLimitService.List
Retrieves the list of quota limits for a given service.
gRPC request
rpc List (ListQuotaLimitsRequest) returns (ListQuotaLimitsResponse)
ListQuotaLimitsRequest
{
"resource": {
"id": "string",
"type": "string"
},
"service": "string",
"page_size": "int64",
"page_token": "string"
}
Field |
Description |
resource |
Required field. The resource for which quota limits are being listed. |
service |
string Required field. The service for which quota limits are being requested. |
page_size |
int64 The maximum number of quota limits to return per response. |
page_token |
string Token to retrieve the next page of results. Omitted on the first request. |
Resource
Field |
Description |
id |
string Required field. The id if the resource. |
type |
string Required field. The type of the resource, e.g. resource-manager.cloud, billing.account. |
ListQuotaLimitsResponse
{
"resource": {
"id": "string",
"type": "string"
},
"quota_limits": [
{
"quota_id": "string",
"limit": "google.protobuf.DoubleValue",
"usage": "google.protobuf.DoubleValue"
}
],
"next_page_token": "string"
}
Field |
Description |
resource |
The associated resource for these quota limits. |
quota_limits[] |
List of quota limits for the specified resource and service. |
next_page_token |
string Token to retrieve the next page of results. |
Resource
Field |
Description |
id |
string Required field. The id if the resource. |
type |
string Required field. The type of the resource, e.g. resource-manager.cloud, billing.account. |
QuotaLimit
Field |
Description |
quota_id |
string The unique id of the quota. |
limit |
The limit value set for this quota. |
usage |
The current usage level of this quota. |