# REST Resource: services.consumerQuotaMetrics

- [Resource: ConsumerQuotaMetric](https://docs.cloud.google.com/service-usage/docs/reference/rest/v1beta1/services.consumerQuotaMetrics#ConsumerQuotaMetric)
  - [JSON representation](https://docs.cloud.google.com/service-usage/docs/reference/rest/v1beta1/services.consumerQuotaMetrics#ConsumerQuotaMetric.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/service-usage/docs/reference/rest/v1beta1/services.consumerQuotaMetrics#METHODS_SUMMARY)

## Resource: ConsumerQuotaMetric

Consumer quota settings for a quota metric.

| JSON representation |
|---|
| ``` { "name": string, "metric": string, "displayName": string, "consumerQuotaLimits": [ { object (`https://docs.cloud.google.com/service-usage/docs/reference/rest/v1beta1/services.consumerQuotaMetrics.limits#ConsumerQuotaLimit`) } ], "descendantConsumerQuotaLimits": [ { object (`https://docs.cloud.google.com/service-usage/docs/reference/rest/v1beta1/services.consumerQuotaMetrics.limits#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 (`https://docs.cloud.google.com/service-usage/docs/reference/rest/v1beta1/services.consumerQuotaMetrics.limits#ConsumerQuotaLimit`)`` The consumer quota for each quota limit defined on the metric. |
| `descendantConsumerQuotaLimits[]` | ``object (`https://docs.cloud.google.com/service-usage/docs/reference/rest/v1beta1/services.consumerQuotaMetrics.limits#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 ||
|---|---|
| ### `https://docs.cloud.google.com/service-usage/docs/reference/rest/v1beta1/services.consumerQuotaMetrics/get` | Retrieves a summary of quota information for a specific quota metric |
| ### `https://docs.cloud.google.com/service-usage/docs/reference/rest/v1beta1/services.consumerQuotaMetrics/importAdminOverrides` | Creates or updates multiple admin overrides atomically, all on the same consumer, but on many different metrics or limits. |
| ### `https://docs.cloud.google.com/service-usage/docs/reference/rest/v1beta1/services.consumerQuotaMetrics/importConsumerOverrides` | Creates or updates multiple consumer overrides atomically, all on the same consumer, but on many different metrics or limits. |
| ### `https://docs.cloud.google.com/service-usage/docs/reference/rest/v1beta1/services.consumerQuotaMetrics/list` | Retrieves a summary of all quota information visible to the service consumer, organized by service metric. |