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}
- project (String)
- location (String)
- cluster (String)
- (::String)
- (::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}
- project (String)
- region (String)
- cluster (String)
- node_group (String)
- (::String)
- (::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}
- project (String)
- location (String)
- service (String)
- (::String)
- (::ArgumentError)