public sealed class EventNotificationConfig : IMessage<EventNotificationConfig>, IEquatable<EventNotificationConfig>, IDeepCloneable<EventNotificationConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud IoT v1 API class EventNotificationConfig.
The configuration for forwarding telemetry events.
If the subfolder name matches this string exactly, this configuration will
be used. The string must not include the leading '/' character. If empty,
all strings are matched. This field is used only for telemetry events;
subfolders are not supported for state changes.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eEventNotificationConfig\u003c/code\u003e class is 2.2.0, and the class is part of the Google.Cloud.Iot.V1 namespace within the Google.Cloud.Iot.V1.dll assembly.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eEventNotificationConfig\u003c/code\u003e is designed for configuring the forwarding of telemetry events, inheriting from object and implementing multiple interfaces like IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"],["\u003cp\u003eThis class has two constructors, one default and another that accepts an \u003ccode\u003eEventNotificationConfig\u003c/code\u003e object, offering flexibility in creating instances.\u003c/p\u003e\n"],["\u003cp\u003eIt includes two key properties: \u003ccode\u003ePubsubTopicName\u003c/code\u003e, which is a string defining the Cloud Pub/Sub topic, and \u003ccode\u003eSubfolderMatches\u003c/code\u003e, which dictates the subfolder matching criteria for telemetry event forwarding.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides links to the different versions, starting from version 1.0.0 up to 2.2.0.\u003c/p\u003e\n"]]],[],null,["# Cloud IoT v1 API - Class EventNotificationConfig (2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1.EventNotificationConfig)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/2.1.0/Google.Cloud.Iot.V1.EventNotificationConfig)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/2.0.0/Google.Cloud.Iot.V1.EventNotificationConfig)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/1.2.0/Google.Cloud.Iot.V1.EventNotificationConfig)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/1.1.0/Google.Cloud.Iot.V1.EventNotificationConfig)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/1.0.0/Google.Cloud.Iot.V1.EventNotificationConfig) \n\n public sealed class EventNotificationConfig : IMessage\u003cEventNotificationConfig\u003e, IEquatable\u003cEventNotificationConfig\u003e, IDeepCloneable\u003cEventNotificationConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud IoT v1 API class EventNotificationConfig.\n\nThe configuration for forwarding telemetry events. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e EventNotificationConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[EventNotificationConfig](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1.EventNotificationConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[EventNotificationConfig](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1.EventNotificationConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[EventNotificationConfig](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1.EventNotificationConfig), [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.Iot.V1](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Iot.V1.dll\n\nConstructors\n------------\n\n### EventNotificationConfig()\n\n public EventNotificationConfig()\n\n### EventNotificationConfig(EventNotificationConfig)\n\n public EventNotificationConfig(EventNotificationConfig other)\n\nProperties\n----------\n\n### PubsubTopicName\n\n public string PubsubTopicName { get; set; }\n\nA Cloud Pub/Sub topic name. For example,\n`projects/myProject/topics/deviceEvents`.\n\n### SubfolderMatches\n\n public string SubfolderMatches { get; set; }\n\nIf the subfolder name matches this string exactly, this configuration will\nbe used. The string must not include the leading '/' character. If empty,\nall strings are matched. This field is used only for telemetry events;\nsubfolders are not supported for state changes."]]