Enum TriggerSource | Apps Script | Google for Developers (original) (raw)
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 the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-02 UTC.