Class: Google::Apis::RunV1alpha1::TriggerFilter
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::TriggerFilter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/run_v1alpha1/classes.rb,
lib/google/apis/run_v1alpha1/representations.rb,
lib/google/apis/run_v1alpha1/representations.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Hash<String,String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TriggerFilter
constructor
A new instance of TriggerFilter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TriggerFilter
Returns a new instance of TriggerFilter.
5102 5103 5104 |
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 5102 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attributes ⇒ Hash<String,String>
Optional. Attributes filters events by exact match on event context attributes.
Each key in the map is compared with the equivalent key in the event context.
An event passes the filter if all values are equal to the specified values.
Nested context attributes are not supported as keys. Only string values are
supported. Note that this field is optional in knative. In fully managed, '
type' attribute is required due to different broker implementation.
Corresponds to the JSON property attributes
5100 5101 5102 |
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 5100 def attributes @attributes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5107 5108 5109 |
# File 'lib/google/apis/run_v1alpha1/classes.rb', line 5107 def update!(**args) @attributes = args[:attributes] if args.key?(:attributes) end |