
target.apidocs.com.google.api.services.compute.model.Region.html Maven / Gradle / Ivy
Region (Compute Engine API beta-rev20220312-1.32.1)
com.google.api.services.compute.model
Class Region
- 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
-
public final class Region
extends GenericJson
Represents a Region resource. A region is a geographical area where a resource is located. For
more information, read Regions and Zones.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
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
Region()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Region
clone()
String
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
DeprecationStatus
getDeprecated()
[Output Only] The deprecation status associated with this region.
String
getDescription()
[Output Only] Textual description of the resource.
BigInteger
getId()
[Output Only] The unique identifier for the resource.
String
getKind()
[Output Only] Type of the resource.
String
getName()
[Output Only] Name of the resource.
List<Quota>
getQuotas()
[Output Only] Quotas assigned to this region.
String
getSelfLink()
[Output Only] Server-defined URL for the resource.
String
getStatus()
[Output Only] Status of the region, either UP or DOWN.
Boolean
getSupportsPzs()
[Output Only] Reserved for future use.
List<String>
getZones()
[Output Only] A list of zones available in this region, in the form of resource URLs.
Region
set(String fieldName,
Object value)
Region
setCreationTimestamp(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(String description)
[Output Only] Textual description of the resource.
Region
setId(BigInteger id)
[Output Only] The unique identifier for the resource.
Region
setKind(String kind)
[Output Only] Type of the resource.
Region
setName(String name)
[Output Only] Name of the resource.
Region
setQuotas(List<Quota> quotas)
[Output Only] Quotas assigned to this region.
Region
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
Region
setStatus(String status)
[Output Only] Status of the region, either UP or DOWN.
Region
setSupportsPzs(Boolean supportsPzs)
[Output Only] Reserved for future use.
Region
setZones(List<String> zones)
[Output Only] A list of zones available in this region, in the form of resource URLs.
-
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
-
getCreationTimestamp
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
- Returns:
- value or
null
for none
-
setCreationTimestamp
public Region setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
- Parameters:
creationTimestamp
- creationTimestamp or null
for none
-
getDeprecated
public DeprecationStatus getDeprecated()
[Output Only] The deprecation status associated with this region.
- Returns:
- value or
null
for none
-
setDeprecated
public Region setDeprecated(DeprecationStatus deprecated)
[Output Only] The deprecation status associated with this region.
- Parameters:
deprecated
- deprecated or null
for none
-
getDescription
public String getDescription()
[Output Only] Textual description of the resource.
- Returns:
- value or
null
for none
-
setDescription
public Region setDescription(String description)
[Output Only] Textual description of the resource.
- Parameters:
description
- description or null
for none
-
getId
public BigInteger getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
- Returns:
- value or
null
for none
-
setId
public Region setId(BigInteger id)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
- Parameters:
id
- id or null
for none
-
getKind
public String getKind()
[Output Only] Type of the resource. Always compute#region for regions.
- Returns:
- value or
null
for none
-
setKind
public Region setKind(String kind)
[Output Only] Type of the resource. Always compute#region for regions.
- Parameters:
kind
- kind or null
for none
-
getName
public String getName()
[Output Only] Name of the resource.
- Returns:
- value or
null
for none
-
setName
public Region setName(String name)
[Output Only] Name of the resource.
- Parameters:
name
- name or null
for none
-
getQuotas
public List<Quota> getQuotas()
[Output Only] Quotas assigned to this region.
- Returns:
- value or
null
for none
-
setQuotas
public Region setQuotas(List<Quota> quotas)
[Output Only] Quotas assigned to this region.
- Parameters:
quotas
- quotas or null
for none
-
getSelfLink
public String getSelfLink()
[Output Only] Server-defined URL for the resource.
- Returns:
- value or
null
for none
-
setSelfLink
public Region setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
- Parameters:
selfLink
- selfLink or null
for none
-
getStatus
public String getStatus()
[Output Only] Status of the region, either UP or DOWN.
- Returns:
- value or
null
for none
-
setStatus
public Region setStatus(String status)
[Output Only] Status of the region, either UP or DOWN.
- Parameters:
status
- status or null
for none
-
getSupportsPzs
public Boolean getSupportsPzs()
[Output Only] Reserved for future use.
- Returns:
- value or
null
for none
-
setSupportsPzs
public Region setSupportsPzs(Boolean supportsPzs)
[Output Only] Reserved for future use.
- Parameters:
supportsPzs
- supportsPzs or null
for none
-
getZones
public List<String> getZones()
[Output Only] A list of zones available in this region, in the form of resource URLs.
- Returns:
- value or
null
for none
-
setZones
public Region setZones(List<String> zones)
[Output Only] A list of zones available in this region, in the form of resource URLs.
- Parameters:
zones
- zones or null
for none
-
set
public Region set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public Region clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy