public final class Region
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 |
|---|
Region() |
| Modifier and Type | Method and Description |
|---|---|
Region |
clone() |
java.lang.String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
DeprecationStatus |
getDeprecated()
[Output Only] The deprecation status associated with this region.
|
java.lang.String |
getDescription()
[Output Only] Textual description of the resource.
|
java.math.BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
java.lang.String |
getKind()
[Output Only] Type of the resource.
|
java.lang.String |
getName()
[Output Only] Name of the resource.
|
java.util.List<Quota> |
getQuotas()
[Output Only] Quotas assigned to this region.
|
java.lang.String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
java.lang.String |
getStatus()
[Output Only] Status of the region, either UP or DOWN.
|
java.util.List<java.lang.String> |
getZones()
[Output Only] A list of zones available in this region, in the form of resource URLs.
|
Region |
set(java.lang.String fieldName,
java.lang.Object value) |
Region |
setCreationTimestamp(java.lang.String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
Region |
setDeprecated(DeprecationStatus deprecated)
[Output Only] The deprecation status associated with this region.
|
Region |
setDescription(java.lang.String description)
[Output Only] Textual description of the resource.
|
Region |
setId(java.math.BigInteger id)
[Output Only] The unique identifier for the resource.
|
Region |
setKind(java.lang.String kind)
[Output Only] Type of the resource.
|
Region |
setName(java.lang.String name)
[Output Only] Name of the resource.
|
Region |
setQuotas(java.util.List<Quota> quotas)
[Output Only] Quotas assigned to this region.
|
Region |
setSelfLink(java.lang.String selfLink)
[Output Only] Server-defined URL for the resource.
|
Region |
setStatus(java.lang.String status)
[Output Only] Status of the region, either UP or DOWN.
|
Region |
setZones(java.util.List<java.lang.String> zones)
[Output Only] A list of zones available in this region, in the form of resource URLs.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getCreationTimestamp()
null for nonepublic Region setCreationTimestamp(java.lang.String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic DeprecationStatus getDeprecated()
null for nonepublic Region setDeprecated(DeprecationStatus deprecated)
deprecated - deprecated or null for nonepublic java.lang.String getDescription()
null for nonepublic Region setDescription(java.lang.String description)
description - description or null for nonepublic java.math.BigInteger getId()
null for nonepublic Region setId(java.math.BigInteger id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic Region setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getName()
null for nonepublic Region setName(java.lang.String name)
name - name or null for nonepublic java.util.List<Quota> getQuotas()
null for nonepublic Region setQuotas(java.util.List<Quota> quotas)
quotas - quotas or null for nonepublic java.lang.String getSelfLink()
null for nonepublic Region setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic java.lang.String getStatus()
null for nonepublic Region setStatus(java.lang.String status)
status - status or null for nonepublic java.util.List<java.lang.String> getZones()
null for nonepublic Region setZones(java.util.List<java.lang.String> zones)
zones - zones or null for nonepublic Region set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Region clone()
clone in class com.google.api.client.json.GenericJson