Class CustomerManagedEncryption
java.lang.Object
com.google.cloud.spanner.encryption.CustomerManagedEncryption
- All Implemented Interfaces:
BackupEncryptionConfig
,RestoreEncryptionConfig
public class CustomerManagedEncryption
extends Object
implements BackupEncryptionConfig, RestoreEncryptionConfig
The data is encrypted with a key provided by the customer.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static CustomerManagedEncryption
fromProtoOrNull
(EncryptionConfig proto) Returns aCustomerManagedEncryption
instance from the given proto, ornull
if the given proto is the default proto instance (i.e.int
hashCode()
toProto()
toString()
-
Method Details
-
getKmsKeyName
-
fromProtoOrNull
Returns aCustomerManagedEncryption
instance from the given proto, ornull
if the given proto is the default proto instance (i.e. there is no encryption config). -
toProto
-
equals
-
hashCode
public int hashCode() -
toString
-