Class ProjectPath (1.14.8)

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
Type Description
ProjectPath.Builder

parse(String path)

public static ProjectPath parse(String path)

Parse a project path. Should be structured like:

projects/<project number>

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

Constructors

ProjectPath()

public ProjectPath()

Methods

project()

public abstract ProjectIdOrNumber project()
Returns
Type Description
ProjectIdOrNumber

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides