Reference documentation and code samples for the Cloud Key Management Service (KMS) V1 API module Google::Cloud::Kms::V1::KeyManagementService::Paths.
Path helper methods for the KeyManagementService API.
Included In
Methods
#crypto_key_path
def crypto_key_path(project:, location:, key_ring:, crypto_key:) -> ::StringCreate a fully-qualified CryptoKey resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}
- project (String)
 - location (String)
 - key_ring (String)
 - crypto_key (String)
 
- (::String)
 
- (::ArgumentError)
 
#crypto_key_version_path
def crypto_key_version_path(project:, location:, key_ring:, crypto_key:, crypto_key_version:) -> ::StringCreate a fully-qualified CryptoKeyVersion resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}
- project (String)
 - location (String)
 - key_ring (String)
 - crypto_key (String)
 - crypto_key_version (String)
 
- (::String)
 
- (::ArgumentError)
 
#import_job_path
def import_job_path(project:, location:, key_ring:, import_job:) -> ::StringCreate a fully-qualified ImportJob resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/keyRings/{key_ring}/importJobs/{import_job}
- project (String)
 - location (String)
 - key_ring (String)
 - import_job (String)
 
- (::String)
 
- (::ArgumentError)
 
#key_ring_path
def key_ring_path(project:, location:, key_ring:) -> ::StringCreate a fully-qualified KeyRing resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/keyRings/{key_ring}
- project (String)
 - location (String)
 - key_ring (String)
 
- (::String)
 
- (::ArgumentError)
 
#location_path
def location_path(project:, location:) -> ::StringCreate a fully-qualified Location resource string.
The resource will be in the following format:
projects/{project}/locations/{location}
- project (String)
 - location (String)
 
- (::String)
 
- (::ArgumentError)