Method: services.consumerQuotaMetrics.get

Stay organized with collections Save and categorize content based on your preferences.

Retrieves a summary of quota information for a specific quota metric.

HTTP request

GET https://serviceconsumermanagement.googleapis.com/v1beta1/{name=services/*/*/*/consumerQuotaMetrics/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The resource name of the quota metric, returned by a consumerQuotaMetrics.list call.

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

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

  • serviceconsumermanagement.quota.get

Query parameters

Parameters
view

enum (QuotaView)

Specifies the level of detail for quota information in the response.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of ConsumerQuotaMetric.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

Try it!