target.apidocs.com.google.api.services.compute.model.Region.QuotaStatusWarning.html Maven / Gradle / Ivy
Region.QuotaStatusWarning (Compute Engine API v1-rev20250107-2.0.0)
com.google.api.services.compute.model
Class Region.QuotaStatusWarning
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.compute.model.Region.QuotaStatusWarning
-
- Enclosing class:
- Region
public static final class Region.QuotaStatusWarning
extends com.google.api.client.json.GenericJson
[Output Only] Warning of fetching the `quotas` field for this region. This field is populated
only if fetching of the `quotas` field fails.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
static class
Region.QuotaStatusWarning.Data
Model definition for RegionQuotaStatusWarningData.
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
QuotaStatusWarning()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Region.QuotaStatusWarning
clone()
String
getCode()
[Output Only] A warning code, if applicable.
List<Region.QuotaStatusWarning.Data>
getData()
[Output Only] Metadata about this warning in key: value format.
String
getMessage()
[Output Only] A human-readable description of the warning code.
Region.QuotaStatusWarning
set(String fieldName,
Object value)
Region.QuotaStatusWarning
setCode(String code)
[Output Only] A warning code, if applicable.
Region.QuotaStatusWarning
setData(List<Region.QuotaStatusWarning.Data> data)
[Output Only] Metadata about this warning in key: value format.
Region.QuotaStatusWarning
setMessage(String message)
[Output Only] A human-readable description of the warning code.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getCode
public String getCode()
[Output Only] A warning code, if applicable. For example, Compute Engine returns
NO_RESULTS_ON_PAGE if there are no results in the response.
- Returns:
- value or
null for none
-
setCode
public Region.QuotaStatusWarning setCode(String code)
[Output Only] A warning code, if applicable. For example, Compute Engine returns
NO_RESULTS_ON_PAGE if there are no results in the response.
- Parameters:
code - code or null for none
-
getData
public List<Region.QuotaStatusWarning.Data> getData()
[Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key":
"scope", "value": "zones/us-east1-d" }
- Returns:
- value or
null for none
-
setData
public Region.QuotaStatusWarning setData(List<Region.QuotaStatusWarning.Data> data)
[Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key":
"scope", "value": "zones/us-east1-d" }
- Parameters:
data - data or null for none
-
getMessage
public String getMessage()
[Output Only] A human-readable description of the warning code.
- Returns:
- value or
null for none
-
setMessage
public Region.QuotaStatusWarning setMessage(String message)
[Output Only] A human-readable description of the warning code.
- Parameters:
message - message or null for none
-
set
public Region.QuotaStatusWarning set(String fieldName,
Object value)
- Overrides:
set in class com.google.api.client.json.GenericJson
-
clone
public Region.QuotaStatusWarning clone()
- Overrides:
clone in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy