Quota Manager API, gRPC: QuotaLimitService.Get
Written by
Updated at December 12, 2024
Returns the specified quota limit.
gRPC request
rpc Get (GetQuotaLimitRequest) returns (QuotaLimit)
GetQuotaLimitRequest
{
"resource": {
"id": "string",
"type": "string"
},
"quota_id": "string"
}
Field |
Description |
resource |
Required field. The resource for which the quota limit is being requested. |
quota_id |
string Required field. The id of the quota to retrieve. |
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
{
"quota_id": "string",
"limit": "google.protobuf.DoubleValue",
"usage": "google.protobuf.DoubleValue"
}
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. |