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

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

deflocation_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

defservice_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

defsession_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

defsession_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)

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.