Cloud Functions v2 API - Class EventFilter (1.2.0)

public sealed class EventFilter : IMessage<EventFilter>, IEquatable<EventFilter>, IDeepCloneable<EventFilter>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Functions v2 API class EventFilter.

Filters events based on exact matches on the CloudEvents attributes.

Inheritance

object > EventFilter

Namespace

GoogleCloudGoogle.Cloud.FunctionsV2

Assembly

Google.Cloud.Functions.V2.dll

Constructors

EventFilter()

public EventFilter()

EventFilter(EventFilter)

public EventFilter(EventFilter other)
Parameter
NameDescription
otherEventFilter

Properties

Attribute

public string Attribute { get; set; }

Required. The name of a CloudEvents attribute.

Property Value
TypeDescription
string

Operator

public string Operator { get; set; }

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.

Property Value
TypeDescription
string

Value

public string Value { get; set; }

Required. The value for the attribute.

Property Value
TypeDescription
string