1.16.0 (latest) 1.15.0 1.14.0 1.13.0 1.12.0 1.11.0 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the AlloyDB v1 API class EncryptionInfo.

EncryptionInfo describes the encryption information of a cluster or a backup.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.AlloyDb.V1.dll

## Constructors

### EncryptionInfo()

    public EncryptionInfo()

### EncryptionInfo(EncryptionInfo)

    public EncryptionInfo(EncryptionInfo other)

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

## Properties

### EncryptionType

    public EncryptionInfo.Types.Type EncryptionType { get; set; }

Output only. Type of encryption.

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

### KmsKeyVersions

    public RepeatedField<string> KmsKeyVersions { get; }

Output only. Cloud KMS key versions that are being used to protect the
database or the backup.

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

### KmsKeyVersionsAsCryptoKeyVersionNames

    public ResourceNameList<CryptoKeyVersionName> KmsKeyVersionsAsCryptoKeyVersionNames { get; }

[CryptoKeyVersionName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.CryptoKeyVersionName.md.txt)-typed view over the [KmsKeyVersions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.EncryptionInfo.md.txt#Google_Cloud_AlloyDb_V1_EncryptionInfo_KmsKeyVersions) resource name property.

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