target.apidocs.com.google.api.services.compute.model.Zone.html Maven / Gradle / Ivy
Zone (Compute Engine API v1-rev20240919-2.0.0)
com.google.api.services.compute.model
Class Zone
- 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.Zone
-
public final class Zone
extends com.google.api.client.json.GenericJson
Represents a Zone resource. A zone is a deployment area. These deployment areas are subsets of a
region. For example the zone us-east1-b is located in the us-east1 region. 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
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
Zone()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Zone
clone()
List<String>
getAvailableCpuPlatforms()
[Output Only] Available cpu/platform selections for the zone.
String
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
DeprecationStatus
getDeprecated()
[Output Only] The deprecation status associated with this zone.
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.
String
getRegion()
[Output Only] Full URL reference to the region which hosts the zone.
String
getSelfLink()
[Output Only] Server-defined URL for the resource.
String
getStatus()
[Output Only] Status of the zone, either UP or DOWN.
Boolean
getSupportsPzs()
[Output Only] Reserved for future use.
Zone
set(String fieldName,
Object value)
Zone
setAvailableCpuPlatforms(List<String> availableCpuPlatforms)
[Output Only] Available cpu/platform selections for the zone.
Zone
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
Zone
setDeprecated(DeprecationStatus deprecated)
[Output Only] The deprecation status associated with this zone.
Zone
setDescription(String description)
[Output Only] Textual description of the resource.
Zone
setId(BigInteger id)
[Output Only] The unique identifier for the resource.
Zone
setKind(String kind)
[Output Only] Type of the resource.
Zone
setName(String name)
[Output Only] Name of the resource.
Zone
setRegion(String region)
[Output Only] Full URL reference to the region which hosts the zone.
Zone
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
Zone
setStatus(String status)
[Output Only] Status of the zone, either UP or DOWN.
Zone
setSupportsPzs(Boolean supportsPzs)
[Output Only] Reserved for future use.
-
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
-
getAvailableCpuPlatforms
public List<String> getAvailableCpuPlatforms()
[Output Only] Available cpu/platform selections for the zone.
- Returns:
- value or
null
for none
-
setAvailableCpuPlatforms
public Zone setAvailableCpuPlatforms(List<String> availableCpuPlatforms)
[Output Only] Available cpu/platform selections for the zone.
- Parameters:
availableCpuPlatforms
- availableCpuPlatforms or null
for none
-
getCreationTimestamp
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
- Returns:
- value or
null
for none
-
setCreationTimestamp
public Zone 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 zone.
- Returns:
- value or
null
for none
-
setDeprecated
public Zone setDeprecated(DeprecationStatus deprecated)
[Output Only] The deprecation status associated with this zone.
- 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 Zone 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 Zone 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#zone for zones.
- Returns:
- value or
null
for none
-
setKind
public Zone setKind(String kind)
[Output Only] Type of the resource. Always compute#zone for zones.
- 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 Zone setName(String name)
[Output Only] Name of the resource.
- Parameters:
name
- name or null
for none
-
getRegion
public String getRegion()
[Output Only] Full URL reference to the region which hosts the zone.
- Returns:
- value or
null
for none
-
setRegion
public Zone setRegion(String region)
[Output Only] Full URL reference to the region which hosts the zone.
- Parameters:
region
- region or null
for none
-
getSelfLink
public String getSelfLink()
[Output Only] Server-defined URL for the resource.
- Returns:
- value or
null
for none
-
setSelfLink
public Zone 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 zone, either UP or DOWN.
- Returns:
- value or
null
for none
-
setStatus
public Zone setStatus(String status)
[Output Only] Status of the zone, 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 Zone setSupportsPzs(Boolean supportsPzs)
[Output Only] Reserved for future use.
- Parameters:
supportsPzs
- supportsPzs or null
for none
-
set
public Zone set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public Zone clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.