Module Google::Cloud::Tasks::V2beta3::CloudTasks::Paths (v0.6.6)

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)