com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
Capabilities()  | 
| Modifier and Type | Method and Description | 
|---|---|
TeamDrive.Capabilities | 
clone()  | 
Boolean | 
getCanAddChildren()
Whether the current user can add children to folders in this Team Drive. 
 | 
Boolean | 
getCanChangeCopyRequiresWriterPermissionRestriction()
Whether the current user can change the `copyRequiresWriterPermission` restriction of this Team
 Drive. 
 | 
Boolean | 
getCanChangeDomainUsersOnlyRestriction()
Whether the current user can change the `domainUsersOnly` restriction of this Team Drive. 
 | 
Boolean | 
getCanChangeDownloadRestriction()
Whether the current user can change organizer-applied download restrictions of this shared
 drive. 
 | 
Boolean | 
getCanChangeSharingFoldersRequiresOrganizerPermissionRestriction()
Whether the current user can change the `sharingFoldersRequiresOrganizerPermission` restriction
 of this Team Drive. 
 | 
Boolean | 
getCanChangeTeamDriveBackground()
Whether the current user can change the background of this Team Drive. 
 | 
Boolean | 
getCanChangeTeamMembersOnlyRestriction()
Whether the current user can change the `teamMembersOnly` restriction of this Team Drive. 
 | 
Boolean | 
getCanComment()
Whether the current user can comment on files in this Team Drive. 
 | 
Boolean | 
getCanCopy()
Whether the current user can copy files in this Team Drive. 
 | 
Boolean | 
getCanDeleteChildren()
Whether the current user can delete children from folders in this Team Drive. 
 | 
Boolean | 
getCanDeleteTeamDrive()
Whether the current user can delete this Team Drive. 
 | 
Boolean | 
getCanDownload()
Whether the current user can download files in this Team Drive. 
 | 
Boolean | 
getCanEdit()
Whether the current user can edit files in this Team Drive 
 | 
Boolean | 
getCanListChildren()
Whether the current user can list the children of folders in this Team Drive. 
 | 
Boolean | 
getCanManageMembers()
Whether the current user can add members to this Team Drive or remove them or change their
 role. 
 | 
Boolean | 
getCanReadRevisions()
Whether the current user can read the revisions resource of files in this Team Drive. 
 | 
Boolean | 
getCanRemoveChildren()
Deprecated: Use `canDeleteChildren` or `canTrashChildren` instead. 
 | 
Boolean | 
getCanRename()
Whether the current user can rename files or folders in this Team Drive. 
 | 
Boolean | 
getCanRenameTeamDrive()
Whether the current user can rename this Team Drive. 
 | 
Boolean | 
getCanResetTeamDriveRestrictions()
Whether the current user can reset the Team Drive restrictions to defaults. 
 | 
Boolean | 
getCanShare()
Whether the current user can share files or folders in this Team Drive. 
 | 
Boolean | 
getCanTrashChildren()
Whether the current user can trash children from folders in this Team Drive. 
 | 
TeamDrive.Capabilities | 
set(String fieldName,
   Object value)  | 
TeamDrive.Capabilities | 
setCanAddChildren(Boolean canAddChildren)
Whether the current user can add children to folders in this Team Drive. 
 | 
TeamDrive.Capabilities | 
setCanChangeCopyRequiresWriterPermissionRestriction(Boolean canChangeCopyRequiresWriterPermissionRestriction)
Whether the current user can change the `copyRequiresWriterPermission` restriction of this Team
 Drive. 
 | 
TeamDrive.Capabilities | 
setCanChangeDomainUsersOnlyRestriction(Boolean canChangeDomainUsersOnlyRestriction)
Whether the current user can change the `domainUsersOnly` restriction of this Team Drive. 
 | 
TeamDrive.Capabilities | 
setCanChangeDownloadRestriction(Boolean canChangeDownloadRestriction)
Whether the current user can change organizer-applied download restrictions of this shared
 drive. 
 | 
