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.

CalendarTriggerBuilder

Builder for calendar triggers.

Methods

MethodReturn typeBrief description
create() Trigger Creates the trigger and returns it.
onEventUpdated() CalendarTriggerBuilder Specifies 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 — This CalendarTriggerBuilder , for chaining.

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.