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.setCanAddMyDriveParent(java.lang.Boolean canAddMyDriveParent)
Whether the current user can add a parent for the item without removing an existing parent in
the same request.
|
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.setCanChangeRestrictedDownload(java.lang.Boolean canChangeRestrictedDownload)
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.setCanModifyContent(java.lang.Boolean canModifyContent)
Whether the current user can modify the content of this file.
|
File.Capabilities |
File.Capabilities.setCanMoveChildrenOutOfDrive(java.lang.Boolean canMoveChildrenOutOfDrive)
Whether the current user can move children of this folder outside of the shared drive.
|
File.Capabilities |
File.Capabilities.setCanMoveChildrenOutOfTeamDrive(java.lang.Boolean canMoveChildrenOutOfTeamDrive)
Deprecated - use canMoveChildrenOutOfDrive instead.
|
File.Capabilities |
File.Capabilities.setCanMoveChildrenWithinDrive(java.lang.Boolean canMoveChildrenWithinDrive)
Whether the current user can move children of this folder within the shared drive.
|
File.Capabilities |
File.Capabilities.setCanMoveChildrenWithinTeamDrive(java.lang.Boolean canMoveChildrenWithinTeamDrive)
Deprecated - use canMoveChildrenWithinDrive instead.
|
File.Capabilities |
File.Capabilities.setCanMoveItemIntoTeamDrive(java.lang.Boolean canMoveItemIntoTeamDrive)
Deprecated - use canMoveItemOutOfDrive instead.
|
File.Capabilities |
File.Capabilities.setCanMoveItemOutOfDrive(java.lang.Boolean canMoveItemOutOfDrive)
Whether the current user can move this item outside of this drive by changing its parent.
|
File.Capabilities |
File.Capabilities.setCanMoveItemOutOfTeamDrive(java.lang.Boolean canMoveItemOutOfTeamDrive)
Deprecated - use canMoveItemOutOfDrive instead.
|
File.Capabilities |
File.Capabilities.setCanMoveItemWithinDrive(java.lang.Boolean canMoveItemWithinDrive)
Whether the current user can move this item within this shared drive.
|
File.Capabilities |
File.Capabilities.setCanMoveItemWithinTeamDrive(java.lang.Boolean canMoveItemWithinTeamDrive)
Deprecated - use canMoveItemWithinDrive instead.
|
File.Capabilities |
File.Capabilities.setCanMoveTeamDriveItem(java.lang.Boolean canMoveTeamDriveItem)
Deprecated - use canMoveItemWithinDrive or canMoveItemOutOfDrive instead.
|
File.Capabilities |
File.Capabilities.setCanReadDrive(java.lang.Boolean canReadDrive)
Whether the current user can read the shared drive to which this file belongs.
|
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)
Deprecated - use canReadDrive instead.
|
File.Capabilities |
File.Capabilities.setCanRemoveChildren(java.lang.Boolean canRemoveChildren)
Whether the current user can remove children from this folder.
|
File.Capabilities |
File.Capabilities.setCanRemoveMyDriveParent(java.lang.Boolean canRemoveMyDriveParent)
Whether the current user can remove a parent from the item without adding another parent in the
same request.
|
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.
|