public final class ConsumerQuotaLimit 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 |
|---|
ConsumerQuotaLimit() |
| Modifier and Type | Method and Description |
|---|---|
ConsumerQuotaLimit |
clone() |
Boolean |
getAllowsAdminOverrides()
Whether admin overrides are allowed on this limit
|
Boolean |
getIsPrecise()
Whether this limit is precise or imprecise.
|
String |
getMetric()
The name of the parent metric of this limit.
|
String |
getName()
The resource name of the quota limit.
|
List<QuotaBucket> |
getQuotaBuckets()
Summary of the enforced quota buckets, organized by quota dimension, ordered from least
specific to most specific (for example, the global default bucket, with no quota dimensions,
will always appear first).
|
String |
getUnit()
The limit unit.
|
ConsumerQuotaLimit |
set(String fieldName,
Object value) |
ConsumerQuotaLimit |
setAllowsAdminOverrides(Boolean allowsAdminOverrides)
Whether admin overrides are allowed on this limit
|
ConsumerQuotaLimit |
setIsPrecise(Boolean isPrecise)
Whether this limit is precise or imprecise.
|
ConsumerQuotaLimit |
setMetric(String metric)
The name of the parent metric of this limit.
|
ConsumerQuotaLimit |
setName(String name)
The resource name of the quota limit.
|
ConsumerQuotaLimit |
setQuotaBuckets(List<QuotaBucket> quotaBuckets)
Summary of the enforced quota buckets, organized by quota dimension, ordered from least
specific to most specific (for example, the global default bucket, with no quota dimensions,
will always appear first).
|
ConsumerQuotaLimit |
setUnit(String unit)
The limit unit.
|
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 Boolean getAllowsAdminOverrides()
null for nonepublic ConsumerQuotaLimit setAllowsAdminOverrides(Boolean allowsAdminOverrides)
allowsAdminOverrides - allowsAdminOverrides or null for nonepublic Boolean getIsPrecise()
null for nonepublic ConsumerQuotaLimit setIsPrecise(Boolean isPrecise)
isPrecise - isPrecise or null for nonepublic String getMetric()
null for nonepublic ConsumerQuotaLimit setMetric(String metric)
metric - metric or null for nonepublic String getName()
null for nonepublic ConsumerQuotaLimit setName(String name)
name - name or null for nonepublic List<QuotaBucket> getQuotaBuckets()
null for nonepublic ConsumerQuotaLimit setQuotaBuckets(List<QuotaBucket> quotaBuckets)
quotaBuckets - quotaBuckets or null for nonepublic String getUnit()
null for nonepublic ConsumerQuotaLimit setUnit(String unit)
unit - unit or null for nonepublic ConsumerQuotaLimit set(String fieldName, Object value)
set in class GenericJsonpublic ConsumerQuotaLimit clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.