Class LocationPath (1.15.12)

public abstract class LocationPath implements Serializable

A string wrapper representing a project and ___location.

Inheritance

java.lang.Object > LocationPath

Implements

Serializable

Static Methods

newBuilder()

public static LocationPath.Builder newBuilder()

Create a new LocationPath builder.

Returns
Type Description
LocationPath.Builder

parse(String path)

public static LocationPath parse(String path)

Parse a ___location path. Should be structured like:

projects/<project number>/locations/<cloud region or zone>

Parameter
Name Description
path String
Returns
Type Description
LocationPath
Exceptions
Type Description
ApiException

Constructors

LocationPath()

public LocationPath()

Methods

___location()

public abstract CloudRegionOrZone ___location()
Returns
Type Description
CloudRegionOrZone

project()

public abstract ProjectIdOrNumber project()
Returns
Type Description
ProjectIdOrNumber

projectPath()

public ProjectPath projectPath()
Returns
Type Description
ProjectPath

toBuilder()

public abstract LocationPath.Builder toBuilder()
Returns
Type Description
LocationPath.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides