public final class V1Beta1QuotaOverride
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
V1Beta1QuotaOverride() |
Modifier and Type | Method and Description |
---|---|
V1Beta1QuotaOverride |
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 producer override.
|
Long |
getOverrideValue()
The overriding quota limit value.
|
String |
getUnit()
The limit unit of the limit to which this override applies.
|
V1Beta1QuotaOverride |
set(String fieldName,
Object value) |
V1Beta1QuotaOverride |
setAdminOverrideAncestor(String adminOverrideAncestor)
The resource name of the ancestor that requested the override.
|
V1Beta1QuotaOverride |
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.
|
V1Beta1QuotaOverride |
setMetric(String metric)
The name of the metric to which this override applies.
|
V1Beta1QuotaOverride |
setName(String name)
The resource name of the producer override.
|
V1Beta1QuotaOverride |
setOverrideValue(Long overrideValue)
The overriding quota limit value.
|
V1Beta1QuotaOverride |
setUnit(String unit)
The limit unit of the limit to which this override applies.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getAdminOverrideAncestor()
null
for nonepublic V1Beta1QuotaOverride setAdminOverrideAncestor(String adminOverrideAncestor)
adminOverrideAncestor
- adminOverrideAncestor or null
for nonepublic Map<String,String> getDimensions()
null
for nonepublic V1Beta1QuotaOverride setDimensions(Map<String,String> dimensions)
dimensions
- dimensions or null
for nonepublic String getMetric()
null
for nonepublic V1Beta1QuotaOverride setMetric(String metric)
metric
- metric or null
for nonepublic String getName()
null
for nonepublic V1Beta1QuotaOverride setName(String name)
name
- name or null
for nonepublic Long getOverrideValue()
null
for nonepublic V1Beta1QuotaOverride setOverrideValue(Long overrideValue)
overrideValue
- overrideValue or null
for nonepublic String getUnit()
null
for nonepublic V1Beta1QuotaOverride setUnit(String unit)
unit
- unit or null
for nonepublic V1Beta1QuotaOverride set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public V1Beta1QuotaOverride clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.