public final class QuotaOverride 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 |
|---|
QuotaOverride() |
| Modifier and Type | Method and Description |
|---|---|
QuotaOverride |
clone() |
String |
getAdminOverrideAncestor()
The resource name of the ancestor that requested the override.
|
Map<String,String> |
getDimensions()
If this map is nonempty, then this override applies only to specific values for dimensions
defined in the limit unit.
|
String |
getMetric()
The name of the metric to which this override applies.
|
String |
getName()
The resource name of the override.
|
Long |
getOverrideValue()
The overriding quota limit value.
|
String |
getUnit()
The limit unit of the limit to which this override applies.
|
QuotaOverride |
set(String fieldName,
Object value) |
QuotaOverride |
setAdminOverrideAncestor(String adminOverrideAncestor)
The resource name of the ancestor that requested the override.
|
QuotaOverride |
setDimensions(Map<String,String> dimensions)
If this map is nonempty, then this override applies only to specific values for dimensions
defined in the limit unit.
|
QuotaOverride |
setMetric(String metric)
The name of the metric to which this override applies.
|
QuotaOverride |
setName(String name)
The resource name of the override.
|
QuotaOverride |
setOverrideValue(Long overrideValue)
The overriding quota limit value.
|
QuotaOverride |
setUnit(String unit)
The limit unit of the limit to which this override applies.
|
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 String getAdminOverrideAncestor()
null for nonepublic QuotaOverride setAdminOverrideAncestor(String adminOverrideAncestor)
adminOverrideAncestor - adminOverrideAncestor or null for nonepublic Map<String,String> getDimensions()
null for nonepublic QuotaOverride setDimensions(Map<String,String> dimensions)
dimensions - dimensions or null for nonepublic String getMetric()
null for nonepublic QuotaOverride setMetric(String metric)
metric - metric or null for nonepublic String getName()
null for nonepublic QuotaOverride setName(String name)
name - name or null for nonepublic Long getOverrideValue()
null for nonepublic QuotaOverride setOverrideValue(Long overrideValue)
overrideValue - overrideValue or null for nonepublic String getUnit()
null for nonepublic QuotaOverride setUnit(String unit)
unit - unit or null for nonepublic QuotaOverride set(String fieldName, Object value)
set in class GenericJsonpublic QuotaOverride clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.