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\u003eThe \u003ccode\u003eEncryptionConfig\u003c/code\u003e class in the AI Platform Notebooks v1 API allows users to configure custom encryption keys for resources, including virtual machine disks.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.Notebooks.V1\u003c/code\u003e namespace and is implemented within the \u003ccode\u003eGoogle.Cloud.Notebooks.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEncryptionConfig\u003c/code\u003e class implements multiple interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eIt provides a \u003ccode\u003eKmsKey\u003c/code\u003e property, a string representing the Cloud KMS resource identifier, to specify the customer-managed encryption key.\u003c/p\u003e\n"],["\u003cp\u003eThe available versions of the \u003ccode\u003eEncryptionConfig\u003c/code\u003e class range from version 1.0.0-beta04 to the latest version 2.5.0, each with its own documentation.\u003c/p\u003e\n"]]],[],null,[]]