# Cloud Spanner Database Admin V1 API - Module Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Paths (v1.14.0)

1.14.0 (latest) 1.13.1 1.12.0 1.11.1 1.10.0 1.9.0 1.8.0 1.7.0 1.6.1 1.5.0 1.4.0 1.3.0 1.2.1 1.1.1 1.0.0 0.20.0 0.19.0 0.18.0 0.17.1 0.16.1 0.15.0 0.14.2 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.6 Reference documentation and code samples for the Cloud Spanner Database Admin V1 API module Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Paths.

Path helper methods for the DatabaseAdmin API.

## Extended By

- [Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-database-v1/latest/Google-Cloud-Spanner-Admin-Database-V1-DatabaseAdmin-Paths)

## Included In

- [Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-database-v1/latest/Google-Cloud-Spanner-Admin-Database-V1-DatabaseAdmin-Client)
- [Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-database-v1/latest/Google-Cloud-Spanner-Admin-Database-V1-DatabaseAdmin-Paths)
- [Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Rest::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-spanner-admin-database-v1/latest/Google-Cloud-Spanner-Admin-Database-V1-DatabaseAdmin-Rest-Client)

## Methods

### #backup_path

    def backup_path(project:, instance:, backup:) -> ::String

Create a fully-qualified Backup resource string.


The resource will be in the following format:

<br />

`projects/{project}/instances/{instance}/backups/{backup}`
**Parameters**

- **project** (String)
- **instance** (String)
- **backup** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #backup_schedule_path

    def backup_schedule_path(project:, instance:, database:, schedule:) -> ::String

Create a fully-qualified BackupSchedule resource string.


The resource will be in the following format:

<br />

`projects/{project}/instances/{instance}/databases/{database}/backupSchedules/{schedule}`
**Parameters**

- **project** (String)
- **instance** (String)
- **database** (String)
- **schedule** (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:

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

### #database_path

    def database_path(project:, instance:, database:) -> ::String

Create a fully-qualified Database resource string.


The resource will be in the following format:

<br />

`projects/{project}/instances/{instance}/databases/{database}`
**Parameters**

- **project** (String)
- **instance** (String)
- **database** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #instance_partition_path

    def instance_partition_path(project:, instance:, instance_partition:) -> ::String

Create a fully-qualified InstancePartition resource string.


The resource will be in the following format:

<br />

`projects/{project}/instances/{instance}/instancePartitions/{instance_partition}`
**Parameters**

- **project** (String)
- **instance** (String)
- **instance_partition** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #instance_path

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

Create a fully-qualified Instance resource string.


The resource will be in the following format:

<br />

`projects/{project}/instances/{instance}`
**Parameters**

- **project** (String)
- **instance** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)