public sealed class EventNotificationConfig : IMessage<EventNotificationConfig>, IEquatable<EventNotificationConfig>, IDeepCloneable<EventNotificationConfig>, IBufferMessage, IMessage
The configuration for forwarding telemetry events.
A Cloud Pub/Sub topic name. For example,
projects/myProject/topics/deviceEvents.
Property Value
Type
Description
System.String
SubfolderMatches
public string SubfolderMatches { get; set; }
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"]],[["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 available for \u003ccode\u003eEventNotificationConfig\u003c/code\u003e is 2.2.0, with the current page detailing version 2.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eEventNotificationConfig\u003c/code\u003e is a class for forwarding telemetry events, implementing multiple interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors: a default constructor, \u003ccode\u003eEventNotificationConfig()\u003c/code\u003e, and a copy constructor, \u003ccode\u003eEventNotificationConfig(EventNotificationConfig other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eEventNotificationConfig\u003c/code\u003e includes two properties, \u003ccode\u003ePubsubTopicName\u003c/code\u003e which is a string for the cloud pub/sub topic name, and \u003ccode\u003eSubfolderMatches\u003c/code\u003e, a string to define the matching condition of subfolders for telemetry events.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for \u003ccode\u003eEventNotificationConfig\u003c/code\u003e is \u003ccode\u003eGoogle.Cloud.Iot.V1\u003c/code\u003e, and it's part of the \u003ccode\u003eGoogle.Cloud.Iot.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]