3.16.0 (latest) 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.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.0 2.1.0 2.0.0 1.0.0

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

Reference documentation and code samples for the Cloud Dataplex v1 API class EncryptionConfig.

A Resource designed to manage encryption configurations for customers to
support Customer Managed Encryption Keys (CMEK).

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.Dataplex.V1.dll

## Constructors

### EncryptionConfig()

    public EncryptionConfig()

### EncryptionConfig(EncryptionConfig)

    public EncryptionConfig(EncryptionConfig other)

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

## Properties

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. The time when the Encryption configuration was created.

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

### EnableMetastoreEncryption

    public bool EnableMetastoreEncryption { get; set; }

Optional. Represent the state of CMEK opt-in for metastore.

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

### EncryptionConfigName

    public EncryptionConfigName EncryptionConfigName { get; set; }

[EncryptionConfigName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.EncryptionConfigName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.EncryptionConfig.md.txt#Google_Cloud_Dataplex_V1_EncryptionConfig_Name) resource name property.

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

### EncryptionState

    public EncryptionConfig.Types.EncryptionState EncryptionState { get; set; }

Output only. The state of encryption of the databases.

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

### Etag

    public string Etag { get; set; }

Etag of the EncryptionConfig. This is a strong etag.

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

### FailureDetails

    public EncryptionConfig.Types.FailureDetails FailureDetails { get; set; }

Output only. Details of the failure if anything related to Cmek db fails.

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

### Key

    public string Key { get; set; }

Optional. If a key is chosen, it means that the customer is using CMEK.
If a key is not chosen, it means that the customer is using Google managed
encryption.

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

### Name

    public string Name { get; set; }

Identifier. The resource name of the EncryptionConfig.
Format:
organizations/{organization}/locations/{location}/encryptionConfigs/{encryption_config}
Global location is not supported.

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

### UpdateTime

    public Timestamp UpdateTime { get; set; }

Output only. The time when the Encryption configuration was last updated.

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