Class CalendarTriggerBuilder

  • CalendarTriggerBuilder is used to build calendar triggers.

  • Thecreate() method creates and returns the trigger.

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

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


onEventUpdated()

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

Return

CalendarTriggerBuilder — ThisCalendarTriggerBuilder, for chaining.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-11 UTC.