TriggerMatchingCriteria

data class TriggerMatchingCriteria(val attribute: String, val operator: String? = null, val value: String)

Constructors

Link copied to clipboard
constructor(attribute: String, operator: String? = null, value: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Required. The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. All triggers MUST provide a filter for the 'type' attribute.

Link copied to clipboard
val operator: String? = null

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.

Link copied to clipboard

Required. The value for the attribute. See https://cloud.google.com/eventarc/docs/creating-triggers#trigger-gcloud for available values.