View Source GoogleApi.Eventarc.V1.Model.EventFilter (google_api_eventarc v0.13.0)

Filters events based on exact matches on the CloudEvents attributes.

Attributes

  • attribute (type: String.t, default: nil) - 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.
  • operator (type: String.t, default: nil) - 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.
  • value (type: String.t, default: nil) - Required. The value for the attribute.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Eventarc.V1.Model.EventFilter{
  attribute: String.t() | nil,
  operator: String.t() | nil,
  value: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.