Required. The Cloud KMS resource identifier of the customer managed
encryption key used to protect a resource. Has the form:
projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key.
The key needs to be in the same region as where the compute resource is
created.
[[["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-14 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eEncryptionSpec\u003c/code\u003e class in the Vertex AI v1beta1 API allows users to define customer-managed encryption key specifications for top-level resources.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1\u003c/code\u003e namespace and is implemented within the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eIt 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, supporting various functionalities like message handling, equality comparison, deep cloning, and buffered message operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEncryptionSpec\u003c/code\u003e class has a \u003ccode\u003eKmsKeyName\u003c/code\u003e property, which is a string that specifies the Cloud KMS resource identifier for the customer-managed encryption key.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default constructor \u003ccode\u003eEncryptionSpec()\u003c/code\u003e and one that takes another \u003ccode\u003eEncryptionSpec\u003c/code\u003e object as parameter, \u003ccode\u003eEncryptionSpec(EncryptionSpec other)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]