public final class AdminQuotaPolicy 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 |
|---|
AdminQuotaPolicy() |
| Modifier and Type | Method and Description |
|---|---|
AdminQuotaPolicy |
clone() |
String |
getContainer()
The cloud resource container at which the quota policy is created.
|
Map<String,String> |
getDimensions()
If this map is nonempty, then this policy applies only to specific values for dimensions
defined in the limit unit.
|
String |
getMetric()
The name of the metric to which this policy applies.
|
String |
getName()
The resource name of the policy.
|
Long |
getPolicyValue()
The quota policy value.
|
String |
getUnit()
The limit unit of the limit to which this policy applies.
|
AdminQuotaPolicy |
set(String fieldName,
Object value) |
AdminQuotaPolicy |
setContainer(String container)
The cloud resource container at which the quota policy is created.
|
AdminQuotaPolicy |
setDimensions(Map<String,String> dimensions)
If this map is nonempty, then this policy applies only to specific values for dimensions
defined in the limit unit.
|
AdminQuotaPolicy |
setMetric(String metric)
The name of the metric to which this policy applies.
|
AdminQuotaPolicy |
setName(String name)
The resource name of the policy.
|
AdminQuotaPolicy |
setPolicyValue(Long policyValue)
The quota policy value.
|
AdminQuotaPolicy |
setUnit(String unit)
The limit unit of the limit to which this policy 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 getContainer()
null for nonepublic AdminQuotaPolicy setContainer(String container)
container - container or null for nonepublic Map<String,String> getDimensions()
null for nonepublic AdminQuotaPolicy setDimensions(Map<String,String> dimensions)
dimensions - dimensions or null for nonepublic String getMetric()
null for nonepublic AdminQuotaPolicy setMetric(String metric)
metric - metric or null for nonepublic String getName()
null for nonepublic AdminQuotaPolicy setName(String name)
name - name or null for nonepublic Long getPolicyValue()
null for nonepublic AdminQuotaPolicy setPolicyValue(Long policyValue)
policyValue - policyValue or null for nonepublic String getUnit()
null for nonepublic AdminQuotaPolicy setUnit(String unit)
unit - unit or null for nonepublic AdminQuotaPolicy set(String fieldName, Object value)
set in class GenericJsonpublic AdminQuotaPolicy clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.