Class ReservationPath (1.12.22)

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
TypeDescription
ReservationPath.Builder

parse(String path)

public static ReservationPath parse(String path)
Parameter
NameDescription
pathString
Returns
TypeDescription
ReservationPath
Exceptions
TypeDescription
ApiException

Constructors

ReservationPath()

public ReservationPath()

Methods

location()

public abstract CloudRegion location()
Returns
TypeDescription
CloudRegion

locationPath()

public LocationPath locationPath()
Returns
TypeDescription
LocationPath

name()

public abstract ReservationName name()
Returns
TypeDescription
ReservationName

project()

public abstract ProjectIdOrNumber project()
Returns
TypeDescription
ProjectIdOrNumber

toBuilder()

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

toString()

public String toString()
Returns
TypeDescription
String
Overrides