| Package | Description | 
|---|---|
| com.google.api.services.drive.model | 
| Modifier and Type | Method and Description | 
|---|---|
TeamDrive.Capabilities | 
TeamDrive.Capabilities.clone()  | 
TeamDrive.Capabilities | 
TeamDrive.getCapabilities()
Capabilities the current user has on this Team Drive. 
 | 
TeamDrive.Capabilities | 
TeamDrive.Capabilities.set(String fieldName,
   Object value)  | 
TeamDrive.Capabilities | 
TeamDrive.Capabilities.setCanAddChildren(Boolean canAddChildren)
Whether the current user can add children to folders in this Team Drive. 
 | 
TeamDrive.Capabilities | 
TeamDrive.Capabilities.setCanChangeCopyRequiresWriterPermissionRestriction(Boolean canChangeCopyRequiresWriterPermissionRestriction)
Whether the current user can change the `copyRequiresWriterPermission` restriction of this Team
 Drive. 
 | 
TeamDrive.Capabilities | 
TeamDrive.Capabilities.setCanChangeDomainUsersOnlyRestriction(Boolean canChangeDomainUsersOnlyRestriction)
Whether the current user can change the `domainUsersOnly` restriction of this Team Drive. 
 | 
TeamDrive.Capabilities | 
TeamDrive.Capabilities.setCanChangeDownloadRestriction(Boolean canChangeDownloadRestriction)
Whether the current user can change organizer-applied download restrictions of this shared
 drive. 
 | 
TeamDrive.Capabilities | 
TeamDrive.Capabilities.setCanChangeSharingFoldersRequiresOrganizerPermissionRestriction(Boolean canChangeSharingFoldersRequiresOrganizerPermissionRestriction)
Whether the current user can change the `sharingFoldersRequiresOrganizerPermission` restriction
 of this Team Drive. 
 | 
TeamDrive.Capabilities | 
TeamDrive.Capabilities.setCanChangeTeamDriveBackground(Boolean canChangeTeamDriveBackground)
Whether the current user can change the background of this Team Drive. 
 | 
TeamDrive.Capabilities | 
TeamDrive.Capabilities.setCanChangeTeamMembersOnlyRestriction(Boolean canChangeTeamMembersOnlyRestriction)
Whether the current user can change the `teamMembersOnly` restriction of this Team Drive. 
 | 
TeamDrive.Capabilities | 
TeamDrive.Capabilities.setCanComment(Boolean canComment)
Whether the current user can comment on files in this Team Drive. 
 | 
TeamDrive.Capabilities | 
TeamDrive.Capabilities.setCanCopy(Boolean canCopy)
Whether the current user can copy files in this Team Drive. 
 | 
TeamDrive.Capabilities | 
TeamDrive.Capabilities.setCanDeleteChildren(Boolean canDeleteChildren)
Whether the current user can delete children from folders in this Team Drive. 
 | 
TeamDrive.Capabilities | 
TeamDrive.Capabilities.setCanDeleteTeamDrive(Boolean canDeleteTeamDrive)
Whether the current user can delete this Team Drive. 
 | 
TeamDrive.Capabilities | 
TeamDrive.Capabilities.setCanDownload(Boolean canDownload)
Whether the current user can download files in this Team Drive. 
 | 
TeamDrive.Capabilities | 
TeamDrive.Capabilities.setCanEdit(Boolean canEdit)
Whether the current user can edit files in this Team Drive 
 | 
TeamDrive.Capabilities | 
TeamDrive.Capabilities.setCanListChildren(Boolean canListChildren)
Whether the current user can list the children of folders in this Team Drive. 
 | 
TeamDrive.Capabilities | 
TeamDrive.Capabilities.setCanManageMembers(Boolean canManageMembers)
Whether the current user can add members to this Team Drive or remove them or change their
 role. 
 | 
TeamDrive.Capabilities | 
TeamDrive.Capabilities.setCanReadRevisions(Boolean canReadRevisions)
Whether the current user can read the revisions resource of files in this Team Drive. 
 | 
TeamDrive.Capabilities | 
TeamDrive.Capabilities.setCanRemoveChildren(Boolean canRemoveChildren)
Deprecated: Use `canDeleteChildren` or `canTrashChildren` instead. 
 | 
TeamDrive.Capabilities | 
TeamDrive.Capabilities.setCanRename(Boolean canRename)
Whether the current user can rename files or folders in this Team Drive. 
 | 
TeamDrive.Capabilities | 
TeamDrive.Capabilities.setCanRenameTeamDrive(Boolean canRenameTeamDrive)
Whether the current user can rename this Team Drive. 
 | 
TeamDrive.Capabilities | 
TeamDrive.Capabilities.setCanResetTeamDriveRestrictions(Boolean canResetTeamDriveRestrictions)
Whether the current user can reset the Team Drive restrictions to defaults. 
 | 
TeamDrive.Capabilities | 
TeamDrive.Capabilities.setCanShare(Boolean canShare)
Whether the current user can share files or folders in this Team Drive. 
 | 
TeamDrive.Capabilities | 
TeamDrive.Capabilities.setCanTrashChildren(Boolean canTrashChildren)
Whether the current user can trash children from folders in this Team Drive. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
TeamDrive | 
TeamDrive.setCapabilities(TeamDrive.Capabilities capabilities)
Capabilities the current user has on this Team Drive. 
 | 
Copyright © 2011–2025 Google. All rights reserved.