public sealed class EventFilter : IMessage<EventFilter>, IEquatable<EventFilter>, IDeepCloneable<EventFilter>, IBufferMessage, IMessage
Filters events based on exact matches on the CloudEvents attributes.
Inheritance
System.Object > EventFilterImplements
IMessage<EventFilter>, IEquatable<EventFilter>, IDeepCloneable<EventFilter>, IBufferMessage, IMessageNamespace
Google.Cloud.Eventarc.V1Assembly
Google.Cloud.Eventarc.V1.dll
Constructors
EventFilter()
public EventFilter()
EventFilter(EventFilter)
public EventFilter(EventFilter other)
Parameter | |
---|---|
Name | Description |
other | EventFilter |
Properties
Attribute
public string Attribute { get; set; }
Required. The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering.
All triggers MUST provide a filter for the 'type' attribute.
Property Value | |
---|---|
Type | Description |
String |
Value
public string Value { get; set; }
Required. The value for the attribute.
Property Value | |
---|---|
Type | Description |
String |