public class Region extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Region.Quota
A quota assigned to this region.
|
static class |
Region.Status
Status of the region.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Long |
getCreationTimestamp()
Returns the creation timestamp in milliseconds since epoch.
|
DeprecationStatus<RegionId> |
getDeprecationStatus()
Returns the deprecation status of the region.
|
String |
getDescription()
Returns an optional textual description of the region.
|
String |
getGeneratedId()
Returns the service-generated unique identifier for the region.
|
List<Region.Quota> |
getQuotas()
Returns quotas assigned to this region.
|
RegionId |
getRegionId()
Returns the region's identity.
|
Region.Status |
getStatus()
Returns the status of the status.
|
List<ZoneId> |
getZones()
Returns a list of identities of zones available in this region.
|
int |
hashCode() |
String |
toString() |
public RegionId getRegionId()
public String getGeneratedId()
public Long getCreationTimestamp()
public String getDescription()
public Region.Status getStatus()
public List<ZoneId> getZones()
public List<Region.Quota> getQuotas()
public DeprecationStatus<RegionId> getDeprecationStatus()
DeprecationStatus.getStatus()
is
either DeprecationStatus.Status.DELETED
or DeprecationStatus.Status.OBSOLETE
the region should not be used. Returns null
if the region is not deprecated.Copyright © 2019 Google LLC. All rights reserved.