# Cloud Dataplex v1 API - Enum EncryptionConfig.Types.EncryptionState (3.15.0)

3.15.0 (latest) 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 enum EncryptionConfig.Types.EncryptionState

Reference documentation and code samples for the Cloud Dataplex v1 API enum EncryptionConfig.Types.EncryptionState.

State of encryption of the databases when EncryptionConfig is created or
updated.

## Namespace

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

## Assembly

Google.Cloud.Dataplex.V1.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `Completed` | The encryption of data has completed successfully. |
| `Encrypting` | The encryption state of the database when the EncryptionConfig is created or updated. If the encryption fails, it is retried indefinitely and the state is shown as ENCRYPTING. |
| `Failed` | The encryption of data has failed. The state is set to FAILED when the encryption fails due to reasons like permission issues, invalid key etc. |
| `Unspecified` | State is not specified. |