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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The latest version available is 5.0.0-beta05, while the current page's version is 4.1.0, with multiple other versions listed ranging from 3.5.0 to 4.6.0."],["The content details the `EncryptionType` enum within the `Google.Cloud.Spanner.Admin.Database.V1` namespace, specifically for the `CopyBackupEncryptionConfig` in the Spanner Database Administration v1 API."],["There are four encryption type options outlined, including `CustomerManagedEncryption`, `GoogleDefaultEncryption`, `Unspecified`, and `UseConfigDefaultOrBackupEncryption`, each with their own specific usage and implications."],["The `UseConfigDefaultOrBackupEncryption` option is the default behavior for `CopyBackup` if no specific encryption configuration is provided, and will follow the encryption method of the source backup."]]],[]]