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 of \u003ccode\u003eEventNotificationConfig\u003c/code\u003e is 2.2.0, which is available within the \u003ccode\u003eGoogle.Cloud.Iot.V1\u003c/code\u003e namespace, and previous versions are also available for access and usage.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eEventNotificationConfig\u003c/code\u003e is used to configure the forwarding of telemetry events, inheriting from \u003ccode\u003eSystem.Object\u003c/code\u003e and implementing several interfaces including \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 provides two constructors: a default constructor \u003ccode\u003eEventNotificationConfig()\u003c/code\u003e and an overload \u003ccode\u003eEventNotificationConfig(EventNotificationConfig other)\u003c/code\u003e for creating copies.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePubsubTopicName\u003c/code\u003e property, a string type, allows setting a Cloud Pub/Sub topic name, such as \u003ccode\u003eprojects/myProject/topics/deviceEvents\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSubfolderMatches\u003c/code\u003e property, also a string type, enables filtering of events based on matching subfolder names, but only for telemetry events, not for state changes.\u003c/p\u003e\n"]]],[],null,[]]