Workflows V1 API - Module Google::Cloud::Workflows::V1::Workflows::Paths (v0.8.0)

Reference documentation and code samples for the Workflows V1 API module Google::Cloud::Workflows::V1::Workflows::Paths.

Path helper methods for the Workflows API.

Methods

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

#workflow_path

def workflow_path(project:, location:, workflow:) -> ::String

Create a fully-qualified Workflow resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/workflows/{workflow}

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