Parameter Manager V1 API - Module Google::Cloud::ParameterManager::V1::ParameterManager::Paths (v0.4.0)

Reference documentation and code samples for the Parameter Manager V1 API module Google::Cloud::ParameterManager::V1::ParameterManager::Paths.

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

#parameter_path

def parameter_path(project:, location:, parameter:) -> ::String

Create a fully-qualified Parameter resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/parameters/{parameter}

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

#parameter_version_path

def parameter_version_path(project:, location:, parameter:, parameter_version:) -> ::String

Create a fully-qualified ParameterVersion resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/parameters/{parameter}/versions/{parameter_version}

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