public final class QuotaBucket 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 |
|---|
QuotaBucket() |
| Modifier and Type | Method and Description |
|---|---|
QuotaBucket |
clone() |
QuotaOverride |
getAdminOverride()
Admin override on this quota bucket.
|
QuotaOverride |
getConsumerOverride()
Consumer override on this quota bucket.
|
Long |
getDefaultLimit()
The default limit of this quota bucket, as specified by the service configuration.
|
Map<String,String> |
getDimensions()
The dimensions of this quota bucket.
|
Long |
getEffectiveLimit()
The effective limit of this quota bucket.
|
QuotaOverride |
getProducerOverride()
Producer override on this quota bucket.
|
QuotaBucket |
set(String fieldName,
Object value) |
QuotaBucket |
setAdminOverride(QuotaOverride adminOverride)
Admin override on this quota bucket.
|
QuotaBucket |
setConsumerOverride(QuotaOverride consumerOverride)
Consumer override on this quota bucket.
|
QuotaBucket |
setDefaultLimit(Long defaultLimit)
The default limit of this quota bucket, as specified by the service configuration.
|
QuotaBucket |
setDimensions(Map<String,String> dimensions)
The dimensions of this quota bucket.
|
QuotaBucket |
setEffectiveLimit(Long effectiveLimit)
The effective limit of this quota bucket.
|
QuotaBucket |
setProducerOverride(QuotaOverride producerOverride)
Producer override on this quota bucket.
|
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 QuotaOverride getAdminOverride()
null for nonepublic QuotaBucket setAdminOverride(QuotaOverride adminOverride)
adminOverride - adminOverride or null for nonepublic QuotaOverride getConsumerOverride()
null for nonepublic QuotaBucket setConsumerOverride(QuotaOverride consumerOverride)
consumerOverride - consumerOverride or null for nonepublic Long getDefaultLimit()
null for nonepublic QuotaBucket setDefaultLimit(Long defaultLimit)
defaultLimit - defaultLimit or null for nonepublic Map<String,String> getDimensions()
null for nonepublic QuotaBucket setDimensions(Map<String,String> dimensions)
dimensions - dimensions or null for nonepublic Long getEffectiveLimit()
null for nonepublic QuotaBucket setEffectiveLimit(Long effectiveLimit)
effectiveLimit - effectiveLimit or null for nonepublic QuotaOverride getProducerOverride()
null for nonepublic QuotaBucket setProducerOverride(QuotaOverride producerOverride)
producerOverride - producerOverride or null for nonepublic QuotaBucket set(String fieldName, Object value)
set in class GenericJsonpublic QuotaBucket clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.