Enum TriggerSource
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
TriggerSource
Tetikleyicinin etkinleştirilmesine neden olan etkinliğin kaynağını belirten bir listeleme.
Bir enum'u çağırmak için üst sınıfını, adını ve özelliğini çağırırsınız. Örneğin,
ScriptApp.TriggerSource.SPREADSHEETS
.
Özellikler
Mülk | Tür | Açıklama |
SPREADSHEETS | Enum | Google E-Tablolar, tetikleyicinin etkinleşmesine neden olur. |
CLOCK | Enum | Zamana dayalı bir etkinlik, tetikleyicinin etkinleştirilmesine neden olur. |
FORMS | Enum | Google Formlar, tetikleyicinin etkinleşmesine neden olur. |
DOCUMENTS | Enum | Google Dokümanlar tetikleyicinin etkinleşmesine neden olur. |
CALENDAR | Enum | Google Takvim, tetikleyicinin etkinleşmesine neden olur. |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-26 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-26 UTC."],[[["\u003cp\u003e\u003ccode\u003eTriggerSource\u003c/code\u003e is an enum used to identify the event source that activates a trigger.\u003c/p\u003e\n"],["\u003cp\u003eCalling an enum involves referencing its parent class, name, and specific property, for example, \u003ccode\u003eScriptApp.TriggerSource.SPREADSHEETS\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe properties of \u003ccode\u003eTriggerSource\u003c/code\u003e include \u003ccode\u003eSPREADSHEETS\u003c/code\u003e, \u003ccode\u003eCLOCK\u003c/code\u003e, \u003ccode\u003eFORMS\u003c/code\u003e, \u003ccode\u003eDOCUMENTS\u003c/code\u003e, and \u003ccode\u003eCALENDAR\u003c/code\u003e, indicating different event sources like Google Sheets, time-driven events, Google Forms, Google Docs, and Google Calendar, respectively.\u003c/p\u003e\n"]]],[],null,["# Enum TriggerSource\n\nTriggerSource\n\nAn enumeration denoting the source of the event that causes the trigger to fire.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nScriptApp.TriggerSource.SPREADSHEETS`. \n\n### Properties\n\n| Property | Type | Description |\n|----------------|--------|-------------------------------------------------|\n| `SPREADSHEETS` | `Enum` | Google Sheets causes the trigger to fire. |\n| `CLOCK` | `Enum` | A time-driven event causes the trigger to fire. |\n| `FORMS` | `Enum` | Google Forms causes the trigger to fire. |\n| `DOCUMENTS` | `Enum` | Google Docs causes the trigger to fire. |\n| `CALENDAR` | `Enum` | Google Calendar causes the trigger to fire. |"]]