Path helper methods for the ReservationService API.
Methods
#assignment_path
def assignment_path(project:, location:, reservation:, assignment:) -> ::String
Create a fully-qualified Assignment resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/reservations/{reservation}/assignments/{assignment}
- project (String)
- location (String)
- reservation (String)
- assignment (String)
- (::String)
- (::ArgumentError)
#bi_reservation_path
def bi_reservation_path(project:, location:) -> ::String
Create a fully-qualified BiReservation resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/biReservation
- project (String)
- location (String)
- (::String)
- (::ArgumentError)
#capacity_commitment_path
def capacity_commitment_path(project:, location:, capacity_commitment:) -> ::String
Create a fully-qualified CapacityCommitment resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/capacityCommitments/{capacity_commitment}
- project (String)
- location (String)
- capacity_commitment (String)
- (::String)
- (::ArgumentError)
#location_path
def location_path(project:, location:) -> ::String
Create a fully-qualified Location resource string.
The resource will be in the following format:
projects/{project}/locations/{location}
- project (String)
- location (String)
- (::String)
- (::ArgumentError)
#reservation_path
def reservation_path(project:, location:, reservation:) -> ::String
Create a fully-qualified Reservation resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/reservations/{reservation}
- project (String)
- location (String)
- reservation (String)
- (::String)
- (::ArgumentError)