- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Creates a new QuotaPreference that declares the desired value for a quota.
HTTP request
POST https://cloudquotas.googleapis.com/v1/{parent=projects/*/locations/*}/quotaPreferences
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| parent | 
 Required. Value for parent. Example:  | 
Query parameters
| Parameters | |
|---|---|
| quotaPreferenceId | 
 Optional. Id of the requesting object, must be unique under its parent. If client does not set this field, the service will generate one. | 
| ignoreSafetyChecks[] | 
 The list of quota safety checks to be ignored. | 
Request body
The request body contains an instance of QuotaPreference.
Response body
If successful, the response body contains a newly created instance of QuotaPreference.
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.update
For more information, see the IAM documentation.