Quota Manager API, gRPC: QuotaLimitService.ListServices
Статья создана
Обновлена 21 февраля 2025 г.
Retrieves the list of services available for quota management.
gRPC request
rpc ListServices (ListServicesRequest) returns (ListServicesResponse)
ListServicesRequest
{
"resource_type": "string",
"page_size": "int64",
"page_token": "string"
}
Field |
Description |
resource_type |
string Required field. The type of resources for which services are being requested. |
page_size |
int64 The maximum number of services to return per response. |
page_token |
string Token to retrieve the next page of results. Omitted on the first request. |
ListServicesResponse
{
"services": [
{
"id": "string",
"name": "string"
}
],
"next_page_token": "string"
}
Field |
Description |
services[] |
List of services available for quota management. |
next_page_token |
string Token to retrieve the next page of results. |
Service
Field |
Description |
id |
string The unique id of the service. |
name |
string The name of the service. |