public final class V1Beta1ConsumerQuotaLimit
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 |
---|
V1Beta1ConsumerQuotaLimit() |
Modifier and Type | Method and Description |
---|---|
V1Beta1ConsumerQuotaLimit |
clone() |
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<V1Beta1QuotaBucket> |
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).
|
List<String> |
getSupportedLocations()
List of all supported locations.
|
String |
getUnit()
The limit unit.
|
V1Beta1ConsumerQuotaLimit |
set(String fieldName,
Object value) |
V1Beta1ConsumerQuotaLimit |
setIsPrecise(Boolean isPrecise)
Whether this limit is precise or imprecise.
|
V1Beta1ConsumerQuotaLimit |
setMetric(String metric)
The name of the parent metric of this limit.
|
V1Beta1ConsumerQuotaLimit |
setName(String name)
The resource name of the quota limit.
|
V1Beta1ConsumerQuotaLimit |
setQuotaBuckets(List<V1Beta1QuotaBucket> 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).
|
V1Beta1ConsumerQuotaLimit |
setSupportedLocations(List<String> supportedLocations)
List of all supported locations.
|
V1Beta1ConsumerQuotaLimit |
setUnit(String unit)
The limit unit.
|
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 Boolean getIsPrecise()
null
for nonepublic V1Beta1ConsumerQuotaLimit setIsPrecise(Boolean isPrecise)
isPrecise
- isPrecise or null
for nonepublic String getMetric()
null
for nonepublic V1Beta1ConsumerQuotaLimit setMetric(String metric)
metric
- metric or null
for nonepublic String getName()
null
for nonepublic V1Beta1ConsumerQuotaLimit setName(String name)
name
- name or null
for nonepublic List<V1Beta1QuotaBucket> getQuotaBuckets()
null
for nonepublic V1Beta1ConsumerQuotaLimit setQuotaBuckets(List<V1Beta1QuotaBucket> quotaBuckets)
quotaBuckets
- quotaBuckets or null
for nonepublic List<String> getSupportedLocations()
null
for nonepublic V1Beta1ConsumerQuotaLimit setSupportedLocations(List<String> supportedLocations)
supportedLocations
- supportedLocations or null
for nonepublic String getUnit()
null
for nonepublic V1Beta1ConsumerQuotaLimit setUnit(String unit)
unit
- unit or null
for nonepublic V1Beta1ConsumerQuotaLimit set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public V1Beta1ConsumerQuotaLimit clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.