public static final class File.Capabilities
extends com.google.api.client.json.GenericJson
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Capabilities() |
| Modifier and Type | Method and Description |
|---|---|
File.Capabilities |
clone() |
java.lang.Boolean |
getCanAddChildren()
Whether the current user can add children to this folder.
|
java.lang.Boolean |
getCanChangeCopyRequiresWriterPermission()
Whether the current user can change the copyRequiresWriterPermission restriction of this file.
|
java.lang.Boolean |
getCanChangeRestrictedDownload()
Deprecated
|
java.lang.Boolean |
getCanComment()
Whether the current user can comment on this file.
|
java.lang.Boolean |
getCanCopy()
Whether the current user can copy this file.
|
java.lang.Boolean |
getCanDelete()
Whether the current user can delete this file.
|
java.lang.Boolean |
getCanDeleteChildren()
Whether the current user can delete children of this folder.
|
java.lang.Boolean |
getCanDownload()
Whether the current user can download this file.
|
java.lang.Boolean |
getCanEdit()
Whether the current user can edit this file.
|
java.lang.Boolean |
getCanListChildren()
Whether the current user can list the children of this folder.
|
java.lang.Boolean |
getCanMoveChildrenOutOfTeamDrive()
Whether the current user can move children of this folder outside of the Team Drive.
|
java.lang.Boolean |
getCanMoveChildrenWithinTeamDrive()
Whether the current user can move children of this folder within the Team Drive.
|
java.lang.Boolean |
getCanMoveItemIntoTeamDrive()
Whether the current user can move this item into a Team Drive.
|
java.lang.Boolean |
getCanMoveItemOutOfTeamDrive()
Whether the current user can move this Team Drive item outside of this Team Drive by changing
its parent.
|
java.lang.Boolean |
getCanMoveItemWithinTeamDrive()
Whether the current user can move this Team Drive item within this Team Drive.
|
java.lang.Boolean |
getCanMoveTeamDriveItem()
Deprecated - use canMoveItemWithinTeamDrive or canMoveItemOutOfTeamDrive instead.
|
java.lang.Boolean |
getCanReadRevisions()
Whether the current user can read the revisions resource of this file.
|
java.lang.Boolean |
getCanReadTeamDrive()
Whether the current user can read the Team Drive to which this file belongs.
|
java.lang.Boolean |
getCanRemoveChildren()
Whether the current user can remove children from this folder.
|
java.lang.Boolean |
getCanRename()
Whether the current user can rename this file.
|
java.lang.Boolean |
getCanShare()
Whether the current user can modify the sharing settings for this file.
|
java.lang.Boolean |
getCanTrash()
Whether the current user can move this file to trash.
|
java.lang.Boolean |
getCanTrashChildren()
Whether the current user can trash children of this folder.
|
java.lang.Boolean |
getCanUntrash()
Whether the current user can restore this file from trash.
|
File.Capabilities |
set(java.lang.String fieldName,
java.lang.Object value) |
File.Capabilities |
setCanAddChildren(java.lang.Boolean canAddChildren)
Whether the current user can add children to this folder.
|
File.Capabilities |
setCanChangeCopyRequiresWriterPermission(java.lang.Boolean canChangeCopyRequiresWriterPermission)
Whether the current user can change the copyRequiresWriterPermission restriction of this file.
|
File.Capabilities |
setCanChangeRestrictedDownload(java.lang.Boolean canChangeRestrictedDownload)
Deprecated
|
File.Capabilities |
setCanComment(java.lang.Boolean canComment)
Whether the current user can comment on this file.
|
File.Capabilities |
setCanCopy(java.lang.Boolean canCopy)
Whether the current user can copy this file.
|
File.Capabilities |
setCanDelete(java.lang.Boolean canDelete)
Whether the current user can delete this file.
|
File.Capabilities |
setCanDeleteChildren(java.lang.Boolean canDeleteChildren)
Whether the current user can delete children of this folder.
|
File.Capabilities |
setCanDownload(java.lang.Boolean canDownload)
Whether the current user can download this file.
|
File.Capabilities |
setCanEdit(java.lang.Boolean canEdit)
Whether the current user can edit this file.
|
File.Capabilities |
setCanListChildren(java.lang.Boolean canListChildren)
Whether the current user can list the children of this folder.
|
File.Capabilities |
setCanMoveChildrenOutOfTeamDrive(java.lang.Boolean canMoveChildrenOutOfTeamDrive)
Whether the current user can move children of this folder outside of the Team Drive.
|
File.Capabilities |
setCanMoveChildrenWithinTeamDrive(java.lang.Boolean canMoveChildrenWithinTeamDrive)
Whether the current user can move children of this folder within the Team Drive.
|
File.Capabilities |
setCanMoveItemIntoTeamDrive(java.lang.Boolean canMoveItemIntoTeamDrive)
Whether the current user can move this item into a Team Drive.
|
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 |
setCanMoveItemWithinTeamDrive(java.lang.Boolean canMoveItemWithinTeamDrive)
Whether the current user can move this Team Drive item within this Team Drive.
|
File.Capabilities |
setCanMoveTeamDriveItem(java.lang.Boolean canMoveTeamDriveItem)
Deprecated - use canMoveItemWithinTeamDrive or canMoveItemOutOfTeamDrive instead.
|
File.Capabilities |
setCanReadRevisions(java.lang.Boolean canReadRevisions)
Whether the current user can read the revisions resource of this file.
|
File.Capabilities |
setCanReadTeamDrive(java.lang.Boolean canReadTeamDrive)
Whether the current user can read the Team Drive to which this file belongs.
|
File.Capabilities |
setCanRemoveChildren(java.lang.Boolean canRemoveChildren)
Whether the current user can remove children from this folder.
|
File.Capabilities |
setCanRename(java.lang.Boolean canRename)
Whether the current user can rename this file.
|
File.Capabilities |
setCanShare(java.lang.Boolean canShare)
Whether the current user can modify the sharing settings for this file.
|
File.Capabilities |
setCanTrash(java.lang.Boolean canTrash)
Whether the current user can move this file to trash.
|
File.Capabilities |
setCanTrashChildren(java.lang.Boolean canTrashChildren)
Whether the current user can trash children of this folder.
|
File.Capabilities |
setCanUntrash(java.lang.Boolean canUntrash)
Whether the current user can restore this file from trash.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.Boolean getCanAddChildren()
null for nonepublic File.Capabilities setCanAddChildren(java.lang.Boolean canAddChildren)
canAddChildren - canAddChildren or null for nonepublic java.lang.Boolean getCanChangeCopyRequiresWriterPermission()
null for nonepublic File.Capabilities setCanChangeCopyRequiresWriterPermission(java.lang.Boolean canChangeCopyRequiresWriterPermission)
canChangeCopyRequiresWriterPermission - canChangeCopyRequiresWriterPermission or null for nonepublic java.lang.Boolean getCanChangeRestrictedDownload()
null for nonepublic File.Capabilities setCanChangeRestrictedDownload(java.lang.Boolean canChangeRestrictedDownload)
canChangeRestrictedDownload - canChangeRestrictedDownload or null for nonepublic java.lang.Boolean getCanComment()
null for nonepublic File.Capabilities setCanComment(java.lang.Boolean canComment)
canComment - canComment or null for nonepublic java.lang.Boolean getCanCopy()
null for nonepublic File.Capabilities setCanCopy(java.lang.Boolean canCopy)
canCopy - canCopy or null for nonepublic java.lang.Boolean getCanDelete()
null for nonepublic File.Capabilities setCanDelete(java.lang.Boolean canDelete)
canDelete - canDelete or null for nonepublic java.lang.Boolean getCanDeleteChildren()
null for nonepublic File.Capabilities setCanDeleteChildren(java.lang.Boolean canDeleteChildren)
canDeleteChildren - canDeleteChildren or null for nonepublic java.lang.Boolean getCanDownload()
null for nonepublic File.Capabilities setCanDownload(java.lang.Boolean canDownload)
canDownload - canDownload or null for nonepublic java.lang.Boolean getCanEdit()
null for nonepublic File.Capabilities setCanEdit(java.lang.Boolean canEdit)
canEdit - canEdit or null for nonepublic java.lang.Boolean getCanListChildren()
null for nonepublic File.Capabilities setCanListChildren(java.lang.Boolean canListChildren)
canListChildren - canListChildren or null for nonepublic java.lang.Boolean getCanMoveChildrenOutOfTeamDrive()
null for nonepublic File.Capabilities setCanMoveChildrenOutOfTeamDrive(java.lang.Boolean canMoveChildrenOutOfTeamDrive)
canMoveChildrenOutOfTeamDrive - canMoveChildrenOutOfTeamDrive or null for nonepublic java.lang.Boolean getCanMoveChildrenWithinTeamDrive()
null for nonepublic File.Capabilities setCanMoveChildrenWithinTeamDrive(java.lang.Boolean canMoveChildrenWithinTeamDrive)
canMoveChildrenWithinTeamDrive - canMoveChildrenWithinTeamDrive or null for nonepublic java.lang.Boolean getCanMoveItemIntoTeamDrive()
null for nonepublic File.Capabilities setCanMoveItemIntoTeamDrive(java.lang.Boolean canMoveItemIntoTeamDrive)
canMoveItemIntoTeamDrive - canMoveItemIntoTeamDrive or null for nonepublic java.lang.Boolean getCanMoveItemOutOfTeamDrive()
null for nonepublic File.Capabilities setCanMoveItemOutOfTeamDrive(java.lang.Boolean canMoveItemOutOfTeamDrive)
canMoveItemOutOfTeamDrive - canMoveItemOutOfTeamDrive or null for nonepublic java.lang.Boolean getCanMoveItemWithinTeamDrive()
null for nonepublic File.Capabilities setCanMoveItemWithinTeamDrive(java.lang.Boolean canMoveItemWithinTeamDrive)
canMoveItemWithinTeamDrive - canMoveItemWithinTeamDrive or null for nonepublic java.lang.Boolean getCanMoveTeamDriveItem()
null for nonepublic File.Capabilities setCanMoveTeamDriveItem(java.lang.Boolean canMoveTeamDriveItem)
canMoveTeamDriveItem - canMoveTeamDriveItem or null for nonepublic java.lang.Boolean getCanReadRevisions()
null for nonepublic File.Capabilities setCanReadRevisions(java.lang.Boolean canReadRevisions)
canReadRevisions - canReadRevisions or null for nonepublic java.lang.Boolean getCanReadTeamDrive()
null for nonepublic File.Capabilities setCanReadTeamDrive(java.lang.Boolean canReadTeamDrive)
canReadTeamDrive - canReadTeamDrive or null for nonepublic java.lang.Boolean getCanRemoveChildren()
null for nonepublic File.Capabilities setCanRemoveChildren(java.lang.Boolean canRemoveChildren)
canRemoveChildren - canRemoveChildren or null for nonepublic java.lang.Boolean getCanRename()
null for nonepublic File.Capabilities setCanRename(java.lang.Boolean canRename)
canRename - canRename or null for nonepublic java.lang.Boolean getCanShare()
null for nonepublic File.Capabilities setCanShare(java.lang.Boolean canShare)
canShare - canShare or null for nonepublic java.lang.Boolean getCanTrash()
null for nonepublic File.Capabilities setCanTrash(java.lang.Boolean canTrash)
canTrash - canTrash or null for nonepublic java.lang.Boolean getCanTrashChildren()
null for nonepublic File.Capabilities setCanTrashChildren(java.lang.Boolean canTrashChildren)
canTrashChildren - canTrashChildren or null for nonepublic java.lang.Boolean getCanUntrash()
null for nonepublic File.Capabilities setCanUntrash(java.lang.Boolean canUntrash)
canUntrash - canUntrash or null for nonepublic File.Capabilities set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic File.Capabilities clone()
clone in class com.google.api.client.json.GenericJson