Cloud Dataproc V1 API - Module Google::Cloud::Dataproc::V1::SessionTemplateController::Paths (v1.13.0)

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

Path helper methods for the SessionTemplateController API.

Methods

#crypto_key_path

def crypto_key_path(project:, location:, key_ring:, crypto_key:) -> ::String

Create a fully-qualified CryptoKey resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}

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

#session_template_path

def session_template_path(project:, location:, template:) -> ::String

Create a fully-qualified SessionTemplate resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/sessionTemplates/{template}

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