calendar.calendarList.watch
Watch CalendarList resources for changes by creating a notification channel; use it to trigger updates when users add, remove, or modify calendars.
Instructions
Watch for changes to CalendarList resources [HTTP POST] — creates or triggers a change; refused under --readonly safety profiles. Returns the API's response resource as JSON — request body is a JSON Channel object accepting address, expiration, id, kind, params, payload, resourceId, resourceUri and 2 more fields; pass it via params or whole via body_file Siblings over the same resource: delete, get, insert, list, patch, update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Extra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe. | |
| params | No | Parameter map merged into the request; typed parameters win. | |
| dry_run | No | Return the request that would be sent, without sending it. | |
| body_file | No | Read the request body from this file ('-' for stdin) instead of building one from the parameters. The body is a JSON Channel object. | |
| pageToken | No | [query parameter] Token specifying which result page to return. Optional. | |
| syncToken | No | [query parameter] Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contai | |
| maxResults | No | [query parameter] Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional. | |
| showHidden | No | [query parameter] Whether to show hidden entries. Optional. The default is False. | |
| showDeleted | No | [query parameter] Whether to include deleted calendar list entries in the result. Optional. The default is False. | |
| request_body | No | Request body of type Channel: pass it via `params` (merged into the built body) or whole via `body_file`. | |
| minAccessRole | No | [query parameter] The minimum access role for the user in the returned entries. Optional. The default is no restriction. Values: `freeBusyReader` = The user can read free/busy information.; `owner` = The user can read and modify events and access control lists.; `reader` = The user can read events that are not private.; `writer` = The user can read and modify events.; `writerWithoutPrivateAccess` = The user can read and modify events that aren't private. The user can read free/busy information about private events. The user can't modify private events.. | |
| showOwnOrganizationOnly | No | [query parameter] Whether to show only entries for calendars from the organization. This parameter is only applicable to Google Workspace users. Optional. The default is False. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| kind | No | ||
| type | No | ||
| token | No | ||
| params | No | ||
| address | No | ||
| payload | No | ||
| expiration | No | ||
| resourceId | No | ||
| resourceUri | No |