public sealed class EncryptionConfig : IMessage<EncryptionConfig>, IEquatable<EncryptionConfig>, IDeepCloneable<EncryptionConfig>, IBufferMessage, IMessage
Represents a custom encryption key configuration that can be applied to
a resource. This will encrypt all disks in Virtual Machine.
The Cloud KMS resource identifier of the customer-managed encryption key
used to protect a resource, such as a disks. It has the following
format:
projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{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."],[[["The latest version available for `EncryptionConfig` is 2.5.0, with previous versions dating back to 1.0.0-beta04."],["`EncryptionConfig` is a sealed class in the `Google.Cloud.Notebooks.V1` namespace used to configure custom encryption keys for resources."],["It implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["`EncryptionConfig` contains a property `KmsKey`, a string, that holds the identifier for the customer-managed encryption key used to protect resources, such as disks."],["The class can be constructed with no arguments or using an existing `EncryptionConfig` object as an argument."]]],[]]