The short answer: It does not work currently (as of 12/2023)
According to the Google Calendar API the eventType
property is now writable, but onlye default
and workingLocation
events can be created through the API.
eventType
[string]: Specific type of the event. This cannot be modified after the event is created.
Possible values are:
- "default" - A regular event or not further specified.
- "outOfOffice" - An out-of-office event. An outOfOfficeProperties parameter must be supplied to make a valid event (even if empty).
- "focusTime" - A focus-time event. A focusTimeProperties parameter must be supplied to make a valid event (even if empty).
- "workingLocation" - A working location event.
Currently, only "default " and "workingLocation" events can be created using the API. Extended support for other event types will be made available in later releases.
The short answer: It does not work currently (as of 08/2022)
The Google Calendar API currently exposes the eventType
property as read-only. It will be discarded when sent in an insert
payload.
eventType
[string]: Specific type of the event. Read-only.
Possible values are:
- "default" - A regular event or not further specified.
- "outOfOffice" - An out-of-office event.
As mentioned by @ercliou in the comments, the ticket can be tracked here: issuetracker.google.com/issues/112063903