Google: Deprecated: Use `drives get` instead — response body — capabilities
Deprecated: Use `drives.get` instead.: response body, field capabilities. Complete fields and constraints for contract 2026-10-27.
API reference · Contract 2026-10-27
SDK schema: Deprecated: Use `drives get` instead — response body — capabilities
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Capabilities the current user has on this Team Drive. |
canAddChildren | boolean | Optional | Whether the current user can add children to folders in this Team Drive. |
canChangeCopyRequiresWriterPermissionRestriction | boolean | Optional | Whether the current user can change the `copyRequiresWriterPermission` restriction of this Team Drive. |
canChangeDomainUsersOnlyRestriction | boolean | Optional | Whether the current user can change the `domainUsersOnly` restriction of this Team Drive. |
canChangeDownloadRestriction | boolean | Optional | Output only. Whether the current user can change organizer-applied download restrictions of this shared drive. Read only: true |
canChangeSharingFoldersRequiresOrganizerPermissionRestriction | boolean | Optional | Whether the current user can change the `sharingFoldersRequiresOrganizerPermission` restriction of this Team Drive. |
canChangeTeamDriveBackground | boolean | Optional | Whether the current user can change the background of this Team Drive. |
canChangeTeamMembersOnlyRestriction | boolean | Optional | Whether the current user can change the `teamMembersOnly` restriction of this Team Drive. |
canComment | boolean | Optional | Whether the current user can comment on files in this Team Drive. |
canCopy | boolean | Optional | Whether the current user can copy files in this Team Drive. |
canDeleteChildren | boolean | Optional | Whether the current user can delete children from folders in this Team Drive. |
canDeleteTeamDrive | boolean | Optional | Whether the current user can delete this Team Drive. Attempting to delete the Team Drive may still fail if there are untrashed items inside the Team Drive. |
canDownload | boolean | Optional | Whether the current user can download files in this Team Drive. |
canEdit | boolean | Optional | Whether the current user can edit files in this Team Drive |
canListChildren | boolean | Optional | Whether the current user can list the children of folders in this Team Drive. |
canManageMembers | boolean | Optional | Whether the current user can add members to this Team Drive or remove them or change their role. |
canReadRevisions | boolean | Optional | Whether the current user can read the revisions resource of files in this Team Drive. |
canRemoveChildren | boolean | Optional | Deprecated: Use `canDeleteChildren` or `canTrashChildren` instead. |
canRename | boolean | Optional | Whether the current user can rename files or folders in this Team Drive. |
canRenameTeamDrive | boolean | Optional | Whether the current user can rename this Team Drive. |
canResetTeamDriveRestrictions | boolean | Optional | Whether the current user can reset the Team Drive restrictions to defaults. |
canShare | boolean | Optional | Whether the current user can share files or folders in this Team Drive. |
canTrashChildren | boolean | Optional | Whether the current user can trash children from folders in this Team Drive. |