Cloud Dataproc V1 API - Module Google::Cloud::Dataproc::V1::WorkflowTemplateService::Paths (v0.9.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)

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