Method: services.consumerQuotaMetrics.list

Retrieves a summary of all quota information about this consumer that is visible to the service producer, for each quota metric defined by the service. 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://serviceconsumermanagement.googleapis.com/v1beta1/{parent=services/*/*/*}/consumerQuotaMetrics

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Parent of the quotas resource.

An example parent would be: services/serviceconsumermanagement.googleapis.com/projects/123

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

  • serviceconsumermanagement.quota.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

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

Response message for consumerQuotaMetrics.list.

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

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

For more information, see the Authentication Overview.

Try it!