Method: services.consumerQuotaMetrics.limits.consumerOverrides.patch

Updates a consumer override.

HTTP request

PATCH https://serviceusage.googleapis.com/v1beta1/{name=*/*/services/*/consumerQuotaMetrics/*/limits/*/consumerOverrides/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The resource name of the override to update.

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

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

  • serviceusage.quotas.update

Query parameters

Parameters
force

boolean

Whether to force the update of the quota override. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all such validations.

updateMask

string (FieldMask format)

Update only the specified fields of the override. If unset, all fields will be updated.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

forceOnly[]

enum (QuotaSafetyCheck)

The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'forceOnly' field ignores only the specified checks; other checks are still enforced. The 'force' and 'forceOnly' fields cannot both be set.

Request body

The request body contains an instance of QuotaOverride.

Response body

If successful, the response body contains an 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.