TeamDrive.Capabilities | 
setCanChangeSharingFoldersRequiresOrganizerPermissionRestriction(Boolean canChangeSharingFoldersRequiresOrganizerPermissionRestriction)
Whether the current user can change the `sharingFoldersRequiresOrganizerPermission` restriction
 of this Team Drive. 
 | 
TeamDrive.Capabilities | 
setCanChangeTeamDriveBackground(Boolean canChangeTeamDriveBackground)
Whether the current user can change the background of this Team Drive. 
 | 
TeamDrive.Capabilities | 
setCanChangeTeamMembersOnlyRestriction(Boolean canChangeTeamMembersOnlyRestriction)
Whether the current user can change the `teamMembersOnly` restriction of this Team Drive. 
 | 
TeamDrive.Capabilities | 
setCanComment(Boolean canComment)
Whether the current user can comment on files in this Team Drive. 
 | 
TeamDrive.Capabilities | 
setCanCopy(Boolean canCopy)
Whether the current user can copy files in this Team Drive. 
 | 
TeamDrive.Capabilities | 
setCanDeleteChildren(Boolean canDeleteChildren)
Whether the current user can delete children from folders in this Team Drive. 
 | 
TeamDrive.Capabilities | 
setCanDeleteTeamDrive(Boolean canDeleteTeamDrive)
Whether the current user can delete this Team Drive. 
 | 
TeamDrive.Capabilities | 
setCanDownload(Boolean canDownload)
Whether the current user can download files in this Team Drive. 
 | 
TeamDrive.Capabilities | 
setCanEdit(Boolean canEdit)
Whether the current user can edit files in this Team Drive 
 | 
TeamDrive.Capabilities | 
setCanListChildren(Boolean canListChildren)
Whether the current user can list the children of folders in this Team Drive. 
 | 
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 | 
setCanReadRevisions(Boolean canReadRevisions)
Whether the current user can read the revisions resource of files in this Team Drive. 
 | 
TeamDrive.Capabilities | 
setCanRemoveChildren(Boolean canRemoveChildren)
Deprecated: Use `canDeleteChildren` or `canTrashChildren` instead. 
 | 
TeamDrive.Capabilities | 
setCanRename(Boolean canRename)
Whether the current user can rename files or folders in this Team Drive. 
 | 
TeamDrive.Capabilities | 
setCanRenameTeamDrive(Boolean canRenameTeamDrive)
Whether the current user can rename this Team Drive. 
 | 
TeamDrive.Capabilities | 
setCanResetTeamDriveRestrictions(Boolean canResetTeamDriveRestrictions)
Whether the current user can reset the Team Drive restrictions to defaults. 
 | 
TeamDrive.Capabilities | 
setCanShare(Boolean canShare)
Whether the current user can share files or folders in this Team Drive. 
 | 
