Update a Google Calendar event.

yaml
type: "io.kestra.plugin.googleworkspace.calendar.UpdateEvent"
yaml
  id: googleworkspace_calendar_update_event
  namespace: company.team

  tasks:
    - id: update_event
      type: io.kestra.plugin.googleworkspace.calendar.UpdateEvent
      serviceAccount: "{{ secret('GCP_SERVICE_ACCOUNT_JSON') }}"
      calendarId: primary
      eventId: "abcdef123456"
      patch: true
      sendUpdates: externalOnly
      summary: "Weekly standup (rescheduled)"
      startTime:
        dateTime: "2025-08-12T10:00:00+05:30"
        timeZone: "Asia/Kolkata"
      endTime:
        dateTime: "2025-08-12T10:30:00+05:30"
        timeZone: "Asia/Kolkata"
      attendees:
        - email: [email protected]
        - email: [email protected]
Properties

Calendar ID

Event ID

Replace attendees with this list.

Description

New end time

Location (free-form)

Default true

Use PATCH (partial) when true, or UPDATE (replace) when false.

Default 120

The read timeout for the request (in seconds)

SubType string
Default ["https://www.googleapis.com/auth/calendar"]

The GCP scopes to used

Default none

Send update emails: all | externalOnly | none.

The GCP service account key

New start time

Event status: confirmed | tentative | cancelled

Title

Display name of the attendee

Email of the attendee

Time of the event in the ISO 8601 Datetime format, for example, 2024-11-28T09: 00: 00-07: 00

Timezone associated with the dateTime, for example, America/Los_Angeles