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.
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:
projects/{project}/instances/{instance}/backups/{backup}
- project (String)
- instance (String)
- backup (String)
- (::String)
- (::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:
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:) -> ::String
Create 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)
#database_path
def database_path(project:, instance:, database:) -> ::String
Create a fully-qualified Database resource string.
The resource will be in the following format:
projects/{project}/instances/{instance}/databases/{database}
- project (String)
- instance (String)
- database (String)
- (::String)
- (::ArgumentError)
#instance_path
def instance_path(project:, instance:) -> ::String
Create a fully-qualified Instance resource string.
The resource will be in the following format:
projects/{project}/instances/{instance}
- project (String)
- instance (String)
- (::String)
- (::ArgumentError)