Class: Google::Cloud::Functions::V2::EventFilter

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/functions/v2/functions.rb

Overview

Filters events based on exact matches on the CloudEvents attributes.

Instance Attribute Summary collapse

Instance Attribute Details

#attribute::String

Returns Required. The name of a CloudEvents attribute.

Returns:

  • (::String)

    Required. The name of a CloudEvents attribute.



682
683
684
685
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 682

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 only allowed value is match-path-pattern.

Returns:

  • (::String)

    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.



682
683
684
685
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 682

class EventFilter
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#value::String

Returns Required. The value for the attribute.

Returns:

  • (::String)

    Required. The value for the attribute.



682
683
684
685
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 682

class EventFilter
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end