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

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

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