GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Capabilities() |
Modifier and Type | Method and Description |
---|---|
File.Capabilities |
clone() |
Boolean |
getCanAddChildren()
Whether the current user can add children to this folder.
|
Boolean |
getCanAddFolderFromAnotherDrive()
Whether the current user can add a folder from another drive (different shared drive or My
Drive) to this folder.
|
Boolean |
getCanAddMyDriveParent()
Whether the current user can add a parent for the item without removing an existing parent in
the same request.
|
Boolean |
getCanChangeCopyRequiresWriterPermission()
Whether the current user can change the copyRequiresWriterPermission restriction of this file.
|
Boolean |
getCanChangeSecurityUpdateEnabled()
Whether the current user can change the securityUpdateEnabled field on link share metadata.
|
Boolean |
getCanChangeViewersCanCopyContent()
Deprecated
|
Boolean |
getCanComment()
Whether the current user can comment on this file.
|
Boolean |
getCanCopy()
Whether the current user can copy this file.
|
Boolean |
getCanDelete()
Whether the current user can delete this file.
|
Boolean |
getCanDeleteChildren()
Whether the current user can delete children of this folder.
|
Boolean |
getCanDownload()
Whether the current user can download this file.
|
Boolean |
getCanEdit()
Whether the current user can edit this file.
|
Boolean |
getCanListChildren()
Whether the current user can list the children of this folder.
|
Boolean |
getCanModifyContent()
Whether the current user can modify the content of this file.
|
Boolean |
getCanModifyContentRestriction()
Whether the current user can modify restrictions on content of this file.
|
Boolean |
getCanMoveChildrenOutOfDrive()
Whether the current user can move children of this folder outside of the shared drive.
|
Boolean |
getCanMoveChildrenOutOfTeamDrive()
Deprecated - use canMoveChildrenOutOfDrive instead.
|
Boolean |
getCanMoveChildrenWithinDrive()
Whether the current user can move children of this folder within this drive.
|
Boolean |
getCanMoveChildrenWithinTeamDrive()
Deprecated - use canMoveChildrenWithinDrive instead.
|
Boolean |
getCanMoveItemIntoTeamDrive()
Deprecated - use canMoveItemOutOfDrive instead.
|
Boolean |
getCanMoveItemOutOfDrive()
Whether the current user can move this item outside of this drive by changing its parent.
|
Boolean |
getCanMoveItemOutOfTeamDrive()
Deprecated - use canMoveItemOutOfDrive instead.
|
Boolean |
getCanMoveItemWithinDrive()
Whether the current user can move this item within this drive.
|
Boolean |
getCanMoveItemWithinTeamDrive()
Deprecated - use canMoveItemWithinDrive instead.
|
Boolean |
getCanMoveTeamDriveItem()
Deprecated - use canMoveItemWithinDrive or canMoveItemOutOfDrive instead.
|
Boolean |
getCanReadDrive()
Whether the current user can read the shared drive to which this file belongs.
|
Boolean |
getCanReadRevisions()
Whether the current user can read the revisions resource of this file.
|
Boolean |
getCanReadTeamDrive()
Deprecated - use canReadDrive instead.
|
Boolean |
getCanRemoveChildren()
Whether the current user can remove children from this folder.
|
Boolean |
getCanRemoveMyDriveParent()
Whether the current user can remove a parent from the item without adding another parent in the
same request.
|
Boolean |
getCanRename()
Whether the current user can rename this file.
|
Boolean |
getCanShare()
Whether the current user can modify the sharing settings for this file.
|
Boolean |
getCanTrash()
Whether the current user can move this file to trash.
|
Boolean |
getCanTrashChildren()
Whether the current user can trash children of this folder.
|
Boolean |
getCanUntrash()
Whether the current user can restore this file from trash.
|
File.Capabilities |
set(String fieldName,
Object value) |
File.Capabilities |
setCanAddChildren(Boolean canAddChildren)
Whether the current user can add children to this folder.
|
File.Capabilities |
setCanAddFolderFromAnotherDrive(Boolean canAddFolderFromAnotherDrive)
Whether the current user can add a folder from another drive (different shared drive or My
Drive) to this folder.
|
File.Capabilities |
setCanAddMyDriveParent(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(Boolean canChangeCopyRequiresWriterPermission)
Whether the current user can change the copyRequiresWriterPermission restriction of this file.
|
File.Capabilities |
setCanChangeSecurityUpdateEnabled(Boolean canChangeSecurityUpdateEnabled)
Whether the current user can change the securityUpdateEnabled field on link share metadata.
|
File.Capabilities |
setCanChangeViewersCanCopyContent(Boolean canChangeViewersCanCopyContent)
Deprecated
|
File.Capabilities |
setCanComment(Boolean canComment)
Whether the current user can comment on this file.
|
File.Capabilities |
setCanCopy(Boolean canCopy)
Whether the current user can copy this file.
|
File.Capabilities |
setCanDelete(Boolean canDelete)
Whether the current user can delete this file.
|
File.Capabilities |
setCanDeleteChildren(Boolean canDeleteChildren)
Whether the current user can delete children of this folder.
|
File.Capabilities |
setCanDownload(Boolean canDownload)
Whether the current user can download this file.
|
File.Capabilities |
setCanEdit(Boolean canEdit)
Whether the current user can edit this file.
|
File.Capabilities |
setCanListChildren(Boolean canListChildren)
Whether the current user can list the children of this folder.
|
File.Capabilities |
setCanModifyContent(Boolean canModifyContent)
Whether the current user can modify the content of this file.
|
File.Capabilities |
setCanModifyContentRestriction(Boolean canModifyContentRestriction)
Whether the current user can modify restrictions on content of this file.
|
File.Capabilities |
setCanMoveChildrenOutOfDrive(Boolean canMoveChildrenOutOfDrive)
Whether the current user can move children of this folder outside of the shared drive.
|
File.Capabilities |
setCanMoveChildrenOutOfTeamDrive(Boolean canMoveChildrenOutOfTeamDrive)
Deprecated - use canMoveChildrenOutOfDrive instead.
|
File.Capabilities |
setCanMoveChildrenWithinDrive(Boolean canMoveChildrenWithinDrive)
Whether the current user can move children of this folder within this drive.
|
File.Capabilities |
setCanMoveChildrenWithinTeamDrive(Boolean canMoveChildrenWithinTeamDrive)
Deprecated - use canMoveChildrenWithinDrive instead.
|
File.Capabilities |
setCanMoveItemIntoTeamDrive(Boolean canMoveItemIntoTeamDrive)
Deprecated - use canMoveItemOutOfDrive instead.
|
File.Capabilities |
setCanMoveItemOutOfDrive(Boolean canMoveItemOutOfDrive)
Whether the current user can move this item outside of this drive by changing its parent.
|
File.Capabilities |
setCanMoveItemOutOfTeamDrive(Boolean canMoveItemOutOfTeamDrive)
Deprecated - use canMoveItemOutOfDrive instead.
|
File.Capabilities |
setCanMoveItemWithinDrive(Boolean canMoveItemWithinDrive)
Whether the current user can move this item within this drive.
|
File.Capabilities |
setCanMoveItemWithinTeamDrive(Boolean canMoveItemWithinTeamDrive)
Deprecated - use canMoveItemWithinDrive instead.
|
File.Capabilities |
setCanMoveTeamDriveItem(Boolean canMoveTeamDriveItem)
Deprecated - use canMoveItemWithinDrive or canMoveItemOutOfDrive instead.
|
File.Capabilities |
setCanReadDrive(Boolean canReadDrive)
Whether the current user can read the shared drive to which this file belongs.
|
File.Capabilities |
setCanReadRevisions(Boolean canReadRevisions)
Whether the current user can read the revisions resource of this file.
|
File.Capabilities |
setCanReadTeamDrive(Boolean canReadTeamDrive)
Deprecated - use canReadDrive instead.
|
File.Capabilities |
setCanRemoveChildren(Boolean canRemoveChildren)
Whether the current user can remove children from this folder.
|
File.Capabilities |
setCanRemoveMyDriveParent(Boolean canRemoveMyDriveParent)
Whether the current user can remove a parent from the item without adding another parent in the
same request.
|
File.Capabilities |
setCanRename(Boolean canRename)
Whether the current user can rename this file.
|
File.Capabilities |
setCanShare(Boolean canShare)
Whether the current user can modify the sharing settings for this file.
|
File.Capabilities |
setCanTrash(Boolean canTrash)
Whether the current user can move this file to trash.
|
File.Capabilities |
setCanTrashChildren(Boolean canTrashChildren)
Whether the current user can trash children of this folder.
|
File.Capabilities |
setCanUntrash(Boolean canUntrash)
Whether the current user can restore this file from trash.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Boolean getCanAddChildren()
null
for nonepublic File.Capabilities setCanAddChildren(Boolean canAddChildren)
canAddChildren
- canAddChildren or null
for nonepublic Boolean getCanAddFolderFromAnotherDrive()
null
for nonepublic File.Capabilities setCanAddFolderFromAnotherDrive(Boolean canAddFolderFromAnotherDrive)
canAddFolderFromAnotherDrive
- canAddFolderFromAnotherDrive or null
for nonepublic Boolean getCanAddMyDriveParent()
null
for nonepublic File.Capabilities setCanAddMyDriveParent(Boolean canAddMyDriveParent)
canAddMyDriveParent
- canAddMyDriveParent or null
for nonepublic Boolean getCanChangeCopyRequiresWriterPermission()
null
for nonepublic File.Capabilities setCanChangeCopyRequiresWriterPermission(Boolean canChangeCopyRequiresWriterPermission)
canChangeCopyRequiresWriterPermission
- canChangeCopyRequiresWriterPermission or null
for nonepublic Boolean getCanChangeSecurityUpdateEnabled()
null
for nonepublic File.Capabilities setCanChangeSecurityUpdateEnabled(Boolean canChangeSecurityUpdateEnabled)
canChangeSecurityUpdateEnabled
- canChangeSecurityUpdateEnabled or null
for nonepublic Boolean getCanChangeViewersCanCopyContent()
null
for nonepublic File.Capabilities setCanChangeViewersCanCopyContent(Boolean canChangeViewersCanCopyContent)
canChangeViewersCanCopyContent
- canChangeViewersCanCopyContent or null
for nonepublic Boolean getCanComment()
null
for nonepublic File.Capabilities setCanComment(Boolean canComment)
canComment
- canComment or null
for nonepublic Boolean getCanCopy()
null
for nonepublic File.Capabilities setCanCopy(Boolean canCopy)
canCopy
- canCopy or null
for nonepublic Boolean getCanDelete()
null
for nonepublic File.Capabilities setCanDelete(Boolean canDelete)
canDelete
- canDelete or null
for nonepublic Boolean getCanDeleteChildren()
null
for nonepublic File.Capabilities setCanDeleteChildren(Boolean canDeleteChildren)
canDeleteChildren
- canDeleteChildren or null
for nonepublic Boolean getCanDownload()
null
for nonepublic File.Capabilities setCanDownload(Boolean canDownload)
canDownload
- canDownload or null
for nonepublic Boolean getCanEdit()
null
for nonepublic File.Capabilities setCanEdit(Boolean canEdit)
canEdit
- canEdit or null
for nonepublic Boolean getCanListChildren()
null
for nonepublic File.Capabilities setCanListChildren(Boolean canListChildren)
canListChildren
- canListChildren or null
for nonepublic Boolean getCanModifyContent()
null
for nonepublic File.Capabilities setCanModifyContent(Boolean canModifyContent)
canModifyContent
- canModifyContent or null
for nonepublic Boolean getCanModifyContentRestriction()
null
for nonepublic File.Capabilities setCanModifyContentRestriction(Boolean canModifyContentRestriction)
canModifyContentRestriction
- canModifyContentRestriction or null
for nonepublic Boolean getCanMoveChildrenOutOfDrive()
null
for nonepublic File.Capabilities setCanMoveChildrenOutOfDrive(Boolean canMoveChildrenOutOfDrive)
canMoveChildrenOutOfDrive
- canMoveChildrenOutOfDrive or null
for nonepublic Boolean getCanMoveChildrenOutOfTeamDrive()
null
for nonepublic File.Capabilities setCanMoveChildrenOutOfTeamDrive(Boolean canMoveChildrenOutOfTeamDrive)
canMoveChildrenOutOfTeamDrive
- canMoveChildrenOutOfTeamDrive or null
for nonepublic Boolean getCanMoveChildrenWithinDrive()
null
for nonepublic File.Capabilities setCanMoveChildrenWithinDrive(Boolean canMoveChildrenWithinDrive)
canMoveChildrenWithinDrive
- canMoveChildrenWithinDrive or null
for nonepublic Boolean getCanMoveChildrenWithinTeamDrive()
null
for nonepublic File.Capabilities setCanMoveChildrenWithinTeamDrive(Boolean canMoveChildrenWithinTeamDrive)
canMoveChildrenWithinTeamDrive
- canMoveChildrenWithinTeamDrive or null
for nonepublic Boolean getCanMoveItemIntoTeamDrive()
null
for nonepublic File.Capabilities setCanMoveItemIntoTeamDrive(Boolean canMoveItemIntoTeamDrive)
canMoveItemIntoTeamDrive
- canMoveItemIntoTeamDrive or null
for nonepublic Boolean getCanMoveItemOutOfDrive()
null
for nonepublic File.Capabilities setCanMoveItemOutOfDrive(Boolean canMoveItemOutOfDrive)
canMoveItemOutOfDrive
- canMoveItemOutOfDrive or null
for nonepublic Boolean getCanMoveItemOutOfTeamDrive()
null
for nonepublic File.Capabilities setCanMoveItemOutOfTeamDrive(Boolean canMoveItemOutOfTeamDrive)
canMoveItemOutOfTeamDrive
- canMoveItemOutOfTeamDrive or null
for nonepublic Boolean getCanMoveItemWithinDrive()
null
for nonepublic File.Capabilities setCanMoveItemWithinDrive(Boolean canMoveItemWithinDrive)
canMoveItemWithinDrive
- canMoveItemWithinDrive or null
for nonepublic Boolean getCanMoveItemWithinTeamDrive()
null
for nonepublic File.Capabilities setCanMoveItemWithinTeamDrive(Boolean canMoveItemWithinTeamDrive)
canMoveItemWithinTeamDrive
- canMoveItemWithinTeamDrive or null
for nonepublic Boolean getCanMoveTeamDriveItem()
null
for nonepublic File.Capabilities setCanMoveTeamDriveItem(Boolean canMoveTeamDriveItem)
canMoveTeamDriveItem
- canMoveTeamDriveItem or null
for nonepublic Boolean getCanReadDrive()
null
for nonepublic File.Capabilities setCanReadDrive(Boolean canReadDrive)
canReadDrive
- canReadDrive or null
for nonepublic Boolean getCanReadRevisions()
null
for nonepublic File.Capabilities setCanReadRevisions(Boolean canReadRevisions)
canReadRevisions
- canReadRevisions or null
for nonepublic Boolean getCanReadTeamDrive()
null
for nonepublic File.Capabilities setCanReadTeamDrive(Boolean canReadTeamDrive)
canReadTeamDrive
- canReadTeamDrive or null
for nonepublic Boolean getCanRemoveChildren()
null
for nonepublic File.Capabilities setCanRemoveChildren(Boolean canRemoveChildren)
canRemoveChildren
- canRemoveChildren or null
for nonepublic Boolean getCanRemoveMyDriveParent()
null
for nonepublic File.Capabilities setCanRemoveMyDriveParent(Boolean canRemoveMyDriveParent)
canRemoveMyDriveParent
- canRemoveMyDriveParent or null
for nonepublic Boolean getCanRename()
null
for nonepublic File.Capabilities setCanRename(Boolean canRename)
canRename
- canRename or null
for nonepublic Boolean getCanShare()
null
for nonepublic File.Capabilities setCanShare(Boolean canShare)
canShare
- canShare or null
for nonepublic Boolean getCanTrash()
null
for nonepublic File.Capabilities setCanTrash(Boolean canTrash)
canTrash
- canTrash or null
for nonepublic Boolean getCanTrashChildren()
null
for nonepublic File.Capabilities setCanTrashChildren(Boolean canTrashChildren)
canTrashChildren
- canTrashChildren or null
for nonepublic Boolean getCanUntrash()
null
for nonepublic File.Capabilities setCanUntrash(Boolean canUntrash)
canUntrash
- canUntrash or null
for nonepublic File.Capabilities set(String fieldName, Object value)
set
in class GenericJson
public File.Capabilities clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.