public sealed class NotificationConfig.Types.StreamingConfig : IMessage<NotificationConfig.Types.StreamingConfig>, IEquatable<NotificationConfig.Types.StreamingConfig>, IDeepCloneable<NotificationConfig.Types.StreamingConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Security Command Center v2 API class NotificationConfig.Types.StreamingConfig.
The config for streaming-based notifications, which send each event as soon
as it is detected.
Expression that defines the filter to apply across create/update events
of assets or findings as specified by the event type. The expression is a
list of zero or more restrictions combined via logical operators AND
and OR. Parentheses are supported, and OR has higher precedence than
AND.
Restrictions have the form <field> <operator> <value> and may have a
- character in front of them to indicate negation. The fields map to
those defined in the corresponding resource.
[[["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-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eNotificationConfig.Types.StreamingConfig\u003c/code\u003e class within the Security Command Center v2 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eStreamingConfig\u003c/code\u003e is a class designed for configuring streaming-based notifications that are dispatched immediately upon event detection.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eStreamingConfig\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple 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\u003e\u003ccode\u003eStreamingConfig\u003c/code\u003e includes a \u003ccode\u003eFilter\u003c/code\u003e property, which is a string that allows the user to set an expression to define the filter to apply across create/update events.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available, one is \u003ccode\u003eStreamingConfig()\u003c/code\u003e and the other one is \u003ccode\u003eStreamingConfig(NotificationConfig.Types.StreamingConfig other)\u003c/code\u003e, which allows to create an instance of this class.\u003c/p\u003e\n"]]],[],null,["# Security Command Center v2 API - Class NotificationConfig.Types.StreamingConfig (1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.NotificationConfig.Types.StreamingConfig)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.1.0/Google.Cloud.SecurityCenter.V2.NotificationConfig.Types.StreamingConfig)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.0.0/Google.Cloud.SecurityCenter.V2.NotificationConfig.Types.StreamingConfig) \n\n public sealed class NotificationConfig.Types.StreamingConfig : IMessage\u003cNotificationConfig.Types.StreamingConfig\u003e, IEquatable\u003cNotificationConfig.Types.StreamingConfig\u003e, IDeepCloneable\u003cNotificationConfig.Types.StreamingConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Security Command Center v2 API class NotificationConfig.Types.StreamingConfig.\n\nThe config for streaming-based notifications, which send each event as soon\nas it is detected. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e NotificationConfig.Types.StreamingConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[NotificationConfig](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.NotificationConfig)[Types](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.NotificationConfig.Types)[StreamingConfig](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.NotificationConfig.Types.StreamingConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[NotificationConfig](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.NotificationConfig)[Types](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.NotificationConfig.Types)[StreamingConfig](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.NotificationConfig.Types.StreamingConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[NotificationConfig](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.NotificationConfig)[Types](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.NotificationConfig.Types)[StreamingConfig](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.NotificationConfig.Types.StreamingConfig), [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.SecurityCenter.V2](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.SecurityCenter.V2.dll\n\nConstructors\n------------\n\n### StreamingConfig()\n\n public StreamingConfig()\n\n### StreamingConfig(StreamingConfig)\n\n public StreamingConfig(NotificationConfig.Types.StreamingConfig other)\n\nProperties\n----------\n\n### Filter\n\n public string Filter { get; set; }\n\nExpression that defines the filter to apply across create/update events\nof assets or findings as specified by the event type. The expression is a\nlist of zero or more restrictions combined via logical operators `AND`\nand `OR`. Parentheses are supported, and `OR` has higher precedence than\n`AND`.\n\nRestrictions have the form `\u003cfield\u003e \u003coperator\u003e \u003cvalue\u003e` and may have a\n`-` character in front of them to indicate negation. The fields map to\nthose defined in the corresponding resource.\n\nThe supported operators are:\n\n- `=` for all value types.\n- `\u003e`, `\u003c`, `\u003e=`, `\u003c=` for integer values.\n- `:`, meaning substring matching, for strings.\n\nThe supported value types are:\n\n- string literals in quotes.\n- integer literals without quotes.\n- boolean literals `true` and `false` without quotes."]]