public sealed class EncryptionConfig : IMessage<EncryptionConfig>, IEquatable<EncryptionConfig>, IDeepCloneable<EncryptionConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the AI Platform Notebooks v1 API class EncryptionConfig.
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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation provides details for the \u003ccode\u003eEncryptionConfig\u003c/code\u003e class within the Google Cloud Notebooks v1 API, which is used to configure custom encryption keys for resources, including virtual machine disks.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eEncryptionConfig\u003c/code\u003e is 2.5.0, with several previous versions also documented, ranging back to version 1.0.0-beta04.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eEncryptionConfig\u003c/code\u003e implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, demonstrating its integration within the Protobuf framework.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eEncryptionConfig\u003c/code\u003e has one property \u003ccode\u003eKmsKey\u003c/code\u003e which is of type \u003ccode\u003estring\u003c/code\u003e that allows users to provide a customer-managed encryption key in the Cloud KMS resource format.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructor overloads, one default and one that takes an \u003ccode\u003eEncryptionConfig\u003c/code\u003e parameter for copying.\u003c/p\u003e\n"]]],[],null,[]]