2.12.0 (latest) 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 Encryption : IMessage<Encryption>, IEquatable<Encryption>, IDeepCloneable<Encryption>, IBufferMessage, IMessage

Reference documentation and code samples for the Transcoder v1 API class Encryption.

Encryption settings.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.Video.Transcoder.V1.dll

## Constructors

### Encryption()

    public Encryption()

### Encryption(Encryption)

    public Encryption(Encryption other)

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

## Properties

### Aes128

    public Encryption.Types.Aes128Encryption Aes128 { get; set; }

Configuration for AES-128 encryption.

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

### DrmSystems

    public Encryption.Types.DrmSystems DrmSystems { get; set; }

Required. DRM system(s) to use; at least one must be specified. If a
DRM system is omitted, it is considered disabled.

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

### EncryptionModeCase

    public Encryption.EncryptionModeOneofCase EncryptionModeCase { get; }

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

### Id

    public string Id { get; set; }

Required. Identifier for this set of encryption options.

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

### MpegCenc

    public Encryption.Types.MpegCommonEncryption MpegCenc { get; set; }

Configuration for MPEG Common Encryption (MPEG-CENC).

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

### SampleAes

    public Encryption.Types.SampleAesEncryption SampleAes { get; set; }

Configuration for SAMPLE-AES encryption.

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

### SecretManagerKeySource

    public Encryption.Types.SecretManagerSource SecretManagerKeySource { get; set; }

Keys are stored in Google Secret Manager.

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

### SecretSourceCase

    public Encryption.SecretSourceOneofCase SecretSourceCase { get; }

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