Uses of Class
com.google.cloud.spanner.encryption.CustomerManagedEncryption
-
Packages that use CustomerManagedEncryption Package Description com.google.cloud.spanner A client for Cloud Spanner - A no-compromise relational database service.com.google.cloud.spanner.encryption -
-
Uses of CustomerManagedEncryption in com.google.cloud.spanner
Methods in com.google.cloud.spanner that return CustomerManagedEncryption Modifier and Type Method Description CustomerManagedEncryption
DatabaseInfo. getEncryptionConfig()
Returns theCustomerManagedEncryption
of the database if the database is encrypted, ornull
if this database is not encrypted.Methods in com.google.cloud.spanner with parameters of type CustomerManagedEncryption Modifier and Type Method Description abstract DatabaseInfo.Builder
DatabaseInfo.Builder. setEncryptionConfig(CustomerManagedEncryption encryptionConfig)
Optional for creating a new backup. -
Uses of CustomerManagedEncryption in com.google.cloud.spanner.encryption
Methods in com.google.cloud.spanner.encryption that return CustomerManagedEncryption Modifier and Type Method Description static CustomerManagedEncryption
EncryptionConfigs. customerManagedEncryption(String kmsKeyName)
Returns a customer managed encryption configuration for the given key.static CustomerManagedEncryption
CustomerManagedEncryption. fromProtoOrNull(EncryptionConfig proto)
Returns aCustomerManagedEncryption
instance from the given proto, ornull
if the given proto is the default proto instance (i.e.Methods in com.google.cloud.spanner.encryption with parameters of type CustomerManagedEncryption Modifier and Type Method Description static EncryptionConfig
EncryptionConfigProtoMapper. encryptionConfig(CustomerManagedEncryption config)
Returns an encryption config to be used for a database.
-