- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Lists QuotaPreferences in a given project, folder or organization.
HTTP request
GET https://cloudquotas.googleapis.com/v1/{parent=organizations/*/locations/*}/quotaPreferences
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
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: |
Query parameters
Parameters | |
---|---|
pageSize |
Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. |
pageToken |
Optional. A token identifying a page of results the server should return. |
filter |
Optional. Filter result QuotaPreferences by their state, type, create/update time range. Example filters: |
orderBy |
Optional. How to order of the results. By default, the results are ordered by create time. Example orders: |
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.