public final class QuotaExceededInfo
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 Compute Engine 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 |
---|
QuotaExceededInfo() |
Modifier and Type | Method and Description |
---|---|
QuotaExceededInfo |
clone() |
Map<String,String> |
getDimensions()
The map holding related quota dimensions.
|
Double |
getLimit()
Current effective quota limit.
|
String |
getLimitName()
The name of the quota limit.
|
String |
getMetricName()
The Compute Engine quota metric name.
|
QuotaExceededInfo |
set(String fieldName,
Object value) |
QuotaExceededInfo |
setDimensions(Map<String,String> dimensions)
The map holding related quota dimensions.
|
QuotaExceededInfo |
setLimit(Double limit)
Current effective quota limit.
|
QuotaExceededInfo |
setLimitName(String limitName)
The name of the quota limit.
|
QuotaExceededInfo |
setMetricName(String metricName)
The Compute Engine quota metric name.
|
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 Map<String,String> getDimensions()
null
for nonepublic QuotaExceededInfo setDimensions(Map<String,String> dimensions)
dimensions
- dimensions or null
for nonepublic Double getLimit()
null
for nonepublic QuotaExceededInfo setLimit(Double limit)
limit
- limit or null
for nonepublic String getLimitName()
null
for nonepublic QuotaExceededInfo setLimitName(String limitName)
limitName
- limitName or null
for nonepublic String getMetricName()
null
for nonepublic QuotaExceededInfo setMetricName(String metricName)
metricName
- metricName or null
for nonepublic QuotaExceededInfo set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public QuotaExceededInfo clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.