Enum TriggerSource Stay organized with collections Save and categorize content based on your preferences.
TriggerSource
An enumeration denoting the source of the event that causes the trigger to fire.
To call an enum, you call its parent class, name, and property. For example,ScriptApp.TriggerSource.SPREADSHEETS.
Properties
| Property | Type | Description |
|---|---|---|
SPREADSHEETS | Enum | Google Sheets causes the trigger to fire. |
CLOCK | Enum | A time-driven event causes the trigger to fire. |
FORMS | Enum | Google Forms causes the trigger to fire. |
DOCUMENTS | Enum | Google Docs causes the trigger to fire. |
CALENDAR | Enum | Google Calendar causes the trigger to fire. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-11 UTC.