- [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/insights/reference/rest/v1alpha1/EncryptionSpec.md.txt#SCHEMA_REPRESENTATION)

A customer-managed encryption key specification that can be applied to all created resources (e.g. `Conversation`).

| JSON representation |
|---|
| ``` { "name": string, "kmsKey": string, "satisfiesPzi": boolean, "satisfiesPzs": boolean } ``` |

| 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 our default 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}` |
| `satisfiesPzi` | `boolean` Output only. Whether this resource is zone isolated. |
| `satisfiesPzs` | `boolean` Output only. Whether this resource is zone separated. |