Secure Source Manager V1 API - Module Google::Cloud::SecureSourceManager::V1::SecureSourceManager::Paths (v1.0.0)

Reference documentation and code samples for the Secure Source Manager V1 API module Google::Cloud::SecureSourceManager::V1::SecureSourceManager::Paths.

Path helper methods for the SecureSourceManager API.

Methods

#ca_pool_path

def ca_pool_path(project:, location:, ca_pool:) -> ::String

Create a fully-qualified CaPool resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/caPools/{ca_pool}

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

#instance_path

def instance_path(project:, location:, instance:) -> ::String

Create a fully-qualified Instance resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/instances/{instance}

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

#service_attachment_path

def service_attachment_path(project:, region:, service_attachment:) -> ::String

Create a fully-qualified ServiceAttachment resource string.

The resource will be in the following format:

projects/{project}/regions/{region}/serviceAttachments/{service_attachment}

Parameters
  • project (String)
  • region (String)
  • service_attachment (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)