{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Updates an existing calendar on the user's calendar list. This method supports patch semantics.","properties":{"query":{"type":"object","properties":{"fields":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"prettyPrint":{"default":true,"description":"Returns response with indentations and line breaks.","type":"boolean"},"colorRgbFormat":{"description":"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 set to the best matching option automatically. Optional. The default is False.","type":"boolean"}},"required":[],"additionalProperties":false},"path":{"type":"object","properties":{"calendarId":{"description":"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 the \"primary\" keyword.","type":"string"}},"required":["calendarId"],"additionalProperties":false},"body":{"$ref":"#/definitions/CalendarListEntry"}},"required":["path","body"],"additionalProperties":false,"definitions":{"CalendarListEntry":{"properties":{"accessRole":{"description":"The effective access role that the authenticated user has on the calendar. Read-only. Possible values are:  \n- \"freeBusyReader\" - Provides read access to free/busy information. \n- \"reader\" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden. \n- \"writerWithoutPrivateAccess\" - Provides read and write access to the calendar. Private events will appear to users with writerWithoutPrivateAccess access, but event details will be hidden. \n- \"writer\" - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible. \n- \"owner\" - Provides manager access to the calendar. This role has all of the permissions of the writer role with the additional ability to see and modify access levels of other users.\nImportant: the owner role is different from the calendar's data owner. A calendar has a single data owner, but can have multiple users with owner role.","type":"string"},"autoAcceptInvitations":{"description":"Whether this calendar automatically accepts invitations. Only valid for resource calendars. Read-only.","type":"boolean"},"backgroundColor":{"description":"The main color of the calendar in the hexadecimal format \"#0088aa\". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional.","type":"string"},"colorId":{"description":"The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). This property is superseded by the backgroundColor and foregroundColor properties and can be ignored when using these properties. Optional.","type":"string"},"conferenceProperties":{"$ref":"#/definitions/ConferenceProperties"},"dataOwner":{"description":"The email of the owner of the calendar. Set only for secondary calendars. Read-only.","type":"string"},"defaultReminders":{"description":"The default reminders that the authenticated user has for this calendar.","items":{"$ref":"#/definitions/EventReminder"},"type":"array"},"deleted":{"default":false,"description":"Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.","type":"boolean"},"description":{"description":"Description of the calendar. Optional. Read-only.","type":"string"},"etag":{"description":"ETag of the resource.","type":"string"},"foregroundColor":{"description":"The foreground color of the calendar in the hexadecimal format \"#ffffff\". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional.","type":"string"},"hidden":{"default":false,"description":"Whether the calendar has been hidden from the list. Optional. The attribute is only returned when the calendar is hidden, in which case the value is true.","type":"boolean"},"id":{"description":"Identifier of the calendar.","type":"string"},"kind":{"default":"calendar#calendarListEntry","description":"Type of the resource (\"calendar#calendarListEntry\").","type":"string"},"location":{"description":"Geographic location of the calendar as free-form text. Optional. Read-only.","type":"string"},"notificationSettings":{"description":"The notifications that the authenticated user is receiving for this calendar.","properties":{"notifications":{"description":"The list of notifications set for this calendar.","items":{"$ref":"#/definitions/CalendarNotification"},"type":"array"}},"type":"object"},"primary":{"default":false,"description":"Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False.","type":"boolean"},"selected":{"default":false,"description":"Whether the calendar content shows up in the calendar UI. Optional. The default is False.","type":"boolean"},"summary":{"description":"Title of the calendar. Read-only.","type":"string"},"summaryOverride":{"description":"The summary that the authenticated user has set for this calendar. Optional.","type":"string"},"timeZone":{"description":"The time zone of the calendar. Optional. Read-only.","type":"string"}},"type":"object"},"ConferenceProperties":{"properties":{"allowedConferenceSolutionTypes":{"description":"The types of conference solutions that are supported for this calendar.\nThe possible values are:  \n- \"eventHangout\" \n- \"eventNamedHangout\" \n- \"hangoutsMeet\"  Optional.","items":{"type":"string"},"type":"array"}},"type":"object"},"EventReminder":{"properties":{"method":{"description":"The method used by this reminder. Possible values are:  \n- \"email\" - Reminders are sent via email. \n- \"popup\" - Reminders are sent via a UI popup.  \nRequired when adding a reminder.","type":"string"},"minutes":{"description":"Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes).\nRequired when adding a reminder.","type":"integer"}},"type":"object"},"CalendarNotification":{"properties":{"method":{"description":"The method used to deliver the notification. The possible value is:  \n- \"email\" - Notifications are sent via email.  \nRequired when adding a notification.","type":"string"},"type":{"description":"The type of notification. Possible values are:  \n- \"eventCreation\" - Notification sent when a new event is put on the calendar. \n- \"eventChange\" - Notification sent when an event is changed. \n- \"eventCancellation\" - Notification sent when an event is cancelled. \n- \"eventResponse\" - Notification sent when an attendee responds to the event invitation. \n- \"agenda\" - An agenda with the events of the day (sent out in the morning).  \nRequired when adding a notification.","type":"string"}},"type":"object"}}},"name":"Updates an existing calendar on the user's calendar list","id":"google-calendar.calendar.calendarlist.patch","example":{"path":{"calendarId":"example"},"body":{}},"maxRequests":1,"summary":false}}