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-20 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eEncryptionSpec\u003c/code\u003e class within the Google Cloud AI Platform v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEncryptionSpec\u003c/code\u003e class is used to manage customer-managed encryption keys for protecting resources, represented in the format: \u003ccode\u003eprojects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the documentation is for version 3.22.0, with a listing of versions available from 1.0.0 to 3.22.0, showcasing the version history of \u003ccode\u003eEncryptionSpec\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEncryptionSpec\u003c/code\u003e class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, alongside inherited members like \u003ccode\u003eGetHashCode\u003c/code\u003e and \u003ccode\u003eGetType\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKmsKeyName\u003c/code\u003e property within the \u003ccode\u003eEncryptionSpec\u003c/code\u003e class is required, denoting the specific Cloud KMS resource identifier for the customer-managed encryption key that protects the resource.\u003c/p\u003e\n"]]],[],null,[]]