Set Google Calendar out of office
Input
endDate requiredEnd date, YYYY-MM-DD (inclusive)
startDate requiredStart date, YYYY-MM-DD (inclusive)
account optionalThe Google account to set it on, when this browser is signed in to several: its email, or its number in this browser ("1"), as mail.google.com/list_accounts lists them. It must be a work or school account. The run fails, writing nothing, if that account is not signed in. Omit for the first signed-in account.
dry_run optionalWhen true the entry is filled in (dates, decline setting and message) and the run stops on the step before the one that saves it. Nothing is written, and saved comes back false.
message optionalCustom decline message. Omit to keep Google's own default wording.
declineMeetings optionalAutomatically decline new and existing meetings during this time. Defaults to true, matching Google Calendar's own default. Declining notifies the people who invited you.
Output
saved requiredTrue once the composer closed after saving, and after confirming the decline when meetings are being declined.
endDate requiredstartDate requireddryRun optionalaccount optionalEmail of the Google account used.
message optionalThe custom decline message this run was asked to set, or null when Google's default wording was kept.
composerReady optionalmessageApplied optionalWhether the message was read back from the field and matched just before saving. Google does not show the decline message anywhere after saving, so this is the furthest it can be checked; it does not prove the server kept it.
declineMeetings optional