Class: Google::Apis::RunV1alpha1::TriggerFilter
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::TriggerFilter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/run_v1alpha1/classes.rb,
generated/google/apis/run_v1alpha1/representations.rb,
generated/google/apis/run_v1alpha1/representations.rb
Instance Attribute Summary collapse
-
#source_and_type ⇒ Google::Apis::RunV1alpha1::TriggerFilterSourceAndType
TriggerFilterSourceAndType filters events based on exact matches on the cloud event's type and source attributes.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TriggerFilter
constructor
A new instance of TriggerFilter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TriggerFilter
Returns a new instance of TriggerFilter
4330 4331 4332 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4330 def initialize(**args) update!(**args) end |
Instance Attribute Details
#source_and_type ⇒ Google::Apis::RunV1alpha1::TriggerFilterSourceAndType
TriggerFilterSourceAndType filters events based on exact matches on the cloud
event's type and source attributes. Only exact matches will pass the filter.
Corresponds to the JSON property sourceAndType
4328 4329 4330 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4328 def source_and_type @source_and_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4335 4336 4337 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4335 def update!(**args) @source_and_type = args[:source_and_type] if args.key?(:source_and_type) end |