Cloud Run V2 API - Module Google::Cloud::Run::V2::Tasks::Paths (v0.7.0)

Reference documentation and code samples for the Cloud Run V2 API module Google::Cloud::Run::V2::Tasks::Paths.

Path helper methods for the Tasks API.

Methods

#execution_path

def execution_path(project:, location:, job:, execution:) -> ::String

Create a fully-qualified Execution resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/jobs/{job}/executions/{execution}

Parameters
  • project (String)
  • location (String)
  • job (String)
  • execution (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#task_path

def task_path(project:, location:, job:, execution:, task:) -> ::String

Create a fully-qualified Task resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task}

Parameters
  • project (String)
  • location (String)
  • job (String)
  • execution (String)
  • task (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)