Module Google::Cloud::Dataproc::V1::WorkflowTemplateService::Paths (v0.8.0)

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)

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

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