2.21.0 (latest) 2.20.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.1 2.1.0 2.0.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class EncryptionSpec : IMessage<EncryptionSpec>, IEquatable<EncryptionSpec>, IDeepCloneable<EncryptionSpec>, IBufferMessage, IMessage

Reference documentation and code samples for the Contact Center AI Insights v1 API class EncryptionSpec.

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

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> EncryptionSpec

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[EncryptionSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.EncryptionSpec.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[EncryptionSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.EncryptionSpec.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[EncryptionSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.EncryptionSpec.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.ContactCenterInsights.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.md.txt)

## Assembly

Google.Cloud.ContactCenterInsights.V1.dll

## Constructors

### EncryptionSpec()

    public EncryptionSpec()

### EncryptionSpec(EncryptionSpec)

    public EncryptionSpec(EncryptionSpec other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `EncryptionSpec` |

## Properties

### EncryptionSpecName

    public EncryptionSpecName EncryptionSpecName { get; set; }

[EncryptionSpecName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.EncryptionSpecName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.EncryptionSpec.md.txt#Google_Cloud_ContactCenterInsights_V1_EncryptionSpec_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `EncryptionSpecName` |   |

### KmsKey

    public string KmsKey { get; set; }

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}`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Name

    public string Name { get; set; }

Immutable. The resource name of the encryption key specification resource.
Format:
projects/{project}/locations/{location}/encryptionSpec

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |