Required. The name of customer-managed encryption key that is used to
secure a resource and its sub-resources. If empty, the resource is secured
by the default Google encryption key. Only the key in the same location as
this resource is allowed to be used for encryption. Format:
projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}
[[["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\u003eEncryptionSpec\u003c/code\u003e class in the Google Cloud Dialogflow v2beta1 API provides a way to define customer-managed encryption key specifications for resources like conversations.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in data management and serialization.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEncryptionSpec\u003c/code\u003e allows you to use a customer-managed encryption key, by providing the KmsKey property, or to rely on the default Google encryption key if left empty.\u003c/p\u003e\n"],["\u003cp\u003eIt has a Name property for the resource name of the encryption key, and a EncryptionSpecName property for a typed view of the resource name.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors, the default constructor and a constructor that accepts another EncryptionSpec object as a parameter, to be copied.\u003c/p\u003e\n"]]],[],null,[]]