Class ProjectPath (1.12.22)

public abstract class ProjectPath implements Serializable

A string wrapper representing a project.

Inheritance

java.lang.Object > ProjectPath

Implements

Serializable

Static Methods

newBuilder()

public static ProjectPath.Builder newBuilder()

Create a new ProjectPath builder.

Returns
TypeDescription
ProjectPath.Builder

parse(String path)

public static ProjectPath parse(String path)

Parse a project path. Should be structured like:

projects/<project number>

Parameter
NameDescription
pathString
Returns
TypeDescription
ProjectPath
Exceptions
TypeDescription
ApiException

Constructors

ProjectPath()

public ProjectPath()

Methods

project()

public abstract ProjectIdOrNumber project()
Returns
TypeDescription
ProjectIdOrNumber

toBuilder()

public abstract ProjectPath.Builder toBuilder()
Returns
TypeDescription
ProjectPath.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides