Uses of Class
com.google.cloud.spanner.encryption.CustomerManagedEncryption
Packages that use CustomerManagedEncryption
Package
Description
A client for Cloud Spanner - A no-compromise relational database service.
-
Uses of CustomerManagedEncryption in com.google.cloud.spanner
Methods in com.google.cloud.spanner that return CustomerManagedEncryptionModifier and TypeMethodDescriptionDatabaseInfo.getEncryptionConfig()Returns theCustomerManagedEncryptionof the database if the database is encrypted, ornullif this database is not encrypted.Methods in com.google.cloud.spanner with parameters of type CustomerManagedEncryptionModifier and TypeMethodDescriptionabstract DatabaseInfo.BuilderDatabaseInfo.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 CustomerManagedEncryptionModifier and TypeMethodDescriptionstatic CustomerManagedEncryptionEncryptionConfigs.customerManagedEncryption(String kmsKeyName) Returns a customer managed encryption configuration for the given key.static CustomerManagedEncryptionCustomerManagedEncryption.fromProtoOrNull(EncryptionConfig proto) Returns aCustomerManagedEncryptioninstance from the given proto, ornullif the given proto is the default proto instance (i.e. there is no encryption config).Methods in com.google.cloud.spanner.encryption with parameters of type CustomerManagedEncryptionModifier and TypeMethodDescriptionstatic EncryptionConfigEncryptionConfigProtoMapper.encryptionConfig(CustomerManagedEncryption config) Returns an encryption config to be used for a database.