---
title: "GET /v1/projects/{projectsId}/locations/{locationsId}/encryptionSpec"
method: GET
path: "/v1/projects/{projectsId}/locations/{locationsId}/encryptionSpec"
tags: ["projects"]
---

# GET /v1/projects/{projectsId}/locations/{locationsId}/encryptionSpec

`GET /v1/projects/{projectsId}/locations/{locationsId}/encryptionSpec`

## Request

- Base URL: `https://contactcenterinsights.googleapis.com`
- URL: `https://contactcenterinsights.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/encryptionSpec`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/cloud-platform`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Gets location-level encryption key specification.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required

## Response `200`

Successful response

- GoogleCloudContactcenterinsightsV1EncryptionSpec: A customer-managed encryption key specification that can be applied to all created resources (e.g. `Conversation`).
  - `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}`
  - `name` string: Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec
  - `satisfiesPzi` boolean: Output only. Whether this resource is zone isolated.
  - `satisfiesPzs` boolean: Output only. Whether this resource is zone separated.

---

[API](https://skmtc.dev/google/apis/contactcenterinsights.md) - [All operations](https://skmtc.dev/google/apis/contactcenterinsights/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/contactcenterinsights/revisions/895c3ce55ea0?raw)
