public sealed class CopyBackupEncryptionConfig : IMessage<CopyBackupEncryptionConfig>, IEquatable<CopyBackupEncryptionConfig>, IDeepCloneable<CopyBackupEncryptionConfig>, IBufferMessage, IMessage
Optional. The Cloud KMS key that will be used to protect the backup.
This field should be set only when
[encryption_type][google.spanner.admin.database.v1.CopyBackupEncryptionConfig.encryption_type] is
CUSTOMER_MANAGED_ENCRYPTION. Values are of the form
projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>.
[[["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 webpage details the `CopyBackupEncryptionConfig` class within the `Google.Cloud.Spanner.Admin.Database.V1` namespace, specifically version 4.0.0 of the .NET library, with the latest version being 5.0.0-beta05."],["The `CopyBackupEncryptionConfig` class is used to define the encryption settings for a copied backup in Google Cloud Spanner, and it inherits from the base object class while implementing several interfaces such as `IMessage`, `IEquatable`, and `IDeepCloneable`."],["The class provides properties such as `EncryptionType`, which is a required field specifying the encryption type of the backup, and `KmsKeyName`, an optional field for specifying a Cloud KMS key for customer-managed encryption."],["There are two constructors available for the `CopyBackupEncryptionConfig` class: a default constructor and a copy constructor, allowing object creation from nothing or an existing `CopyBackupEncryptionConfig` object."],["The documentation lists various earlier versions of the `CopyBackupEncryptionConfig` class, ranging from 3.5.0 up to 5.0.0-beta05, providing historical context for the evolution of this class."]]],[]]