Reference documentation and code samples for the Cloud Spanner V1 Client class EncryptionType.
Encryption types for the backup.
Protobuf type google.spanner.admin.database.v1.CopyBackupEncryptionConfig.EncryptionType
Methods
name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
ENCRYPTION_TYPE_UNSPECIFIED
Value: 0
Unspecified. Do not use.
Generated from protobuf enum ENCRYPTION_TYPE_UNSPECIFIED = 0;
USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION
Value: 1
This is the default option for CopyBackup when encryption_config is not specified.
For example, if the source backup is using Customer_Managed_Encryption
,
the backup will be using the same Cloud KMS key as the source backup.
Generated from protobuf enum USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION = 1;
GOOGLE_DEFAULT_ENCRYPTION
Value: 2
Use Google default encryption.
Generated from protobuf enum GOOGLE_DEFAULT_ENCRYPTION = 2;
CUSTOMER_MANAGED_ENCRYPTION
Value: 3
Use customer managed encryption. If specified, kms_key_name
must contain a valid Cloud KMS key.
Generated from protobuf enum CUSTOMER_MANAGED_ENCRYPTION = 3;