2.9.0 (latest) 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.3.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the Eventarc v1 API class GoogleChannelConfig.

A GoogleChannelConfig is a resource that stores the custom settings
respected by Eventarc first-party triggers in the matching region.
Once configured, first-party event data will be protected
using the specified custom managed encryption key instead of Google-managed
encryption keys.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.Eventarc.V1.dll

## Constructors

### GoogleChannelConfig()

    public GoogleChannelConfig()

### GoogleChannelConfig(GoogleChannelConfig)

    public GoogleChannelConfig(GoogleChannelConfig other)

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

## Properties

### CryptoKeyName

    public string CryptoKeyName { get; set; }

Optional. Resource name of a KMS crypto key (managed by the user) used to
encrypt/decrypt their event data.

It must match the pattern
`projects/*/locations/*/keyRings/*/cryptoKeys/*`.

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

### CryptoKeyNameAsCryptoKeyName

    public CryptoKeyName CryptoKeyNameAsCryptoKeyName { get; set; }

[CryptoKeyName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.CryptoKeyName.md.txt)-typed view over the [CryptoKeyName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.GoogleChannelConfig.md.txt#Google_Cloud_Eventarc_V1_GoogleChannelConfig_CryptoKeyName) resource name property.

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

### GoogleChannelConfigName

    public GoogleChannelConfigName GoogleChannelConfigName { get; set; }

[GoogleChannelConfigName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.GoogleChannelConfigName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.GoogleChannelConfig.md.txt#Google_Cloud_Eventarc_V1_GoogleChannelConfig_Name) resource name property.

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

### Labels

    public MapField<string, string> Labels { get; }

Optional. Resource labels.

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

### Name

    public string Name { get; set; }

Required. The resource name of the config. Must be in the format of,
`projects/{project}/locations/{location}/googleChannelConfig`.
In API responses, the config name always includes the projectID, regardless
of whether the projectID or projectNumber was provided.

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

### UpdateTime

    public Timestamp UpdateTime { get; set; }

Output only. The last-modified time.

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