public final class V1Beta1ConsumerQuotaMetric
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 |
---|
V1Beta1ConsumerQuotaMetric() |
Modifier and Type | Method and Description |
---|---|
V1Beta1ConsumerQuotaMetric |
clone() |
List<V1Beta1ConsumerQuotaLimit> |
getConsumerQuotaLimits()
The consumer quota for each quota limit defined on the metric.
|
List<V1Beta1ConsumerQuotaLimit> |
getDescendantConsumerQuotaLimits()
The quota limits targeting the descendant containers of the consumer in request.
|
String |
getDisplayName()
The display name of the metric.
|
String |
getMetric()
The name of the metric.
|
String |
getName()
The resource name of the quota settings on this metric for this consumer.
|
String |
getUnit()
The units in which the metric value is reported.
|
V1Beta1ConsumerQuotaMetric |
set(String fieldName,
Object value) |
V1Beta1ConsumerQuotaMetric |
setConsumerQuotaLimits(List<V1Beta1ConsumerQuotaLimit> consumerQuotaLimits)
The consumer quota for each quota limit defined on the metric.
|
V1Beta1ConsumerQuotaMetric |
setDescendantConsumerQuotaLimits(List<V1Beta1ConsumerQuotaLimit> descendantConsumerQuotaLimits)
The quota limits targeting the descendant containers of the consumer in request.
|
V1Beta1ConsumerQuotaMetric |
setDisplayName(String displayName)
The display name of the metric.
|
V1Beta1ConsumerQuotaMetric |
setMetric(String metric)
The name of the metric.
|
V1Beta1ConsumerQuotaMetric |
setName(String name)
The resource name of the quota settings on this metric for this consumer.
|
V1Beta1ConsumerQuotaMetric |
setUnit(String unit)
The units in which the metric value is reported.
|
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 List<V1Beta1ConsumerQuotaLimit> getConsumerQuotaLimits()
null
for nonepublic V1Beta1ConsumerQuotaMetric setConsumerQuotaLimits(List<V1Beta1ConsumerQuotaLimit> consumerQuotaLimits)
consumerQuotaLimits
- consumerQuotaLimits or null
for nonepublic List<V1Beta1ConsumerQuotaLimit> getDescendantConsumerQuotaLimits()
null
for nonepublic V1Beta1ConsumerQuotaMetric setDescendantConsumerQuotaLimits(List<V1Beta1ConsumerQuotaLimit> descendantConsumerQuotaLimits)
descendantConsumerQuotaLimits
- descendantConsumerQuotaLimits or null
for nonepublic String getDisplayName()
null
for nonepublic V1Beta1ConsumerQuotaMetric setDisplayName(String displayName)
displayName
- displayName or null
for nonepublic String getMetric()
null
for nonepublic V1Beta1ConsumerQuotaMetric setMetric(String metric)
metric
- metric or null
for nonepublic String getName()
null
for nonepublic V1Beta1ConsumerQuotaMetric setName(String name)
name
- name or null
for nonepublic String getUnit()
null
for nonepublic V1Beta1ConsumerQuotaMetric setUnit(String unit)
unit
- unit or null
for nonepublic V1Beta1ConsumerQuotaMetric set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public V1Beta1ConsumerQuotaMetric clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.