Cloud Dataproc V1 API - Module Google::Cloud::Dataproc::V1::SessionController::Paths (v1.0.2)

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

Path helper methods for the SessionController API.

Methods

#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_path

def session_path(project:, location:, session:) -> ::String

Create a fully-qualified Session resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/sessions/{session}

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