Watch
|
|||||
|
|
Watch for changes to CalendarList resources
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- See, edit, share, and permanently delete all the calendars you can access using Google Calendar
- View your calendars
Input
This building block consumes 17 input parameters
Name | Format | Description |
---|---|---|
maxResults |
INTEGER |
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 |
minAccessRole |
ENUMERATION |
The minimum access role for the user in the returned entries. Optional. The default is no restriction |
pageToken |
STRING |
Token specifying which result page to return. Optional |
showDeleted |
BOOLEAN |
Whether to include deleted calendar list entries in the result. Optional. The default is False |
showHidden |
BOOLEAN |
Whether to show hidden entries. Optional. The default is False |
syncToken |
STRING |
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 contain only entries that have changed since then. If only read-only fields such as calendar properties or ACLs have changed, the entry won't be returned. All entries deleted and hidden since the previous list request will always be in the result set and it is not allowed to set showDeleted neither showHidden to False. To ensure client state consistency minAccessRole query parameter cannot be specified together with nextSyncToken. If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken. Learn more about incremental synchronization. Optional. The default is to return all entries |
address |
STRING |
The address where notifications are delivered for this channel |
expiration |
INTEGER |
Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional |
id |
STRING |
A UUID or similar unique string that identifies this channel |
kind |
STRING |
Identifies this as a notification channel used to watch for changes to a resource, which is "api#channel" |
params |
OBJECT |
Additional parameters controlling delivery channel behavior. Optional |
params.customKey.value Required |
STRING |
Additional parameters controlling delivery channel behavior. Optional |
payload |
BOOLEAN |
A Boolean value to indicate whether payload is wanted. Optional |
resourceId |
STRING |
An opaque ID that identifies the resource being watched on this channel. Stable across different API versions |
resourceUri |
STRING |
A version-specific identifier for the watched resource |
token |
STRING |
An arbitrary string delivered to the target address with each notification delivered over this channel. Optional |
type |
STRING |
The type of delivery mechanism used for this channel |
= Parameter name
= Format
maxResults INTEGER 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 |
minAccessRole ENUMERATION The minimum access role for the user in the returned entries. Optional. The default is no restriction |
pageToken STRING Token specifying which result page to return. Optional |
showDeleted BOOLEAN Whether to include deleted calendar list entries in the result. Optional. The default is False |
showHidden BOOLEAN Whether to show hidden entries. Optional. The default is False |
syncToken STRING 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 contain only entries that have changed since then. If only read-only fields such as calendar properties or ACLs have changed, the entry won't be returned. All entries deleted and hidden since the previous list request will always be in the result set and it is not allowed to set showDeleted neither showHidden to False. To ensure client state consistency minAccessRole query parameter cannot be specified together with nextSyncToken. If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken. Learn more about incremental synchronization. Optional. The default is to return all entries |
address STRING The address where notifications are delivered for this channel |
expiration INTEGER Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional |
id STRING A UUID or similar unique string that identifies this channel |
kind STRING Identifies this as a notification channel used to watch for changes to a resource, which is "api#channel" |
params OBJECT Additional parameters controlling delivery channel behavior. Optional |
params.customKey.value STRING Required Additional parameters controlling delivery channel behavior. Optional |
payload BOOLEAN A Boolean value to indicate whether payload is wanted. Optional |
resourceId STRING An opaque ID that identifies the resource being watched on this channel. Stable across different API versions |
resourceUri STRING A version-specific identifier for the watched resource |
token STRING An arbitrary string delivered to the target address with each notification delivered over this channel. Optional |
type STRING The type of delivery mechanism used for this channel |
Output
This building block provides 11 output parameters
Name | Format | Description |
---|---|---|
address |
STRING |
The address where notifications are delivered for this channel |
expiration |
INTEGER |
Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional |
id |
STRING |
A UUID or similar unique string that identifies this channel |
kind |
STRING |
Identifies this as a notification channel used to watch for changes to a resource, which is "api#channel" |
params |
OBJECT |
Additional parameters controlling delivery channel behavior. Optional |
params.customKey.value |
STRING |
Additional parameters controlling delivery channel behavior. Optional |
payload |
BOOLEAN |
A Boolean value to indicate whether payload is wanted. Optional |
resourceId |
STRING |
An opaque ID that identifies the resource being watched on this channel. Stable across different API versions |
resourceUri |
STRING |
A version-specific identifier for the watched resource |
token |
STRING |
An arbitrary string delivered to the target address with each notification delivered over this channel. Optional |
type |
STRING |
The type of delivery mechanism used for this channel |
= Parameter name
= Format
address STRING The address where notifications are delivered for this channel |
expiration INTEGER Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional |
id STRING A UUID or similar unique string that identifies this channel |
kind STRING Identifies this as a notification channel used to watch for changes to a resource, which is "api#channel" |
params OBJECT Additional parameters controlling delivery channel behavior. Optional |
params.customKey.value STRING Additional parameters controlling delivery channel behavior. Optional |
payload BOOLEAN A Boolean value to indicate whether payload is wanted. Optional |
resourceId STRING An opaque ID that identifies the resource being watched on this channel. Stable across different API versions |
resourceUri STRING A version-specific identifier for the watched resource |
token STRING An arbitrary string delivered to the target address with each notification delivered over this channel. Optional |
type STRING The type of delivery mechanism used for this channel |