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

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

Path helper methods for the HsmManagement API.

Methods

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

#single_tenant_hsm_instance_path

def single_tenant_hsm_instance_path(project:, location:, single_tenant_hsm_instance:) -> ::String

Create a fully-qualified SingleTenantHsmInstance resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/singleTenantHsmInstances/{single_tenant_hsm_instance}

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

#single_tenant_hsm_instance_proposal_path

def single_tenant_hsm_instance_proposal_path(project:, location:, single_tenant_hsm_instance:, proposal:) -> ::String

Create a fully-qualified SingleTenantHsmInstanceProposal resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/singleTenantHsmInstances/{single_tenant_hsm_instance}/proposals/{proposal}

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