# Cloud Key Management Service (KMS) V1 API - Module Google::Cloud::Kms::V1::KeyManagementService::Paths (v1.13.0)

1.13.0 (latest) 1.12.1 1.11.0 1.10.0 1.9.2 1.8.0 1.7.0 1.6.0 1.5.1 1.4.0 1.3.2 1.2.1 1.1.0 1.0.2 0.27.0 0.26.0 0.25.1 0.24.3 0.23.0 0.22.1 0.21.0 0.20.0 0.19.0 0.18.1 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.2 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.

## Extended By

- [Google::Cloud::Kms::V1::KeyManagementService::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-KeyManagementService-Paths)

## Included In

- [Google::Cloud::Kms::V1::KeyManagementService::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-KeyManagementService-Client)
- [Google::Cloud::Kms::V1::KeyManagementService::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-KeyManagementService-Paths)
- [Google::Cloud::Kms::V1::KeyManagementService::Rest::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-KeyManagementService-Rest-Client)

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

<br />

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

### #crypto_key_version_path

    def crypto_key_version_path(project:, location:, key_ring:, crypto_key:, crypto_key_version:) -> ::String

Create a fully-qualified CryptoKeyVersion resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}`
**Parameters**

- **project** (String)
- **location** (String)
- **key_ring** (String)
- **crypto_key** (String)
- **crypto_key_version** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #import_job_path

    def import_job_path(project:, location:, key_ring:, import_job:) -> ::String

Create a fully-qualified ImportJob resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/keyRings/{key_ring}/importJobs/{import_job}`
**Parameters**

- **project** (String)
- **location** (String)
- **key_ring** (String)
- **import_job** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #key_ring_path

    def key_ring_path(project:, location:, key_ring:) -> ::String

Create a fully-qualified KeyRing resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/keyRings/{key_ring}`
**Parameters**

- **project** (String)
- **location** (String)
- **key_ring** (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:

<br />

`projects/{project}/locations/{location}`
**Parameters**

- **project** (String)
- **location** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #retired_resource_path

    def retired_resource_path(project:, location:, retired_resource:) -> ::String

Create a fully-qualified RetiredResource resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/retiredResources/{retired_resource}`
**Parameters**

- **project** (String)
- **location** (String)
- **retired_resource** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)