public final class Quota
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| Constructor and Description |
|---|
Quota() |
| Modifier and Type | Method and Description |
|---|---|
Quota |
clone() |
java.lang.Double |
getLimit()
[Output Only] Quota limit for this metric.
|
java.lang.String |
getMetric()
[Output Only] Name of the quota metric.
|
java.lang.Double |
getUsage()
[Output Only] Current usage of this metric.
|
Quota |
set(java.lang.String fieldName,
java.lang.Object value) |
Quota |
setLimit(java.lang.Double limit)
[Output Only] Quota limit for this metric.
|
Quota |
setMetric(java.lang.String metric)
[Output Only] Name of the quota metric.
|
Quota |
setUsage(java.lang.Double usage)
[Output Only] Current usage of this metric.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Double getLimit()
null for nonepublic Quota setLimit(java.lang.Double limit)
limit - limit or null for nonepublic java.lang.String getMetric()
null for nonepublic Quota setMetric(java.lang.String metric)
metric - metric or null for nonepublic java.lang.Double getUsage()
null for nonepublic Quota setUsage(java.lang.Double usage)
usage - usage or null for nonepublic Quota set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Quota clone()
clone in class com.google.api.client.json.GenericJson