Cloud Dataproc V1beta2 API - Module Google::Cloud::Dataproc::V1beta2::WorkflowTemplateService::Paths (v0.6.3)

Reference documentation and code samples for the Cloud Dataproc V1beta2 API module Google::Cloud::Dataproc::V1beta2::WorkflowTemplateService::Paths.

Path helper methods for the WorkflowTemplateService 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)

#location_path

def location_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)

#region_path

def region_path(project:, region:) -> ::String

Create a fully-qualified Region resource string.

The resource will be in the following format:

projects/{project}/regions/{region}

Parameters
  • project (String)
  • region (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#workflow_template_path

def workflow_template_path(project:, region:, workflow_template:) -> ::String
def workflow_template_path(project:, location:, workflow_template:) -> ::String

Create a fully-qualified WorkflowTemplate resource string.

Overloads
def workflow_template_path(project:, region:, workflow_template:) -> ::String
The resource will be in the following format:

projects/{project}/regions/{region}/workflowTemplates/{workflow_template}

Parameters
  • project (String)
  • region (String)
  • workflow_template (String)
def workflow_template_path(project:, location:, workflow_template:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/workflowTemplates/{workflow_template}

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