Cloud Dataproc V1 API - Module Google::Cloud::Dataproc::V1::WorkflowTemplateService::Paths (v0.25.0)

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

Path helper methods for the WorkflowTemplateService API.

Methods

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

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

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