- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Updates the parameters of a single QuotaPreference. It can updates the config in any states, not just the ones pending approval.
HTTP request
PATCH https://cloudquotas.googleapis.com/v1/{quotaPreference.name=organizations/*/locations/*/quotaPreferences/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
quotaPreference.name |
Required except in the CREATE requests. The resource name of the quota preference. The ID component following "locations/" must be "global". Example: |
Query parameters
Parameters | |
---|---|
updateMask |
Optional. Field mask is used to specify the fields to be overwritten in the QuotaPreference resource by the update. The fields specified in the updateMask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. This is a comma-separated list of fully qualified names of fields. Example: |
allowMissing |
Optional. If set to true, and the quota preference is not found, a new one will be created. In this situation, |
validateOnly |
Optional. If set to true, validate the request, but do not actually update. Note that a request being valid does not mean that the request is guaranteed to be fulfilled. |
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 an 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 name
resource:
cloudquotas.quotas.update
For more information, see the IAM documentation.