Reference documentation and code samples for the Google Cloud Spanner Database Administration v1 API enum CopyBackupEncryptionConfig.Types.EncryptionType.
Use customer managed encryption. If specified, kms_key_name
must contain a valid Cloud KMS key.
GoogleDefaultEncryption
Use Google default encryption.
Unspecified
Unspecified. Do not use.
UseConfigDefaultOrBackupEncryption
This is the default option for [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup]
when [encryption_config][google.spanner.admin.database.v1.CopyBackupEncryptionConfig] 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["The latest version available is 5.0.0-beta05, while version 4.4.0 is the current context's version, and several versions are listed ranging from 3.5.0 upwards."],["This documentation provides reference information for the Google Cloud Spanner Database Administration v1 API's `CopyBackupEncryptionConfig.Types.EncryptionType` enum, detailing backup encryption types."],["There are four distinct encryption types available for backups: `CustomerManagedEncryption`, `GoogleDefaultEncryption`, `Unspecified`, and `UseConfigDefaultOrBackupEncryption`."],["The `UseConfigDefaultOrBackupEncryption` encryption type is the default option when a specific `encryption_config` isn't specified for CopyBackup, adopting the source backup's encryption method."]]],[]]