A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation).
JSON representation
{"name": string,"kmsKey": string}
Fields
name
string
Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec
kmsKey
string
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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[[["\u003cp\u003eCustomer-managed encryption keys can be applied to all created resources, such as Conversations.\u003c/p\u003e\n"],["\u003cp\u003eThe encryption key specification is represented in JSON format with \u003ccode\u003ename\u003c/code\u003e and \u003ccode\u003ekmsKey\u003c/code\u003e fields.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ename\u003c/code\u003e is an immutable string representing the resource name of the encryption key specification, following a specific format.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ekmsKey\u003c/code\u003e is a required string indicating the customer-managed encryption key used to secure resources, or it will default to the Google encryption key.\u003c/p\u003e\n"],["\u003cp\u003eOnly keys in the same location as the resource are allowed for encryption.\u003c/p\u003e\n"]]],[],null,[]]