Method: services.consumerQuotaMetrics.limits.adminOverrides.create

Creates an admin override. An admin override is applied by an administrator of a parent folder or parent organization of the consumer receiving the override. An admin override is intended to limit the amount of quota the consumer can use out of the total quota pool allocated to all children of the folder or organization.

HTTP request

POST https://serviceusage.googleapis.com/v1beta1/{parent=*/*/services/*/consumerQuotaMetrics/*/limits/*}/adminOverrides

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

The resource name of the parent quota limit, returned by a consumerQuotaMetrics.list or consumerQuotaMetrics.get call.

An example name would be: projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion

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

  • serviceusage.quotas.update

Query parameters

Parameters
force

boolean

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 one of the following OAuth scopes:

  • https://www.googleapis.com/auth/service.management
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.