Enum TriggerSource
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
트리거소스
트리거가 실행되는 이벤트의 소스를 나타내는 열거형입니다.
enum을 호출하려면 상위 클래스, 이름, 속성을 호출합니다. 예를 들면
ScriptApp.TriggerSource.SPREADSHEETS
입니다.
속성
속성 | 유형 | 설명 |
SPREADSHEETS | Enum | Google Sheets로 인해 트리거가 실행됩니다. |
CLOCK | Enum | 시간 기반 이벤트로 인해 트리거가 실행됩니다. |
FORMS | Enum | Google Forms에서 트리거가 실행됩니다. |
DOCUMENTS | Enum | Google Docs로 인해 트리거가 실행됩니다. |
CALENDAR | Enum | Google Calendar에서 트리거가 실행됩니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 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. |"]]