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"]],[["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-04-17 UTC."],[[["The latest version of `EventNotificationConfig` is 2.2.0, which is available within the `Google.Cloud.Iot.V1` namespace, and previous versions are also available for access and usage."],["`EventNotificationConfig` is used to configure the forwarding of telemetry events, inheriting from `System.Object` and implementing several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class provides two constructors: a default constructor `EventNotificationConfig()` and an overload `EventNotificationConfig(EventNotificationConfig other)` for creating copies."],["The `PubsubTopicName` property, a string type, allows setting a Cloud Pub/Sub topic name, such as `projects/myProject/topics/deviceEvents`."],["The `SubfolderMatches` property, also a string type, enables filtering of events based on matching subfolder names, but only for telemetry events, not for state changes."]]],[]]