Enum EventType

EventType

An enumeration denoting the type of triggered event.

To call an enum, you call its parent class, name, and property. For example, ScriptApp.EventType.CLOCK.

Properties

PropertyTypeDescription
CLOCKEnumThe trigger fires once the time-driven event reaches a specific time.
ON_OPENEnumThe trigger fires once the user opens the Google Docs, Sheets, or Forms file.
ON_EDITEnumThe trigger fires once the user edits the Google Sheets file (for example, by entering a new value into a cell, which counts as an edit instead of a change).
ON_FORM_SUBMITEnumThe trigger fires once the user responds to a Google Form. This trigger is available either in the Google Form itself or in the Google Sheets file that the form sends its responses to.
ON_CHANGEEnumThe trigger fires once the user changes the Google Sheets file (for example, by adding a row, which counts as a change instead of an edit).
ON_EVENT_UPDATEDEnumThe trigger fires once an event gets created, updated, or deleted on the specified Google Calendar.