EventFilter class final
Filters events based on exact matches on the CloudEvents attributes.
- Inheritance
-
- Object
- ProtoMessage
- EventFilter
Constructors
- EventFilter({required String attribute, required String value, String operator = ''})
- EventFilter.fromJson(Object? j)
-
factory
Properties
- attribute → String
-
Required. The name of a CloudEvents attribute.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- operator → String
-
Optional. The operator used for matching the events with the value of the
filter. If not specified, only events that have an exact key-value pair
specified in the filter are matched. The only allowed value is
match-path-pattern.final - qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
Required. The value for the attribute.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String