Class CalendarTriggerBuilder

  • CalendarTriggerBuilder is used to build calendar triggers.

  • The create() method creates and returns the trigger.

  • The onEventUpdated() method specifies a trigger that fires when a calendar entry is created, updated, or deleted.

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 — The new trigger.


onEventUpdated()

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 2025-12-11 UTC.