Reference documentation and code samples for the Google Cloud Spanner Database Administration v1 API enum CreateBackupEncryptionConfig.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.
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-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eCreateBackupEncryptionConfig.Types.EncryptionType\u003c/code\u003e is 5.0.0-beta05.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation provides reference for the \u003ccode\u003eGoogle.Cloud.Spanner.Admin.Database.V1\u003c/code\u003e API enum, focusing on backup encryption types.\u003c/p\u003e\n"],["\u003cp\u003eThere are 4 encryption types available, including \u003ccode\u003eCustomerManagedEncryption\u003c/code\u003e, \u003ccode\u003eGoogleDefaultEncryption\u003c/code\u003e, \u003ccode\u003eUnspecified\u003c/code\u003e, and \u003ccode\u003eUseDatabaseEncryption\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers versions going as far back as 3.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUseDatabaseEncryption\u003c/code\u003e type is the default option when the encryption configuration is empty, meaning it will use the same key as the database.\u003c/p\u003e\n"]]],[],null,[]]