Class CalendarTriggerBuilder

CalendarTriggerBuilder

Builder for calendar triggers.

Methods

MethodReturn typeBrief description
create()TriggerCreates the trigger and returns it.
onEventUpdated()CalendarTriggerBuilderSpecifies a trigger that fires when a calendar entry is created, updated, or deleted.

Detailed documentation

create()

Creates the trigger and returns it.

Return

Trigger

Authorization

Scripts that use this method require authorization with one or more of the following scopes:

  • https://www.googleapis.com/auth/script.scriptapp

onEventUpdated()

Specifies a trigger that fires when a calendar entry is created, updated, or deleted.

Return

CalendarTriggerBuilder

Authorization

Scripts that use this method require authorization with one or more of the following scopes:

  • https://www.googleapis.com/auth/script.scriptapp

发送以下问题的反馈:

此网页
Apps Script
Apps Script
需要帮助?请访问我们的支持页面