Cloud Tasks V2 API - Module Google::Cloud::Tasks::V2::CloudTasks::Paths (v1.0.1)

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

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

#queue_path

def queue_path(project:, location:, queue:) -> ::String

Create a fully-qualified Queue resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/queues/{queue}

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

#task_path

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

Create a fully-qualified Task resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/queues/{queue}/tasks/{task}

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