Package | Description |
---|---|
com.google.api.services.drive.model |
Modifier and Type | Method and Description |
---|---|
File.Capabilities |
File.Capabilities.clone() |
File.Capabilities |
File.getCapabilities()
Capabilities the current user has on this file.
|
File.Capabilities |
File.Capabilities.set(java.lang.String fieldName,
java.lang.Object value) |
File.Capabilities |
File.Capabilities.setCanAddChildren(java.lang.Boolean canAddChildren)
Whether the current user can add children to this folder.
|
File.Capabilities |
File.Capabilities.setCanChangeCopyRequiresWriterPermission(java.lang.Boolean canChangeCopyRequiresWriterPermission)
Whether the current user can change the copyRequiresWriterPermission restriction of this file.
|
File.Capabilities |
File.Capabilities.setCanChangeViewersCanCopyContent(java.lang.Boolean canChangeViewersCanCopyContent)
Deprecated
|
File.Capabilities |
File.Capabilities.setCanComment(java.lang.Boolean canComment)
Whether the current user can comment on this file.
|
File.Capabilities |
File.Capabilities.setCanCopy(java.lang.Boolean canCopy)
Whether the current user can copy this file.
|
File.Capabilities |
File.Capabilities.setCanDelete(java.lang.Boolean canDelete)
Whether the current user can delete this file.
|
File.Capabilities |
File.Capabilities.setCanDeleteChildren(java.lang.Boolean canDeleteChildren)
Whether the current user can delete children of this folder.
|
File.Capabilities |
File.Capabilities.setCanDownload(java.lang.Boolean canDownload)
Whether the current user can download this file.
|
File.Capabilities |
File.Capabilities.setCanEdit(java.lang.Boolean canEdit)
Whether the current user can edit this file.
|
File.Capabilities |
File.Capabilities.setCanListChildren(java.lang.Boolean canListChildren)
Whether the current user can list the children of this folder.
|
File.Capabilities |
File.Capabilities.setCanMoveChildrenOutOfTeamDrive(java.lang.Boolean canMoveChildrenOutOfTeamDrive)
Whether the current user can move children of this folder outside of the Team Drive.
|
File.Capabilities |
File.Capabilities.setCanMoveChildrenWithinTeamDrive(java.lang.Boolean canMoveChildrenWithinTeamDrive)
Whether the current user can move children of this folder within the Team Drive.
|
File.Capabilities |
File.Capabilities.setCanMoveItemIntoTeamDrive(java.lang.Boolean canMoveItemIntoTeamDrive)
Whether the current user can move this item into a Team Drive.
|
File.Capabilities |
File.Capabilities.setCanMoveItemOutOfTeamDrive(java.lang.Boolean canMoveItemOutOfTeamDrive)
Whether the current user can move this Team Drive item outside of this Team Drive by changing
its parent.
|
File.Capabilities |
File.Capabilities.setCanMoveItemWithinTeamDrive(java.lang.Boolean canMoveItemWithinTeamDrive)
Whether the current user can move this Team Drive item within this Team Drive.
|
File.Capabilities |
File.Capabilities.setCanMoveTeamDriveItem(java.lang.Boolean canMoveTeamDriveItem)
Deprecated - use canMoveItemWithinTeamDrive or canMoveItemOutOfTeamDrive instead.
|
File.Capabilities |
File.Capabilities.setCanReadRevisions(java.lang.Boolean canReadRevisions)
Whether the current user can read the revisions resource of this file.
|
File.Capabilities |
File.Capabilities.setCanReadTeamDrive(java.lang.Boolean canReadTeamDrive)
Whether the current user can read the Team Drive to which this file belongs.
|
File.Capabilities |
File.Capabilities.setCanRemoveChildren(java.lang.Boolean canRemoveChildren)
Whether the current user can remove children from this folder.
|
File.Capabilities |
File.Capabilities.setCanRename(java.lang.Boolean canRename)
Whether the current user can rename this file.
|
File.Capabilities |
File.Capabilities.setCanShare(java.lang.Boolean canShare)
Whether the current user can modify the sharing settings for this file.
|
File.Capabilities |
File.Capabilities.setCanTrash(java.lang.Boolean canTrash)
Whether the current user can move this file to trash.
|
File.Capabilities |
File.Capabilities.setCanTrashChildren(java.lang.Boolean canTrashChildren)
Whether the current user can trash children of this folder.
|
File.Capabilities |
File.Capabilities.setCanUntrash(java.lang.Boolean canUntrash)
Whether the current user can restore this file from trash.
|
Modifier and Type | Method and Description |
---|---|
File |
File.setCapabilities(File.Capabilities capabilities)
Capabilities the current user has on this file.
|