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 details the \u003ccode\u003eEncryptionSpec\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1\u003c/code\u003e namespace, representing a customer-managed encryption key for top-level resources.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for this class is 3.22.0, with numerous earlier versions ranging from 3.21.0 down to 1.0.0 that can be referenced.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEncryptionSpec\u003c/code\u003e class inherits from \u003ccode\u003eObject\u003c/code\u003e and implements \u003ccode\u003eIMessage<EncryptionSpec>\u003c/code\u003e, \u003ccode\u003eIEquatable<EncryptionSpec>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<EncryptionSpec>\u003c/code\u003e, \u003ccode\u003eIBufferMessage\u003c/code\u003e, and \u003ccode\u003eIMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eEncryptionSpec\u003c/code\u003e include the \u003ccode\u003eKmsKeyName\u003c/code\u003e, which is a string and represents the Cloud KMS resource identifier for the encryption key, which must be in the same region as the resource.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for \u003ccode\u003eEncryptionSpec\u003c/code\u003e, a default constructor, and one that takes another \u003ccode\u003eEncryptionSpec\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,[]]