2.6.0 (latest) 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.2.0 1.1.0 1.0.0

    public sealed class AlloyDbSettings.Types.EncryptionConfig : IMessage<AlloyDbSettings.Types.EncryptionConfig>, IEquatable<AlloyDbSettings.Types.EncryptionConfig>, IDeepCloneable<AlloyDbSettings.Types.EncryptionConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Database Migration v1 API class AlloyDbSettings.Types.EncryptionConfig.

EncryptionConfig describes the encryption config of a cluster that is
encrypted with a CMEK (customer-managed encryption key).

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[AlloyDbSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types.md.txt)[EncryptionConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types.EncryptionConfig.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AlloyDbSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types.md.txt)[EncryptionConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types.EncryptionConfig.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[AlloyDbSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types.md.txt)[EncryptionConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.AlloyDbSettings.Types.EncryptionConfig.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.CloudDms.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.md.txt)

## Assembly

Google.Cloud.CloudDms.V1.dll

## Constructors

### EncryptionConfig()

    public EncryptionConfig()

### EncryptionConfig(EncryptionConfig)

    public EncryptionConfig(AlloyDbSettings.Types.EncryptionConfig other)

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

## Properties

### KmsKeyName

    public string KmsKeyName { get; set; }

The fully-qualified resource name of the KMS key.
Each Cloud KMS key is regionalized and has the following format:
projects/\[PROJECT\]/locations/\[REGION\]/keyRings/\[RING\]/cryptoKeys/\[KEY_NAME\]

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