eventType property

String? eventType
getter/setter pair

EventType allows the user to explicitly set the type of event to which this BuildTrigger should respond.

This field will be validated against the rest of the configuration if it is set. Possible string values are:

  • "EVENT_TYPE_UNSPECIFIED" : EVENT_TYPE_UNSPECIFIED event_types are ignored.
  • "REPO" : REPO corresponds to the supported VCS integrations.
  • "WEBHOOK" : WEBHOOK corresponds to webhook triggers.
  • "PUBSUB" : PUBSUB corresponds to pubsub triggers.
  • "MANUAL" : MANUAL corresponds to manual-only invoked triggers.

Implementation

core.String? eventType;