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 TypeMethodDescriptionbooleanstatic CustomerManagedEncryptionfromProtoOrNull(EncryptionConfig proto) Returns aCustomerManagedEncryptioninstance from the given proto, ornullif the given proto is the default proto instance (i.e. there is no encryption config).inthashCode()toProto()toString()
-
Method Details
-
getKmsKeyName
-
fromProtoOrNull
Returns aCustomerManagedEncryptioninstance from the given proto, ornullif the given proto is the default proto instance (i.e. there is no encryption config). -
toProto
-
equals
-
hashCode
public int hashCode() -
toString
-