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 |
getCanAddMyDriveParent()
Whether the current user can add a parent for the item without removing an existing parent in
the same request.
|
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 |
getCanModifyContent()
Whether the current user can modify the content of this file.
|
java.lang.Boolean |
getCanMoveChildrenOutOfDrive()
Whether the current user can move children of this folder outside of the shared drive.
|
java.lang.Boolean |
getCanMoveChildrenOutOfTeamDrive()
Deprecated - use canMoveChildrenOutOfDrive instead.
|
java.lang.Boolean |
getCanMoveChildrenWithinDrive()
Whether the current user can move children of this folder within the shared drive.
|
java.lang.Boolean |
getCanMoveChildrenWithinTeamDrive()
Deprecated - use canMoveChildrenWithinDrive instead.
|
java.lang.Boolean |
getCanMoveItemIntoTeamDrive()
Deprecated - use canMoveItemOutOfDrive instead.
|
java.lang.Boolean |
getCanMoveItemOutOfDrive()
Whether the current user can move this item outside of this drive by changing its parent.
|
java.lang.Boolean |
getCanMoveItemOutOfTeamDrive()
Deprecated - use canMoveItemOutOfDrive instead.
|
java.lang.Boolean |
getCanMoveItemWithinDrive()
Whether the current user can move this item within this shared drive.
|
java.lang.Boolean |
getCanMoveItemWithinTeamDrive()
Deprecated - use canMoveItemWithinDrive instead.
|
java.lang.Boolean |
getCanMoveTeamDriveItem()
Deprecated - use canMoveItemWithinDrive or canMoveItemOutOfDrive instead.
|
java.lang.Boolean |
getCanReadDrive()
Whether the current user can read the shared drive to which this file belongs.
|
java.lang.Boolean |
getCanReadRevisions()
Whether the current user can read the revisions resource of this file.
|
java.lang.Boolean |
getCanReadTeamDrive()
Deprecated - use canReadDrive instead.
|
java.lang.Boolean |
getCanRemoveChildren()
Whether the current user can remove children from this folder.
|
java.lang.Boolean |
getCanRemoveMyDriveParent()
Whether the current user can remove a parent from the item without adding another parent in the
same request.
|
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 |
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 |
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 |
setCanModifyContent(java.lang.Boolean canModifyContent)
Whether the current user can modify the content of this file.
|
File.Capabilities |
setCanMoveChildrenOutOfDrive(java.lang.Boolean canMoveChildrenOutOfDrive)
Whether the current user can move children of this folder outside of the shared drive.
|
File.Capabilities |
setCanMoveChildrenOutOfTeamDrive(java.lang.Boolean canMoveChildrenOutOfTeamDrive)
Deprecated - use canMoveChildrenOutOfDrive instead.
|
File.Capabilities |
setCanMoveChildrenWithinDrive(java.lang.Boolean canMoveChildrenWithinDrive)
Whether the current user can move children of this folder within the shared drive.
|
File.Capabilities |
setCanMoveChildrenWithinTeamDrive(java.lang.Boolean canMoveChildrenWithinTeamDrive)
Deprecated - use canMoveChildrenWithinDrive instead.
|
File.Capabilities |
setCanMoveItemIntoTeamDrive(java.lang.Boolean canMoveItemIntoTeamDrive)
Deprecated - use canMoveItemOutOfDrive instead.
|
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 |
setCanMoveItemOutOfTeamDrive(java.lang.Boolean canMoveItemOutOfTeamDrive)
Deprecated - use canMoveItemOutOfDrive instead.
|
File.Capabilities |
setCanMoveItemWithinDrive(java.lang.Boolean canMoveItemWithinDrive)
Whether the current user can move this item within this shared drive.
|
File.Capabilities |
setCanMoveItemWithinTeamDrive(java.lang.Boolean canMoveItemWithinTeamDrive)
Deprecated - use canMoveItemWithinDrive instead.
|
File.Capabilities |
setCanMoveTeamDriveItem(java.lang.Boolean canMoveTeamDriveItem)
Deprecated - use canMoveItemWithinDrive or canMoveItemOutOfDrive instead.
|
File.Capabilities |
setCanReadDrive(java.lang.Boolean canReadDrive)
Whether the current user can read the shared drive to which this file belongs.
|
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)
Deprecated - use canReadDrive instead.
|
File.Capabilities |
setCanRemoveChildren(java.lang.Boolean canRemoveChildren)
Whether the current user can remove children from this folder.
|
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 |
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, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Boolean getCanAddChildren()
null
for nonepublic File.Capabilities setCanAddChildren(java.lang.Boolean canAddChildren)
canAddChildren
- canAddChildren or null
for nonepublic java.lang.Boolean getCanAddMyDriveParent()
null
for nonepublic File.Capabilities setCanAddMyDriveParent(java.lang.Boolean canAddMyDriveParent)
canAddMyDriveParent
- canAddMyDriveParent 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 getCanModifyContent()
null
for nonepublic File.Capabilities setCanModifyContent(java.lang.Boolean canModifyContent)
canModifyContent
- canModifyContent or null
for nonepublic java.lang.Boolean getCanMoveChildrenOutOfDrive()
null
for nonepublic File.Capabilities setCanMoveChildrenOutOfDrive(java.lang.Boolean canMoveChildrenOutOfDrive)
canMoveChildrenOutOfDrive
- canMoveChildrenOutOfDrive 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 getCanMoveChildrenWithinDrive()
null
for nonepublic File.Capabilities setCanMoveChildrenWithinDrive(java.lang.Boolean canMoveChildrenWithinDrive)
canMoveChildrenWithinDrive
- canMoveChildrenWithinDrive 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 getCanMoveItemOutOfDrive()
null
for nonepublic File.Capabilities setCanMoveItemOutOfDrive(java.lang.Boolean canMoveItemOutOfDrive)
canMoveItemOutOfDrive
- canMoveItemOutOfDrive 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 getCanMoveItemWithinDrive()
null
for nonepublic File.Capabilities setCanMoveItemWithinDrive(java.lang.Boolean canMoveItemWithinDrive)
canMoveItemWithinDrive
- canMoveItemWithinDrive 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 getCanReadDrive()
null
for nonepublic File.Capabilities setCanReadDrive(java.lang.Boolean canReadDrive)
canReadDrive
- canReadDrive 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 getCanRemoveMyDriveParent()
null
for nonepublic File.Capabilities setCanRemoveMyDriveParent(java.lang.Boolean canRemoveMyDriveParent)
canRemoveMyDriveParent
- canRemoveMyDriveParent 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.GenericJson
public File.Capabilities clone()
clone
in class com.google.api.client.json.GenericJson