Cloud Key Management Service (KMS) V1 API - Module Google::Cloud::Kms::V1::EkmService::Paths (v1.2.0)

Reference documentation and code samples for the Cloud Key Management Service (KMS) V1 API module Google::Cloud::Kms::V1::EkmService::Paths.

Path helper methods for the EkmService API.

Methods

#ekm_config_path

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

Create a fully-qualified EkmConfig resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/ekmConfig

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

#ekm_connection_path

def ekm_connection_path(project:, location:, ekm_connection:) -> ::String

Create a fully-qualified EkmConnection resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/ekmConnections/{ekm_connection}

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

#service_path

def service_path(project:, location:, namespace:, service:) -> ::String

Create a fully-qualified Service resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}

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