Cloud Dataproc V1 API - Module Google::Cloud::Dataproc::V1::NodeGroupController::Paths (v0.20.0)

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

Path helper methods for the NodeGroupController API.

Methods

#cluster_region_path

def cluster_region_path(project:, region:, cluster:) -> ::String

Create a fully-qualified ClusterRegion resource string.

The resource will be in the following format:

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

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