Package | Description |
---|---|
com.google.cloud.spanner |
A client for Cloud Spanner - A no-compromise relational database service.
|
com.google.cloud.spanner.encryption |
Modifier and Type | Method and Description |
---|---|
CustomerManagedEncryption |
DatabaseInfo.getEncryptionConfig()
Returns the
CustomerManagedEncryption of the database if the database is encrypted, or
null if this database is not encrypted. |
Modifier and Type | Method and Description |
---|---|
abstract DatabaseInfo.Builder |
DatabaseInfo.Builder.setEncryptionConfig(CustomerManagedEncryption encryptionConfig)
Optional for creating a new backup.
|
Modifier and Type | Method and Description |
---|---|
static CustomerManagedEncryption |
EncryptionConfigs.customerManagedEncryption(String kmsKeyName)
Returns a customer managed encryption configuration for the given key.
|
static CustomerManagedEncryption |
CustomerManagedEncryption.fromProtoOrNull(EncryptionConfig proto)
Returns a
CustomerManagedEncryption instance from the given proto, or null
if the given proto is the default proto instance (i.e. |
Modifier and Type | Method and Description |
---|---|
static EncryptionConfig |
EncryptionConfigProtoMapper.encryptionConfig(CustomerManagedEncryption config)
Returns an encryption config to be used for a database.
|
Copyright © 2022 Google LLC. All rights reserved.