{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Updates an access control rule. 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"},"sendNotifications":{"description":"Whether to send notifications about the calendar sharing change. Note that there are no notifications on access removal. Optional. The default is True.","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"},"ruleId":{"description":"ACL rule identifier.","type":"string"}},"required":["calendarId","ruleId"],"additionalProperties":false},"body":{"$ref":"#/definitions/AclRule"}},"required":["path","body"],"additionalProperties":false,"definitions":{"AclRule":{"properties":{"etag":{"description":"ETag of the resource.","type":"string"},"id":{"description":"Identifier of the Access Control List (ACL) rule. See Sharing calendars.","type":"string"},"kind":{"default":"calendar#aclRule","description":"Type of the resource (\"calendar#aclRule\").","type":"string"},"role":{"description":"The role assigned to the scope. Possible values are:  \n- \"none\" - Provides no access. \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. Provides read access to the calendar's ACLs. \n- \"owner\" - Provides manager access to the calendar. This role has all of the permissions of the writer role with the additional ability to 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"},"scope":{"description":"The extent to which calendar access is granted by this ACL rule.","properties":{"type":{"description":"The type of the scope. Possible values are:  \n- \"default\" - The public scope. This is the default value. \n- \"user\" - Limits the scope to a single user. \n- \"group\" - Limits the scope to a group. \n- \"domain\" - Limits the scope to a domain.  Note: The permissions granted to the \"default\", or public, scope apply to any user, authenticated or not.","type":"string"},"value":{"description":"The email address of a user or group, or the name of a domain, depending on the scope type. Omitted for type \"default\".","type":"string"}},"type":"object"}},"type":"object"}}},"name":"Updates an access control rule","id":"google-calendar.calendar.acl.patch","example":{"path":{"calendarId":"example","ruleId":"example"},"body":{}},"maxRequests":1,"summary":false}}