InsertEvent
Insert an event into Google Calendar.
yaml
type: "io.kestra.plugin.googleworkspace.calendar.InsertEvent"
Examples
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: [email protected]
Properties
calendarId *Requiredstring
Calendar ID.
endTime *RequiredNon-dynamicAbstractInsertEvent-CalendarTime
End time of the event.
startTime *RequiredNon-dynamicAbstractInsertEvent-CalendarTime
Start time of the event.
summary *Requiredstring
Title of the event.
creator Non-dynamicAbstractInsertEvent-Attendee
Creator of the event.
description string
Description of the event.
location string
Geographic location of the event as free-form text.
readTimeout integerstring
Default
120
The read timeout for the request (in seconds)
scopes array
SubType string
Default
["https://www.googleapis.com/auth/calendar"]
The GCP scopes to used
serviceAccount string
The GCP service account key
Outputs
event Event
Event ID of the inserted event.
Definitions
io.kestra.plugin.googleworkspace.calendar.models.Event
id string
io.kestra.plugin.googleworkspace.calendar.AbstractInsertEvent-Attendee
displayName string
Display name of the attendee.
email string
Email of the attendee.
io.kestra.plugin.googleworkspace.calendar.AbstractInsertEvent-CalendarTime
dateTime string
Time of the event in the ISO 8601 Datetime format, for example, 2024-11-28T09: 00: 00-07: 00
.
timeZone string
Timezone associated with the dateTime, for example, America/Los_Angeles
.