public final class ConsumerQuotaMetric
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 Usage 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
Constructor and Description |
---|
ConsumerQuotaMetric() |
Modifier and Type | Method and Description |
---|---|
ConsumerQuotaMetric |
clone() |
java.util.List<ConsumerQuotaLimit> |
getConsumerQuotaLimits()
The consumer quota for each quota limit defined on the metric.
|
java.lang.String |
getDisplayName()
The display name of the metric.
|
java.lang.String |
getMetric()
The name of the metric.
|
java.lang.String |
getName()
The resource name of the quota settings on this metric for this consumer.
|
ConsumerQuotaMetric |
set(java.lang.String fieldName,
java.lang.Object value) |
ConsumerQuotaMetric |
setConsumerQuotaLimits(java.util.List<ConsumerQuotaLimit> consumerQuotaLimits)
The consumer quota for each quota limit defined on the metric.
|
ConsumerQuotaMetric |
setDisplayName(java.lang.String displayName)
The display name of the metric.
|
ConsumerQuotaMetric |
setMetric(java.lang.String metric)
The name of the metric.
|
ConsumerQuotaMetric |
setName(java.lang.String name)
The resource name of the quota settings on this metric for this consumer.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.util.List<ConsumerQuotaLimit> getConsumerQuotaLimits()
null
for nonepublic ConsumerQuotaMetric setConsumerQuotaLimits(java.util.List<ConsumerQuotaLimit> consumerQuotaLimits)
consumerQuotaLimits
- consumerQuotaLimits or null
for nonepublic java.lang.String getDisplayName()
null
for nonepublic ConsumerQuotaMetric setDisplayName(java.lang.String displayName)
displayName
- displayName or null
for nonepublic java.lang.String getMetric()
null
for nonepublic ConsumerQuotaMetric setMetric(java.lang.String metric)
metric
- metric or null
for nonepublic java.lang.String getName()
null
for nonepublic ConsumerQuotaMetric setName(java.lang.String name)
name
- name or null
for nonepublic ConsumerQuotaMetric set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ConsumerQuotaMetric clone()
clone
in class com.google.api.client.json.GenericJson