Package com.google.cloud.pubsublite
Class CloudRegion
- java.lang.Object
-
- com.google.cloud.pubsublite.CloudRegion
-
- All Implemented Interfaces:
Serializable
public abstract class CloudRegion extends Object implements Serializable
A wrapped string representing a Google Cloud region.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CloudRegion()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static CloudRegion
of(String value)
Construct a CloudRegion from a string.String
toString()
abstract String
value()
The string representing this region.
-
-
-
Method Detail
-
of
public static CloudRegion of(String value) throws com.google.api.gax.rpc.ApiException
Construct a CloudRegion from a string.- Throws:
com.google.api.gax.rpc.ApiException
-
value
public abstract String value()
The string representing this region.
-
-