Skip to main content

gcal.listcalendarsprops

Home > @runlightyear/gcal > ListCalendarsProps

ListCalendarsProps interface

Signature:
interface ListCalendarsProps 

Optional Properties

PropertyModifiersTypeDescription
maxResults?numberMaximum 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.
minAccessRole?AccessRole

The minimum access role for the user in the returned entries. Optional. The default is no restriction.

Acceptable values are: "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.

pageToken?stringToken specifying which result page to return.
showDeleted?boolean

Whether to include deleted calendar list entries in the result.

The default is False.

showHidden?boolean

Whether to show hidden entries.

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.

The default is to return all entries.