class Google::Apis::EventarcV1beta1::MatchingCriteria
Matches events based on exact matches on the CloudEvents attributes.
Attributes
attribute[RW]
Required. The name of a CloudEvents attribute. Currently, only a subset of attributes can be specified. All triggers MUST provide a matching criteria for the 'type' attribute. Corresponds to the JSON property `attribute` @return [String]
value[RW]
Required. The value for the attribute. Corresponds to the JSON property `value` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/eventarc_v1beta1/classes.rb, line 450 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/eventarc_v1beta1/classes.rb, line 455 def update!(**args) @attribute = args[:attribute] if args.key?(:attribute) @value = args[:value] if args.key?(:value) end