BigQuery Reservation V1 API - Module Google::Cloud::Bigquery::Reservation::V1::ReservationService::Paths (v0.12.0)

Reference documentation and code samples for the BigQuery Reservation V1 API module Google::Cloud::Bigquery::Reservation::V1::ReservationService::Paths.

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}

Parameters
  • project (String)
  • location (String)
  • reservation (String)
  • assignment (String)
Returns
  • (::String)
Raises
  • (::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

Parameters
  • project (String)
  • location (String)
Returns
  • (::String)
Raises
  • (::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}

Parameters
  • project (String)
  • location (String)
  • capacity_commitment (String)
Returns
  • (::String)
Raises
  • (::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}

Parameters
  • project (String)
  • location (String)
Returns
  • (::String)
Raises
  • (::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}

Parameters
  • project (String)
  • location (String)
  • reservation (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)