All 38 methods of the Calendar API, rendered at build time from the committed Discovery index the grr binary embeds — the same data grr api describe reads at runtime. Flags are kebab-cased parameter names: userId is --user-id.
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use
grr calendar acl get --calendar-id primary --rule-id <rule-id>
calendar.acl.insert
POST
grr calendar acl insertcalendars/{calendarId}/acl
Creates an access control rule.
Parameter
Type
Required
Repeated
Location
Description
Enum values
calendarId
string
yes
—
path
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use
—
sendNotifications
boolean
—
—
query
Whether to send notifications about the calendar sharing change. Optional. The default is True.
Returns the rules in the access control list for the calendar.
Parameter
Type
Required
Repeated
Location
Description
Enum values
calendarId
string
yes
—
path
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use
—
maxResults
integer
—
—
query
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.
—
pageToken
string
—
—
query
Token specifying which result page to return. Optional.
—
showDeleted
boolean
—
—
query
Whether to include deleted ACLs in the result. Deleted ACLs are represented by role equal to "none". Deleted ACLs will always be included if syncToken is provid
—
syncToken
string
—
—
query
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
Updates an access control rule. This method supports patch semantics.
Parameter
Type
Required
Repeated
Location
Description
Enum values
calendarId
string
yes
—
path
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use
—
ruleId
string
yes
—
path
ACL rule identifier.
—
sendNotifications
boolean
—
—
query
Whether to send notifications about the calendar sharing change. Note that there are no notifications on access removal. Optional. The default is True.
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use
—
ruleId
string
yes
—
path
ACL rule identifier.
—
sendNotifications
boolean
—
—
query
Whether to send notifications about the calendar sharing change. Note that there are no notifications on access removal. Optional. The default is True.
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use
—
maxResults
integer
—
—
query
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.
—
pageToken
string
—
—
query
Token specifying which result page to return. Optional.
—
showDeleted
boolean
—
—
query
Whether to include deleted ACLs in the result. Deleted ACLs are represented by role equal to "none". Deleted ACLs will always be included if syncToken is provid
—
syncToken
string
—
—
query
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
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use
Inserts an existing calendar into the user's calendar list.
Parameter
Type
Required
Repeated
Location
Description
Enum values
colorRgbFormat
boolean
—
—
query
Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB). If this feature is used, the index-based colorId field will be
Returns the calendars on the user's calendar list.
Parameter
Type
Required
Repeated
Location
Description
Enum values
maxResults
integer
—
—
query
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
string
—
—
query
The minimum access role for the user in the returned entries. Optional. The default is no restriction.
Token specifying which result page to return. Optional.
—
showDeleted
boolean
—
—
query
Whether to include deleted calendar list entries in the result. Optional. The default is False.
—
showHidden
boolean
—
—
query
Whether to show hidden entries. Optional. The default is False.
—
showOwnOrganizationOnly
boolean
—
—
query
Whether to show only entries for calendars from the organization. This parameter is only applicable to Google Workspace users. Optional. The default is False.
—
syncToken
string
—
—
query
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
Updates an existing calendar on the user's calendar list. This method supports patch semantics.
Parameter
Type
Required
Repeated
Location
Description
Enum values
calendarId
string
yes
—
path
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use
—
colorRgbFormat
boolean
—
—
query
Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB). If this feature is used, the index-based colorId field will be
Updates an existing calendar on the user's calendar list.
Parameter
Type
Required
Repeated
Location
Description
Enum values
calendarId
string
yes
—
path
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use
—
colorRgbFormat
boolean
—
—
query
Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB). If this feature is used, the index-based colorId field will be
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
string
—
—
query
The minimum access role for the user in the returned entries. Optional. The default is no restriction.
Token specifying which result page to return. Optional.
—
showDeleted
boolean
—
—
query
Whether to include deleted calendar list entries in the result. Optional. The default is False.
—
showHidden
boolean
—
—
query
Whether to show hidden entries. Optional. The default is False.
—
showOwnOrganizationOnly
boolean
—
—
query
Whether to show only entries for calendars from the organization. This parameter is only applicable to Google Workspace users. Optional. The default is False.
—
syncToken
string
—
—
query
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
Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account.
Parameter
Type
Required
Repeated
Location
Description
Enum values
calendarId
string
yes
—
path
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use
Deletes a secondary calendar. Use calendars.clear for clearing all events on primary calendars.
Parameter
Type
Required
Repeated
Location
Description
Enum values
calendarId
string
yes
—
path
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use
Creates a secondary calendar. The authenticated user for the request is made the data owner of the new calendar. Note: We recommend to authenticate as the intended data owner of the calendar. You can use domain-wide delegation of authority to allow applications to act on behalf of a specific user. D
Updates metadata for a calendar. This method supports patch semantics.
Parameter
Type
Required
Repeated
Location
Description
Enum values
calendarId
string
yes
—
path
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use
Transfers a secondary calendar between users within a Google Workspace organization. Requires user authentication with Manage Calendars administrator privilege, and one of the following authorization scopes: - https://www.googleapis.com/auth/calendar - https://www.googleapis.com/auth/calendar.calend
Parameter
Type
Required
Repeated
Location
Description
Enum values
calendarId
string
yes
—
path
Calendar identifier. To retrieve calendar IDs, call the calendarList.list method.
—
newDataOwner
string
yes
—
query
The email address of a user who will become the data owner of the calendar.
—
useAdminAccess
boolean
yes
—
query
When true, the method runs using the user's Google Workspace administrator privileges. The calling user must be a Google Workspace administrator with the Manage
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use
—
eventId
string
yes
—
path
Event identifier.
—
sendNotifications
boolean
—
—
query
Deprecated. Please use sendUpdates instead. Whether to send notifications about the deletion of the event. Note that some emails might still be sent even if you
—
sendUpdates
string
—
—
query
Guests who should receive notifications about the deletion of the event.
Returns an event based on its Google Calendar ID. To retrieve an event using its iCalendar ID, call the events.list method using the iCalUID parameter.
Parameter
Type
Required
Repeated
Location
Description
Enum values
alwaysIncludeEmail
boolean
—
—
query
Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available
—
calendarId
string
yes
—
path
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use
—
eventId
string
yes
—
path
Event identifier.
—
maxAttendees
integer
—
—
query
The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional
—
timeZone
string
—
—
query
Time zone used in the response. Optional. The default is the time zone of the calendar.
Imports an event. This operation is used to add a private copy of an existing event to a calendar. Only events with an eventType of default may be imported. Deprecated behavior: If a non-default event is imported, its type will be changed to default and any event-type-specific properties it may have
Parameter
Type
Required
Repeated
Location
Description
Enum values
calendarId
string
yes
—
path
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use
—
conferenceDataVersion
integer
—
—
query
Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event's body. Ver
—
eventLabelVersion
integer
—
—
query
Version number of the event label feature supported by the API client. Version 0 assumes no event label support and processes the colorId field for color manage
—
supportsAttachments
boolean
—
—
query
Whether API client performing operation supports event attachments. Optional. The default is False.
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use
—
conferenceDataVersion
integer
—
—
query
Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event's body. Ver
—
eventLabelVersion
integer
—
—
query
Version number of the event label feature supported by the API client. Version 0 assumes no event label support and processes the colorId field for color manage
—
maxAttendees
integer
—
—
query
The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional
—
sendNotifications
boolean
—
—
query
Deprecated. Please use sendUpdates instead. Whether to send notifications about the creation of the new event. Note that some emails might still be sent even if
—
sendUpdates
string
—
—
query
Whether to send notifications about the creation of the new event. Note that some emails might still be sent. The default is false.
all · externalOnly · none
supportsAttachments
boolean
—
—
query
Whether API client performing operation supports event attachments. Optional. The default is False.
Returns instances of the specified recurring event.
Parameter
Type
Required
Repeated
Location
Description
Enum values
alwaysIncludeEmail
boolean
—
—
query
Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available
—
calendarId
string
yes
—
path
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use
—
eventId
string
yes
—
path
Recurring event identifier.
—
maxAttendees
integer
—
—
query
The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional
—
maxResults
integer
—
—
query
Maximum number of events returned on one result page. By default the value is 250 events. The page size can never be larger than 2500 events. Optional.
—
originalStart
string
—
—
query
The original start time of the instance in the result. Optional.
—
pageToken
string
—
—
query
Token specifying which result page to return. Optional.
—
showDeleted
boolean
—
—
query
Whether to include deleted events (with status equals "cancelled") in the result. Cancelled instances of recurring events will still be included if singleEvents
—
timeMax
string
—
—
query
Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time. Must be an RFC3339 timestamp with mandator
—
timeMin
string
—
—
query
Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to filter by end time. Must be an RFC3339 timestamp with mandatory ti
—
timeZone
string
—
—
query
Time zone used in the response. Optional. The default is the time zone of the calendar.
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use
—
eventTypes
string
—
yes
query
Event types to return. Optional. This parameter can be repeated multiple times to return events of different types. If unset, returns all event types.
Specifies an event ID in the iCalendar format to be provided in the response. Optional. Use this if you want to search for an event by its iCalendar ID.
—
maxAttendees
integer
—
—
query
The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional
—
maxResults
integer
—
—
query
Maximum number of events returned on one result page. The number of events in the resulting page may be less than this value, or none at all, even if there are
—
orderBy
string
—
—
query
The order of the events returned in the result. Optional. The default is an unspecified, stable order.
startTime · updated
pageToken
string
—
—
query
Token specifying which result page to return. Optional.
—
privateExtendedProperty
string
—
yes
query
Extended properties constraint specified as propertyName=value. Matches only private properties. This parameter might be repeated multiple times to return event
—
q
string
—
—
query
Free text search terms to find events that match these terms in the following fields: - summary - description - location - attendee's displayName - attendee's e
—
sharedExtendedProperty
string
—
yes
query
Extended properties constraint specified as propertyName=value. Matches only shared properties. This parameter might be repeated multiple times to return events
—
showDeleted
boolean
—
—
query
Whether to include deleted events (with status equals "cancelled") in the result. Cancelled instances of recurring events (but not the underlying recurring even
—
showHiddenInvitations
boolean
—
—
query
Whether to include hidden invitations in the result. Optional. The default is False.
—
singleEvents
boolean
—
—
query
Whether to expand recurring events into instances and only return single one-off events and instances of recurring events, but not the underlying recurring even
—
syncToken
string
—
—
query
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
—
timeMax
string
—
—
query
Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time. Must be an RFC3339 timestamp with mandator
—
timeMin
string
—
—
query
Lower bound (exclusive) for an event's end time to filter by. Optional. The default is not to filter by end time. Must be an RFC3339 timestamp with mandatory ti
—
timeZone
string
—
—
query
Time zone used in the response. Optional. The default is the time zone of the calendar.
—
updatedMin
string
—
—
query
Lower bound for an event's last modification time (as a RFC3339 timestamp) to filter by. When specified, entries deleted since this time will always be included
Moves an event to another calendar, i.e. changes an event's organizer. Note that only default events can be moved; birthday, focusTime, fromGmail, outOfOffice and workingLocation events cannot be moved.
Parameter
Type
Required
Repeated
Location
Description
Enum values
calendarId
string
yes
—
path
Calendar identifier of the source calendar where the event currently is on.
—
destination
string
yes
—
query
Calendar identifier of the target calendar where the event is to be moved to.
—
eventId
string
yes
—
path
Event identifier.
—
sendNotifications
boolean
—
—
query
Deprecated. Please use sendUpdates instead. Whether to send notifications about the change of the event's organizer. Note that some emails might still be sent e
—
sendUpdates
string
—
—
query
Guests who should receive notifications about the change of the event's organizer.
Updates an event. This method supports patch semantics.
Parameter
Type
Required
Repeated
Location
Description
Enum values
alwaysIncludeEmail
boolean
—
—
query
Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available
—
calendarId
string
yes
—
path
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use
—
conferenceDataVersion
integer
—
—
query
Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event's body. Ver
—
eventId
string
yes
—
path
Event identifier.
—
eventLabelVersion
integer
—
—
query
Version number of the event label feature supported by the API client. Version 0 assumes no event label support and processes the colorId field for color manage
—
maxAttendees
integer
—
—
query
The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional
—
sendNotifications
boolean
—
—
query
Deprecated. Please use sendUpdates instead. Whether to send notifications about the event update (for example, description changes, etc.). Note that some emails
—
sendUpdates
string
—
—
query
Guests who should receive notifications about the event update (for example, title changes, etc.).
all · externalOnly · none
supportsAttachments
boolean
—
—
query
Whether API client performing operation supports event attachments. Optional. The default is False.
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use
—
sendNotifications
boolean
—
—
query
Deprecated. Please use sendUpdates instead. Whether to send notifications about the creation of the event. Note that some emails might still be sent even if you
—
sendUpdates
string
—
—
query
Guests who should receive notifications about the creation of the new event.
Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available
—
calendarId
string
yes
—
path
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use
—
conferenceDataVersion
integer
—
—
query
Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event's body. Ver
—
eventId
string
yes
—
path
Event identifier.
—
eventLabelVersion
integer
—
—
query
Version number of the event label feature supported by the API client. Version 0 assumes no event label support and processes the colorId field for color manage
—
maxAttendees
integer
—
—
query
The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional
—
sendNotifications
boolean
—
—
query
Deprecated. Please use sendUpdates instead. Whether to send notifications about the event update (for example, description changes, etc.). Note that some emails
—
sendUpdates
string
—
—
query
Guests who should receive notifications about the event update (for example, title changes, etc.).
all · externalOnly · none
supportsAttachments
boolean
—
—
query
Whether API client performing operation supports event attachments. Optional. The default is False.
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use
—
eventTypes
string
—
yes
query
Event types to return. Optional. This parameter can be repeated multiple times to return events of different types. If unset, returns all event types.
Specifies an event ID in the iCalendar format to be provided in the response. Optional. Use this if you want to search for an event by its iCalendar ID.
—
maxAttendees
integer
—
—
query
The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional
—
maxResults
integer
—
—
query
Maximum number of events returned on one result page. The number of events in the resulting page may be less than this value, or none at all, even if there are
—
orderBy
string
—
—
query
The order of the events returned in the result. Optional. The default is an unspecified, stable order.
startTime · updated
pageToken
string
—
—
query
Token specifying which result page to return. Optional.
—
privateExtendedProperty
string
—
yes
query
Extended properties constraint specified as propertyName=value. Matches only private properties. This parameter might be repeated multiple times to return event
—
q
string
—
—
query
Free text search terms to find events that match these terms in the following fields: - summary - description - location - attendee's displayName - attendee's e
—
sharedExtendedProperty
string
—
yes
query
Extended properties constraint specified as propertyName=value. Matches only shared properties. This parameter might be repeated multiple times to return events
—
showDeleted
boolean
—
—
query
Whether to include deleted events (with status equals "cancelled") in the result. Cancelled instances of recurring events (but not the underlying recurring even
—
showHiddenInvitations
boolean
—
—
query
Whether to include hidden invitations in the result. Optional. The default is False.
—
singleEvents
boolean
—
—
query
Whether to expand recurring events into instances and only return single one-off events and instances of recurring events, but not the underlying recurring even
—
syncToken
string
—
—
query
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
—
timeMax
string
—
—
query
Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time. Must be an RFC3339 timestamp with mandator
—
timeMin
string
—
—
query
Lower bound (exclusive) for an event's end time to filter by. Optional. The default is not to filter by end time. Must be an RFC3339 timestamp with mandatory ti
—
timeZone
string
—
—
query
Time zone used in the response. Optional. The default is the time zone of the calendar.
—
updatedMin
string
—
—
query
Lower bound for an event's last modification time (as a RFC3339 timestamp) to filter by. When specified, entries deleted since this time will always be included
Returns all user settings for the authenticated user.
Parameter
Type
Required
Repeated
Location
Description
Enum values
maxResults
integer
—
—
query
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.
—
pageToken
string
—
—
query
Token specifying which result page to return. Optional.
—
syncToken
string
—
—
query
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
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.
—
pageToken
string
—
—
query
Token specifying which result page to return. Optional.
—
syncToken
string
—
—
query
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