yaml
type: "io.kestra.plugin.googleworkspace.calendar.InsertEvent"

Insert event into Google Calendar.

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

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️

Calendar ID.

endTime

End time of the event.

startTime

Start time of the event.

summary

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️

Title of the event.

attendees

List of attendees in the event.

creator

Creator of the event.

description

  • Type: string
  • Dynamic: ✔️
  • Required:

Description of the event.

location

  • Type: string
  • Dynamic: ✔️
  • Required:

Geographic location of the event as free-form text.

readTimeout

  • Type: integer
  • Dynamic: ✔️
  • Required:
  • Default: 120

The read timeout for the request (in seconds)

scopes

  • Type: array
  • SubType: string
  • Dynamic: ✔️
  • Required:
  • Default: [ "https://www.googleapis.com/auth/calendar" ]

The GCP scopes to used

serviceAccount

  • Type: string
  • Dynamic: ✔️
  • Required:

The GCP service account key

Outputs

event

Definitions

io.kestra.plugin.googleworkspace.calendar.models.Event

  • id
    • Type: string
    • Dynamic:
    • Required:

io.kestra.plugin.googleworkspace.calendar.AbstractInsertEvent-Attendee

  • displayName
    • Type: string
    • Dynamic: ✔️
    • Required:
  • email
    • Type: string
    • Dynamic: ✔️
    • Required:

io.kestra.plugin.googleworkspace.calendar.AbstractInsertEvent-CalendarTime

  • dateTime
    • Type: string
    • Dynamic: ✔️
    • Required:
  • timeZone
    • Type: string
    • Dynamic: ✔️
    • Required: