Insert an event into Google Calendar.
yaml
type: "io.kestra.plugin.googleworkspace.calendar.insertevent"yaml
id: googleworkspace_calendar_insert_event
namespace: company.team
tasks:
- id: insert_event
type: io.kestra.plugin.googleworkspace.calendar.InsertEvent
serviceAccount: "{{ secret('GCP_SERVICE_ACCOUNT_JSON') }}"
calendarId: primary
summary: Sample Event
description: This is a sample event from Kestra
location: Thane, Mumbai
startTime:
dateTime: "2024-11-28T09:00:00+05:30"
timeZone: "Asia/Calcutta"
endTime:
dateTime: "2024-11-28T10:00:00+05:30"
timeZone: "Asia/Calcutta"
creator:
email: myself@gmail.com
Calendar ID
End time of the event
Start time of the event
Title of the event
Creator of the event
Description of the event
Geographic location of the event as free-form text
Default
120The read timeout for the request (in seconds)
SubType string
Default
["https://www.googleapis.com/auth/calendar"]The GCP scopes to used
The GCP service account key
Event ID of the inserted event
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