REST Resource: services.consumerQuotaMetrics

Resource: ConsumerQuotaMetric

Consumer quota settings for a quota metric.

JSON representation
{
  "name": string,
  "metric": string,
  "displayName": string,
  "consumerQuotaLimits": [
    {
      object (ConsumerQuotaLimit)
    }
  ],
  "descendantConsumerQuotaLimits": [
    {
      object (ConsumerQuotaLimit)
    }
  ],
  "unit": string
}
Fields
name

string

The resource name of the quota settings on this metric for this consumer.

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

The resource name is intended to be opaque and should not be parsed for its component strings, since its representation could change in the future.

metric

string

The name of the metric.

An example name would be: compute.googleapis.com/cpus

displayName

string

The display name of the metric.

An example name would be: CPUs

consumerQuotaLimits[]

object (ConsumerQuotaLimit)

The consumer quota for each quota limit defined on the metric.

descendantConsumerQuotaLimits[]

object (ConsumerQuotaLimit)

The quota limits targeting the descendant containers of the consumer in request.

If the consumer in request is of type organizations or folders, the field will list per-project limits in the metric; if the consumer in request is of type project, the field will be empty.

The quotaBuckets field of each descendant consumer quota limit will not be populated.

unit

string

The units in which the metric value is reported.

Methods

get

Retrieves a summary of quota information for a specific quota metric

importAdminOverrides

Creates or updates multiple admin overrides atomically, all on the same consumer, but on many different metrics or limits.

importConsumerOverrides

Creates or updates multiple consumer overrides atomically, all on the same consumer, but on many different metrics or limits.

list

Retrieves a summary of all quota information visible to the service consumer, organized by service metric.