TeamDrive.Capabilities | 
setCanTrashChildren(Boolean canTrashChildren)
Whether the current user can trash children from folders in this Team Drive. 
 | 
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Boolean getCanAddChildren()
null for nonepublic TeamDrive.Capabilities setCanAddChildren(Boolean canAddChildren)
canAddChildren - canAddChildren or null for nonepublic Boolean getCanChangeCopyRequiresWriterPermissionRestriction()
null for nonepublic TeamDrive.Capabilities setCanChangeCopyRequiresWriterPermissionRestriction(Boolean canChangeCopyRequiresWriterPermissionRestriction)
canChangeCopyRequiresWriterPermissionRestriction - canChangeCopyRequiresWriterPermissionRestriction or null for nonepublic Boolean getCanChangeDomainUsersOnlyRestriction()
null for nonepublic TeamDrive.Capabilities setCanChangeDomainUsersOnlyRestriction(Boolean canChangeDomainUsersOnlyRestriction)
canChangeDomainUsersOnlyRestriction - canChangeDomainUsersOnlyRestriction or null for nonepublic Boolean getCanChangeDownloadRestriction()
null for nonepublic TeamDrive.Capabilities setCanChangeDownloadRestriction(Boolean canChangeDownloadRestriction)
canChangeDownloadRestriction - canChangeDownloadRestriction or null for nonepublic Boolean getCanChangeSharingFoldersRequiresOrganizerPermissionRestriction()
null for nonepublic TeamDrive.Capabilities setCanChangeSharingFoldersRequiresOrganizerPermissionRestriction(Boolean canChangeSharingFoldersRequiresOrganizerPermissionRestriction)
canChangeSharingFoldersRequiresOrganizerPermissionRestriction - canChangeSharingFoldersRequiresOrganizerPermissionRestriction or null for nonepublic Boolean getCanChangeTeamDriveBackground()
null for nonepublic TeamDrive.Capabilities setCanChangeTeamDriveBackground(Boolean canChangeTeamDriveBackground)
canChangeTeamDriveBackground - canChangeTeamDriveBackground or null for nonepublic Boolean getCanChangeTeamMembersOnlyRestriction()
null for nonepublic TeamDrive.Capabilities setCanChangeTeamMembersOnlyRestriction(Boolean canChangeTeamMembersOnlyRestriction)
canChangeTeamMembersOnlyRestriction - canChangeTeamMembersOnlyRestriction or null for nonepublic Boolean getCanComment()
null for nonepublic TeamDrive.Capabilities setCanComment(Boolean canComment)
canComment - canComment or null for nonepublic Boolean getCanCopy()
null for nonepublic TeamDrive.Capabilities setCanCopy(Boolean canCopy)
canCopy - canCopy or null for nonepublic Boolean getCanDeleteChildren()
null for nonepublic TeamDrive.Capabilities setCanDeleteChildren(Boolean canDeleteChildren)
canDeleteChildren - canDeleteChildren or null for nonepublic Boolean getCanDeleteTeamDrive()
null for nonepublic TeamDrive.Capabilities setCanDeleteTeamDrive(Boolean canDeleteTeamDrive)
canDeleteTeamDrive - canDeleteTeamDrive or null for nonepublic Boolean getCanDownload()
null for nonepublic TeamDrive.Capabilities setCanDownload(Boolean canDownload)
canDownload - canDownload or null for nonepublic Boolean getCanEdit()
null for nonepublic TeamDrive.Capabilities setCanEdit(Boolean canEdit)
canEdit - canEdit or null for nonepublic Boolean getCanListChildren()
null for nonepublic TeamDrive.Capabilities setCanListChildren(Boolean canListChildren)
canListChildren - canListChildren or null for nonepublic Boolean getCanManageMembers()
null for nonepublic TeamDrive.Capabilities setCanManageMembers(Boolean canManageMembers)
canManageMembers - canManageMembers or null for nonepublic Boolean getCanReadRevisions()
null for nonepublic TeamDrive.Capabilities setCanReadRevisions(Boolean canReadRevisions)
canReadRevisions - canReadRevisions or null for nonepublic Boolean getCanRemoveChildren()
null for nonepublic TeamDrive.Capabilities setCanRemoveChildren(Boolean canRemoveChildren)
canRemoveChildren - canRemoveChildren or null for nonepublic Boolean getCanRename()
null for nonepublic TeamDrive.Capabilities setCanRename(Boolean canRename)
canRename - canRename or null for nonepublic Boolean getCanRenameTeamDrive()
null for nonepublic TeamDrive.Capabilities setCanRenameTeamDrive(Boolean canRenameTeamDrive)
canRenameTeamDrive - canRenameTeamDrive or null for nonepublic Boolean getCanResetTeamDriveRestrictions()
null for nonepublic TeamDrive.Capabilities setCanResetTeamDriveRestrictions(Boolean canResetTeamDriveRestrictions)
canResetTeamDriveRestrictions - canResetTeamDriveRestrictions or null for nonepublic Boolean getCanShare()
null for nonepublic TeamDrive.Capabilities setCanShare(Boolean canShare)
canShare - canShare or null for nonepublic Boolean getCanTrashChildren()
null for nonepublic TeamDrive.Capabilities setCanTrashChildren(Boolean canTrashChildren)
canTrashChildren - canTrashChildren or null for nonepublic TeamDrive.Capabilities set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic TeamDrive.Capabilities clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.