Cloud Dataproc V1 API - Module Google::Cloud::Dataproc::V1::BatchController::Paths (v0.22.0)

Reference documentation and code samples for the Cloud Dataproc V1 API module Google::Cloud::Dataproc::V1::BatchController::Paths.

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)

#service_path

def service_path(project:, location:, service:) -> ::String

Create a fully-qualified Service resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/services/{service}

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