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.
UseDatabaseEncryption
Use the same encryption configuration as the database. This is the
default option when
[encryption_config][google.spanner.admin.database.v1.CreateBackupEncryptionConfig]
is empty. For example, if the database is using
Customer_Managed_Encryption, the backup will be using the same Cloud
KMS key as the database.
[[["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."],[[["This page details the `EncryptionType` enum within the `Google.Cloud.Spanner.Admin.Database.V1` namespace, covering various versions of the .NET library."],["The latest version documented is `5.0.0-beta05`, with several previous versions available, including stable releases and older betas, all the way back to version `3.5.0`."],["The `EncryptionType` enum defines four fields: `CustomerManagedEncryption`, `GoogleDefaultEncryption`, `Unspecified`, and `UseDatabaseEncryption`, which dictate the type of encryption used for database backups."],["The `UseDatabaseEncryption` field is the default option if no encryption config is provided, which means it will use the same encryption as the database."],["The documentation indicates the assembly for these types is within the `Google.Cloud.Spanner.Admin.Database.V1.dll`."]]],[]]