Quota Manager API, gRPC: QuotaRequestService.List
Retrieves the list of quota requests in the specified resource.
gRPC request
rpc List (ListQuotaRequestRequest) returns (ListQuotaRequestResponse)
ListQuotaRequestRequest
{
"resource": {
"id": "string",
"type": "string"
},
"filter": "string",
"page_size": "int64",
"page_token": "string"
}
|
Field |
Description |
|
resource |
Required field. Resource to list quota requests in. |
|
filter |
string A filter expression that filters resources listed in the response.
|
|
page_size |
int64 The maximum number of results per page to return. If the number of available |
|
page_token |
string Page token. To get the next page of results, set |
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. |
ListQuotaRequestResponse
{
"quota_requests": [
{
"id": "string",
"resource": {
"id": "string",
"type": "string"
},
"created_at": "google.protobuf.Timestamp",
"status": "Status",
"quota_limits": [
{
"quota_id": "string",
"desired_limit": "double",
"approved_limit": "double",
"unit": "string",
"status": "Status",
"message": "string",
"modified_by": "string"
}
],
"created_by": "string"
}
],
"next_page_token": "string"
}
|
Field |
Description |
|
quota_requests[] |
List of quota requests. |
|
next_page_token |
string This token allows you to get the next page of results for list requests. If the number of results |
QuotaRequest
|
Field |
Description |
|
id |
string ID of the quota request. |
|
resource |
|
|
created_at |
Creation timestamp. |
|
status |
enum Status Status of current quota request.
|
|
quota_limits[] |
Quota limits |
|
created_by |
string ID of the subject who created quota 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. |
QuotaLimit
|
Field |
Description |
|
quota_id |
string ID of the quota. |
|
desired_limit |
double Desired limit. |
|
approved_limit |
double Approved limit. |
|
unit |
string Unit of quota. |
|
status |
enum Status Status of current quota limit.
|
|
message |
string |
|
modified_by |
string ID of the subject who modified quota limit. |