public final class ConsumerQuotaMetric extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Service Usage API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ConsumerQuotaMetric() |
| Modifier and Type | Method and Description |
|---|---|
ConsumerQuotaMetric |
clone() |
List<ConsumerQuotaLimit> |
getConsumerQuotaLimits()
The consumer quota for each quota limit defined on the metric.
|
List<ConsumerQuotaLimit> |
getDescendantConsumerQuotaLimits()
The quota limits targeting the descendant containers of the consumer in request.
|
String |
getDisplayName()
The display name of the metric.
|
String |
getMetric()
The name of the metric.
|
String |
getName()
The resource name of the quota settings on this metric for this consumer.
|
String |
getUnit()
The units in which the metric value is reported.
|
ConsumerQuotaMetric |
set(String fieldName,
Object value) |
ConsumerQuotaMetric |
setConsumerQuotaLimits(List<ConsumerQuotaLimit> consumerQuotaLimits)
The consumer quota for each quota limit defined on the metric.
|
ConsumerQuotaMetric |
setDescendantConsumerQuotaLimits(List<ConsumerQuotaLimit> descendantConsumerQuotaLimits)
The quota limits targeting the descendant containers of the consumer in request.
|
ConsumerQuotaMetric |
setDisplayName(String displayName)
The display name of the metric.
|
ConsumerQuotaMetric |
setMetric(String metric)
The name of the metric.
|
ConsumerQuotaMetric |
setName(String name)
The resource name of the quota settings on this metric for this consumer.
|
ConsumerQuotaMetric |
setUnit(String unit)
The units in which the metric value is reported.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic List<ConsumerQuotaLimit> getConsumerQuotaLimits()
null for nonepublic ConsumerQuotaMetric setConsumerQuotaLimits(List<ConsumerQuotaLimit> consumerQuotaLimits)
consumerQuotaLimits - consumerQuotaLimits or null for nonepublic List<ConsumerQuotaLimit> getDescendantConsumerQuotaLimits()
null for nonepublic ConsumerQuotaMetric setDescendantConsumerQuotaLimits(List<ConsumerQuotaLimit> descendantConsumerQuotaLimits)
descendantConsumerQuotaLimits - descendantConsumerQuotaLimits or null for nonepublic String getDisplayName()
null for nonepublic ConsumerQuotaMetric setDisplayName(String displayName)
displayName - displayName or null for nonepublic String getMetric()
null for nonepublic ConsumerQuotaMetric setMetric(String metric)
metric - metric or null for nonepublic String getName()
null for nonepublic ConsumerQuotaMetric setName(String name)
name - name or null for nonepublic String getUnit()
null for nonepublic ConsumerQuotaMetric setUnit(String unit)
unit - unit or null for nonepublic ConsumerQuotaMetric set(String fieldName, Object value)
set in class GenericJsonpublic ConsumerQuotaMetric clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.