Cloud Dataproc V1 API - Module Google::Cloud::Dataproc::V1::ClusterController::Paths (v0.24.1)

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

Path helper methods for the ClusterController API.

Methods

#cluster_path

def cluster_path(project:, location:, cluster:) -> ::String

Create a fully-qualified Cluster resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/clusters/{cluster}

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

#node_group_path

def node_group_path(project:, region:, cluster:, node_group:) -> ::String

Create a fully-qualified NodeGroup resource string.

The resource will be in the following format:

projects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{node_group}

Parameters
  • project (String)
  • region (String)
  • cluster (String)
  • node_group (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)