Method: services.consumerQuotaMetrics.list

Retrieves a summary of all quota information visible to the service consumer, organized by service metric. Each metric includes information about all of its defined limits. Each limit includes the limit configuration (quota unit, preciseness, default value), the current effective limit value, and all of the overrides applied to the limit.

HTTP request

GET https://serviceusage.googleapis.com/v1beta1/{parent=*/*/services/*}/consumerQuotaMetrics

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Parent of the quotas resource.

Some example names would be: projects/123/services/serviceconsumermanagement.googleapis.com folders/345/services/serviceconsumermanagement.googleapis.com organizations/456/services/serviceconsumermanagement.googleapis.com

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

  • serviceusage.quotas.get

Query parameters

Parameters
pageSize

integer

Requested size of the next page of data.

pageToken

string

Token identifying which result to start with; returned by a previous list call.

view

enum (QuotaView)

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

Request body

The request body must be empty.

Response body

Response message for consumerQuotaMetrics.list

If successful, the response body contains data with the following structure:

JSON representation
{
  "metrics": [
    {
      object (ConsumerQuotaMetric)
    }
  ],
  "nextPageToken": string
}
Fields
metrics[]

object (ConsumerQuotaMetric)

Quota settings for the consumer, organized by quota metric.

nextPageToken

string

Token identifying which result to start with; returned by a previous list call.

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authentication Overview.