public final class QuotaOverride
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 |
---|
QuotaOverride() |
Modifier and Type | Method and Description |
---|---|
QuotaOverride |
clone() |
java.util.Map<java.lang.String,java.lang.String> |
getDimensions()
If this map is nonempty, then this override applies only to specific values for dimensions
defined in the limit unit.
|
java.lang.String |
getName()
The resource name of the override.
|
java.lang.Long |
getOverrideValue()
The overriding quota limit value.
|
QuotaOverride |
set(java.lang.String fieldName,
java.lang.Object value) |
QuotaOverride |
setDimensions(java.util.Map<java.lang.String,java.lang.String> dimensions)
If this map is nonempty, then this override applies only to specific values for dimensions
defined in the limit unit.
|
QuotaOverride |
setName(java.lang.String name)
The resource name of the override.
|
QuotaOverride |
setOverrideValue(java.lang.Long overrideValue)
The overriding quota limit value.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.util.Map<java.lang.String,java.lang.String> getDimensions()
null
for nonepublic QuotaOverride setDimensions(java.util.Map<java.lang.String,java.lang.String> dimensions)
dimensions
- dimensions or null
for nonepublic java.lang.String getName()
null
for nonepublic QuotaOverride setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.Long getOverrideValue()
null
for nonepublic QuotaOverride setOverrideValue(java.lang.Long overrideValue)
overrideValue
- overrideValue or null
for nonepublic QuotaOverride set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public QuotaOverride clone()
clone
in class com.google.api.client.json.GenericJson