Package com.google.cloud.pubsublite
Class CloudZone
java.lang.Object
com.google.cloud.pubsublite.CloudZone
- All Implemented Interfaces:
Serializable
A representation of a Google Cloud zone.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CloudZoneof(CloudRegion region, char zoneId) A google cloud zone.static CloudZoneConstruct a CloudZone from a valid zone string.abstract CloudRegionregion()The region this zone is in.final StringtoString()abstract charzoneId()The character identifier for this zone in this region.
-
Constructor Details
-
CloudZone
public CloudZone()
-
-
Method Details
-
of
A google cloud zone. -
parse
Construct a CloudZone from a valid zone string. `zone` must be formatted as: <location>-<direction><number>-<letter>- Throws:
com.google.api.gax.rpc.ApiException
-
region
The region this zone is in. -
zoneId
public abstract char zoneId()The character identifier for this zone in this region. -
toString
-