Cloud Tasks V2beta3 API - Module Google::Cloud::Tasks::V2beta3::CloudTasks::Paths (v0.20.1)

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

Path helper methods for the CloudTasks API.

Methods

#cmek_config_path

def cmek_config_path(project:, location:) -> ::String

Create a fully-qualified CmekConfig resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/cmekConfig

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

#crypto_key_path

def crypto_key_path(project:, location:, key_ring:, crypto_key:) -> ::String

Create a fully-qualified CryptoKey resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}

Parameters
  • project (String)
  • location (String)
  • key_ring (String)
  • crypto_key (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

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