Method: projects.locations.quotaPreferences.list

Lists QuotaPreferences in a given project, folder or organization.

HTTP request

GET https://cloudquotas.googleapis.com/v1/{parent=projects/*/locations/*}/quotaPreferences

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Parent value of QuotaPreference resources. Listing across different resource containers (such as 'projects/-') is not allowed.

When the value starts with 'folders' or 'organizations', it lists the QuotaPreferences for org quotas in the container. It does not list the QuotaPreferences in the descendant projects of the container.

Example parents: projects/123/locations/global

Query parameters

Parameters
pageSize

integer

Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

pageToken

string

Optional. A token identifying a page of results the server should return.

filter

string

Optional. Filter result QuotaPreferences by their state, type, create/update time range.

Example filters: reconciling=true AND request_type=CLOUD_CONSOLE, reconciling=true OR creation_time>2022-12-03T10:30:00

orderBy

string

Optional. How to order of the results. By default, the results are ordered by create time.

Example orders: quotaId, service, createTime

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of ListQuotaPreferencesResponse.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • cloudquotas.quotas.get

For more information, see the IAM documentation.