Cloud Functions V1 API - Module Google::Cloud::Functions::V1::CloudFunctionsService::Paths (v0.6.0)

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

Path helper methods for the CloudFunctionsService API.

Methods

#cloud_function_path

def cloud_function_path(project:, location:, function:) -> ::String

Create a fully-qualified CloudFunction resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/functions/{function}

Parameters
  • project (String)
  • location (String)
  • function (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)

#repository_path

def repository_path(project:, location:, repository:) -> ::String

Create a fully-qualified Repository resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/repositories/{repository}

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