Method: services.consumerQuotaMetrics.importProducerOverrides

Create or update multiple producer overrides atomically, all on the same consumer, but on many different metrics or limits. The name field in the quota override message should not be set.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



The resource name of the consumer.

An example name would be: services/

Authorization requires the following Google IAM permission on the specified resource parent:

  • serviceconsumermanagement.quota.update

Request body

The request body contains data with the following structure:

JSON representation
  "force": boolean,
  "inlineSource": {
    object (OverrideInlineSource)


Whether to force the creation of the quota overrides. 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.


object (OverrideInlineSource)

The import data is specified in the request message itself

Response body

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

Authorization Scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.


Import data embedded in the request message

JSON representation
  "overrides": [
      object (QuotaOverride)

object (QuotaOverride)

The overrides to create. Each override must have a value for 'metric' and 'unit', to specify which metric and which limit the override should be applied to.

Try it!