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 |
|---|---|
Long |
creationTimestamp()
Returns the creation timestamp in milliseconds since epoch.
|
DeprecationStatus<RegionId> |
deprecationStatus()
Returns the deprecation status of the region.
|
String |
description()
Returns an optional textual description of the region.
|
boolean |
equals(Object obj) |
String |
generatedId()
Returns the service-generated unique identifier for the region.
|
int |
hashCode() |
List<Region.Quota> |
quotas()
Returns quotas assigned to this region.
|
RegionId |
regionId()
Returns the region's identity.
|
Region.Status |
status()
Returns the status of the status.
|
String |
toString() |
List<ZoneId> |
zones()
Returns a list of identities of zones available in this region.
|
public RegionId regionId()
public String generatedId()
public Long creationTimestamp()
public String description()
public Region.Status status()
public List<Region.Quota> quotas()
public DeprecationStatus<RegionId> deprecationStatus()
DeprecationStatus.status() is either
DeprecationStatus.Status.DELETED or DeprecationStatus.Status.OBSOLETE the
region should not be used. Returns null if the region is not deprecated.Copyright © 2016 Google. All rights reserved.