Class ReservationPath (1.13.6)

public abstract class ReservationPath implements Serializable

A string wrapper representing a reservation. Should be structured like:

projects/<project number>/locations/<cloud region>/reservations/<id>

Inheritance

java.lang.Object > ReservationPath

Implements

Serializable

Static Methods

newBuilder()

public static ReservationPath.Builder newBuilder()

Create a new ReservationPath builder.

Returns
Type Description
ReservationPath.Builder

parse(String path)

public static ReservationPath parse(String path)
Parameter
Name Description
path String
Returns
Type Description
ReservationPath
Exceptions
Type Description
ApiException

Constructors

ReservationPath()

public ReservationPath()

Methods

location()

public abstract CloudRegion location()
Returns
Type Description
CloudRegion

locationPath()

public LocationPath locationPath()
Returns
Type Description
LocationPath

name()

public abstract ReservationName name()
Returns
Type Description
ReservationName

project()

public abstract ProjectIdOrNumber project()
Returns
Type Description
ProjectIdOrNumber

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides