Class CalendarTriggerBuilder
CalendarTriggerBuilder
Builder for calendar triggers.
Detailed documentation
create()
Creates the trigger and returns it.
Return
Trigger
— The new trigger.
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 2024-12-02 UTC.
[null,null,["Last updated 2024-12-02 UTC."],[[["`CalendarTriggerBuilder` helps in building triggers specifically for Google Calendar events."],["It offers methods like `create()` to finalize the trigger and `onEventUpdated()` to define the trigger activation upon calendar event changes (creation, update, or deletion)."],["Triggers built using `CalendarTriggerBuilder` fire when a calendar entry is created, updated, or deleted."]]],["The `CalendarTriggerBuilder` creates calendar triggers. The `create()` method generates and returns a new trigger. The `onEventUpdated()` method defines a trigger that activates when a calendar entry is added, modified, or removed, and this method returns the builder itself, allowing for method chaining. Both return the trigger or the builder itself.\n"]]