public final class V1Beta1ConsumerQuotaMetric 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 Consumer Management 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 |
|---|
V1Beta1ConsumerQuotaMetric() |
| Modifier and Type | Method and Description |
|---|---|
V1Beta1ConsumerQuotaMetric |
clone() |
List<V1Beta1ConsumerQuotaLimit> |
getConsumerQuotaLimits()
The consumer quota for each quota limit defined on the metric.
|
List<V1Beta1ConsumerQuotaLimit> |
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.
|
V1Beta1ConsumerQuotaMetric |
set(String fieldName,
Object value) |
V1Beta1ConsumerQuotaMetric |
setConsumerQuotaLimits(List<V1Beta1ConsumerQuotaLimit> consumerQuotaLimits)
The consumer quota for each quota limit defined on the metric.
|
V1Beta1ConsumerQuotaMetric |
setDescendantConsumerQuotaLimits(List<V1Beta1ConsumerQuotaLimit> descendantConsumerQuotaLimits)
The quota limits targeting the descendant containers of the consumer in request.
|
V1Beta1ConsumerQuotaMetric |
setDisplayName(String displayName)
The display name of the metric.
|
V1Beta1ConsumerQuotaMetric |
setMetric(String metric)
The name of the metric.
|
V1Beta1ConsumerQuotaMetric |
setName(String name)
The resource name of the quota settings on this metric for this consumer.
|
V1Beta1ConsumerQuotaMetric |
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<V1Beta1ConsumerQuotaLimit> getConsumerQuotaLimits()
null for nonepublic V1Beta1ConsumerQuotaMetric setConsumerQuotaLimits(List<V1Beta1ConsumerQuotaLimit> consumerQuotaLimits)
consumerQuotaLimits - consumerQuotaLimits or null for nonepublic List<V1Beta1ConsumerQuotaLimit> getDescendantConsumerQuotaLimits()
null for nonepublic V1Beta1ConsumerQuotaMetric setDescendantConsumerQuotaLimits(List<V1Beta1ConsumerQuotaLimit> descendantConsumerQuotaLimits)
descendantConsumerQuotaLimits - descendantConsumerQuotaLimits or null for nonepublic String getDisplayName()
null for nonepublic V1Beta1ConsumerQuotaMetric setDisplayName(String displayName)
displayName - displayName or null for nonepublic String getMetric()
null for nonepublic V1Beta1ConsumerQuotaMetric setMetric(String metric)
metric - metric or null for nonepublic String getName()
null for nonepublic V1Beta1ConsumerQuotaMetric setName(String name)
name - name or null for nonepublic String getUnit()
null for nonepublic V1Beta1ConsumerQuotaMetric setUnit(String unit)
unit - unit or null for nonepublic V1Beta1ConsumerQuotaMetric set(String fieldName, Object value)
set in class GenericJsonpublic V1Beta1ConsumerQuotaMetric clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.