Module Google::Cloud::Dataproc::V1::BatchController::Paths (v0.8.0)

Path helper methods for the BatchController API.

Methods

#batch_path

def batch_path(project:, location:, batch:) -> ::String

Create a fully-qualified Batch resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/batches/{batch}

Parameters
  • project (String)
  • location (String)
  • batch (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)