Class: Google::Cloud::Eventarc::V1::EventFilter
- Inherits:
-
Object
- Object
- Google::Cloud::Eventarc::V1::EventFilter
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/eventarc/v1/trigger.rb
Overview
Filters events based on exact matches on the CloudEvents attributes.
Instance Attribute Summary collapse
-
#attribute ⇒ ::String
Required.
-
#operator ⇒ ::String
Optional.
-
#value ⇒ ::String
Required.
Instance Attribute Details
#attribute ⇒ ::String
Returns Required. The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. You can retrieve a specific provider's supported event types.
All triggers MUST provide a filter for the 'type' attribute.
133 134 135 136 |
# File 'proto_docs/google/cloud/eventarc/v1/trigger.rb', line 133 class EventFilter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#operator ⇒ ::String
Returns 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 allowed values are path_pattern
and match-path-pattern
. path_pattern
is only allowed for GCFv1
triggers.
133 134 135 136 |
# File 'proto_docs/google/cloud/eventarc/v1/trigger.rb', line 133 class EventFilter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#value ⇒ ::String
Returns Required. The value for the attribute.
133 134 135 136 |
# File 'proto_docs/google/cloud/eventarc/v1/trigger.rb', line 133 class EventFilter include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |