Method: services.consumerQuotaMetrics.limits.producerOverrides.patch

Updates a producer override.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The resource name of the override to update.

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

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

  • serviceconsumermanagement.quota.update

Query parameters

Parameters
force

boolean

Whether to force the update of the quota override. If updating 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.

updateMask

string (FieldMask format)

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

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

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 the following OAuth scope:

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

For more information, see the Authentication Overview.

Try it!