Skip to content

Google: Calendar ACL schemas

8 Google schemas with complete fields and constraints.

← Calendar ACL operations · All schemas

Creates an access control rule — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
etagstringOptionalETag of the resource.
idstringOptionalIdentifier of the Access Control List (ACL) rule. See Sharing calendars.
kindstringOptionalType of the resource ("calendar#aclRule").
Default: calendar#aclRule
rolestringRequired within parentThe role assigned to the scope. Possible values are:
- "none" - Provides no access.
- "freeBusyReader" - Provides read access to free/busy information.
- "reader" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden.
- "writerWithoutPrivateAccess" - Provides read and write access to the calendar. Private events will appear to users with writerWithoutPrivateAccess access, but event details will be hidden.
- "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.
- "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.
Important: 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.
scopeModelRequired within parentExpand Creates an access control rule — response body — scope

Referenced models: Creates an access control rule — response body — scope

Creates an access control rule — response body

FieldTypePresenceDescription and constraints
$objectRoot
etagstringOptionalETag of the resource.
idstringOptionalIdentifier of the Access Control List (ACL) rule. See Sharing calendars.
kindstringOptionalType of the resource ("calendar#aclRule").
Default: calendar#aclRule
rolestringOptionalThe role assigned to the scope. Possible values are:
- "none" - Provides no access.
- "freeBusyReader" - Provides read access to free/busy information.
- "reader" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden.
- "writerWithoutPrivateAccess" - Provides read and write access to the calendar. Private events will appear to users with writerWithoutPrivateAccess access, but event details will be hidden.
- "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.
- "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.
Important: 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.
scopeModelOptionalExpand Creates an access control rule — response body — scope

Referenced models: Creates an access control rule — response body — scope

Creates an access control rule — response body — scope

FieldTypePresenceDescription and constraints
$objectRootThe extent to which calendar access is granted by this ACL rule.
typestringOptionalThe type of the scope. Possible values are:
- "default" - The public scope. This is the default value.
- "user" - Limits the scope to a single user.
- "group" - Limits the scope to a group.
- "domain" - Limits the scope to a domain. Note: The permissions granted to the "default", or public, scope apply to any user, authenticated or not.
valuestringOptionalThe email address of a user or group, or the name of a domain, depending on the scope type. Omitted for type "default".

Returns the rules in the access control list for the calendar — response body

FieldTypePresenceDescription and constraints
$objectRoot
etagstringOptionalETag of the collection.
itemsarrayOptionalList of rules on the access control list.
items[]ModelEach itemExpand Creates an access control rule — response body
kindstringOptionalType of the collection ("calendar#acl").
Default: calendar#acl
nextPageTokenstringOptionalToken used to access the next page of this result. Omitted if no further results are available, in which case nextSyncToken is provided.
nextSyncTokenstringOptionalToken used at a later point in time to retrieve only the entries that have changed since this result was returned. Omitted if further results are available, in which case nextPageToken is provided.

Referenced models: Creates an access control rule — response body

Updates an access control rule — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
etagstringOptionalETag of the resource.
idstringOptionalIdentifier of the Access Control List (ACL) rule. See Sharing calendars.
kindstringOptionalType of the resource ("calendar#aclRule").
Default: calendar#aclRule
rolestringOptionalThe role assigned to the scope. Possible values are:
- "none" - Provides no access.
- "freeBusyReader" - Provides read access to free/busy information.
- "reader" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden.
- "writerWithoutPrivateAccess" - Provides read and write access to the calendar. Private events will appear to users with writerWithoutPrivateAccess access, but event details will be hidden.
- "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.
- "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.
Important: 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.
scopeModelRequired within parentExpand Creates an access control rule — response body — scope

Referenced models: Creates an access control rule — response body — scope

Updates an access control rule — request body — query

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
fieldsstringOptionalSelector specifying which fields to include in a partial response.
prettyPrintbooleanOptionalReturns response with indentations and line breaks.
Default: true
quotaUserstringOptionalAn opaque string that represents a user for quota purposes. Must not exceed 40 characters.
userIpstringOptionalDeprecated. Please use quotaUser instead.
sendNotificationsbooleanOptionalWhether to send notifications about the calendar sharing change. Note that there are no notifications on access removal. Optional. The default is True.

Watch for changes to ACL resources — request body — query

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
fieldsstringOptionalSelector specifying which fields to include in a partial response.
prettyPrintbooleanOptionalReturns response with indentations and line breaks.
Default: true
quotaUserstringOptionalAn opaque string that represents a user for quota purposes. Must not exceed 40 characters.
userIpstringOptionalDeprecated. Please use quotaUser instead.
maxResultsintegerOptionalMaximum 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.
Format: int32
Minimum: 1
pageTokenstringOptionalToken specifying which result page to return. Optional.
showDeletedbooleanOptionalWhether 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 provided. Optional. The default is False.
syncTokenstringOptionalToken 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. All entries deleted since the previous list request will always be in the result set and it is not allowed to set showDeleted to False.
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.

Watch for changes to ACL resources — response body

FieldTypePresenceDescription and constraints
$objectRoot
addressstringOptionalThe address where notifications are delivered for this channel.
expirationstringOptionalDate and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
Format: int64
idstringOptionalA UUID or similar unique string that identifies this channel.
kindstringOptionalIdentifies this as a notification channel used to watch for changes to a resource, which is "api#channel".
Default: api#channel
paramsobjectOptionalAdditional parameters controlling delivery channel behavior. Optional.
Additional keys: see wildcard field
params.*stringAdditional keysDeclares a new parameter by name.
payloadbooleanOptionalA Boolean value to indicate whether payload is wanted. Optional.
resourceIdstringOptionalAn opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
resourceUristringOptionalA version-specific identifier for the watched resource.
tokenstringOptionalAn arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
typestringOptionalThe type of delivery mechanism used for this channel. Valid values are "web_hook" (or "webhook"). Both values refer to a channel where Http requests are used to deliver messages.

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.