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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eGoogleChannelConfig\u003c/code\u003e API class is 2.6.0, part of the Eventarc v1 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGoogleChannelConfig\u003c/code\u003e allows users to specify a custom managed encryption key for first-party event data protection.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCryptoKeyName\u003c/code\u003e property enables setting the resource name of a KMS crypto key for data encryption and decryption.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property of \u003ccode\u003eGoogleChannelConfig\u003c/code\u003e is required and represents the resource name of the config, following a specific format.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateTime\u003c/code\u003e property will provide the last time the resource was updated.\u003c/p\u003e\n"]]],[],null,["# Eventarc v1 API - Class GoogleChannelConfig (2.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.0 (latest)](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.GoogleChannelConfig)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.5.0/Google.Cloud.Eventarc.V1.GoogleChannelConfig)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.4.0/Google.Cloud.Eventarc.V1.GoogleChannelConfig)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.3.0/Google.Cloud.Eventarc.V1.GoogleChannelConfig)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.2.0/Google.Cloud.Eventarc.V1.GoogleChannelConfig)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.1.0/Google.Cloud.Eventarc.V1.GoogleChannelConfig)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.0.0/Google.Cloud.Eventarc.V1.GoogleChannelConfig)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.3.0/Google.Cloud.Eventarc.V1.GoogleChannelConfig)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.2.0/Google.Cloud.Eventarc.V1.GoogleChannelConfig)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.1.0/Google.Cloud.Eventarc.V1.GoogleChannelConfig)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.0.0/Google.Cloud.Eventarc.V1.GoogleChannelConfig) \n\n public sealed class GoogleChannelConfig : IMessage\u003cGoogleChannelConfig\u003e, IEquatable\u003cGoogleChannelConfig\u003e, IDeepCloneable\u003cGoogleChannelConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Eventarc v1 API class GoogleChannelConfig.\n\nA GoogleChannelConfig is a resource that stores the custom settings\nrespected by Eventarc first-party triggers in the matching region.\nOnce configured, first-party event data will be protected\nusing the specified custom managed encryption key instead of Google-managed\nencryption keys. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GoogleChannelConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GoogleChannelConfig](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.GoogleChannelConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GoogleChannelConfig](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.GoogleChannelConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GoogleChannelConfig](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.GoogleChannelConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Eventarc.V1](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Eventarc.V1.dll\n\nConstructors\n------------\n\n### GoogleChannelConfig()\n\n public GoogleChannelConfig()\n\n### GoogleChannelConfig(GoogleChannelConfig)\n\n public GoogleChannelConfig(GoogleChannelConfig other)\n\nProperties\n----------\n\n### CryptoKeyName\n\n public string CryptoKeyName { get; set; }\n\nOptional. Resource name of a KMS crypto key (managed by the user) used to\nencrypt/decrypt their event data.\n\nIt must match the pattern\n`projects/*/locations/*/keyRings/*/cryptoKeys/*`.\n\n### CryptoKeyNameAsCryptoKeyName\n\n public CryptoKeyName CryptoKeyNameAsCryptoKeyName { get; set; }\n\n[CryptoKeyName](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.CryptoKeyName)-typed view over the [CryptoKeyName](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.GoogleChannelConfig#Google_Cloud_Eventarc_V1_GoogleChannelConfig_CryptoKeyName) resource name property.\n\n### GoogleChannelConfigName\n\n public GoogleChannelConfigName GoogleChannelConfigName { get; set; }\n\n[GoogleChannelConfigName](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.GoogleChannelConfigName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.GoogleChannelConfig#Google_Cloud_Eventarc_V1_GoogleChannelConfig_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The resource name of the config. Must be in the format of,\n`projects/{project}/locations/{location}/googleChannelConfig`.\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nOutput only. The last-modified time."]]