Send feedback
REST Resource: services.consumerQuotaMetrics
Stay organized with collections
Save and categorize content based on your preferences.
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
Retrieves a summary of quota information for a specific quota metric
Creates or updates multiple admin overrides atomically, all on the same consumer, but on many different metrics or limits.
Creates or updates multiple consumer overrides atomically, all on the same consumer, but on many different metrics or limits.
Retrieves a summary of all quota information visible to the service consumer, organized by service metric.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-03-08 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?