- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Try it!
Creates a producer override. A producer override is applied by the owner or administrator of a service to increase or decrease the amount of quota a consumer of the service is allowed to use. To create multiple overrides at once, use consumerQuotaMetrics.importProducerOverrides instead. If an override with the specified dimensions already exists, this call will fail. To overwrite an existing override if one is already present ("upsert" semantics), use consumerQuotaMetrics.importProducerOverrides instead.
HTTP request
POST https://serviceconsumermanagement.googleapis.com/v1beta1/{parent=services/*/*/*/consumerQuotaMetrics/*/limits/*}/producerOverrides
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
The resource name of the parent quota limit, returned by a consumerQuotaMetrics.list or consumerQuotaMetrics.get call. An example name would be: Authorization requires the following Google IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
force |
Whether to force the creation of the quota override. If creating an override would cause the effective quota for the consumer to decrease by more than 10 percent, the call is rejected, as a safety measure to avoid accidentally decreasing quota too quickly. Setting the force parameter to true ignores this restriction. |
Request body
The request body contains an instance of QuotaOverride
.
Response body
If successful, the response body contains a newly created instance of Operation
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.