public static final class File.Capabilities
extends com.google.api.client.json.GenericJson
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
File.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 |
getCanChangeViewersCanCopyContent()
Whether the current user can change whether viewers can copy the contents of this file.
|
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 |
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 |
getCanMoveItemIntoTeamDrive()
Whether the current user can move this item into a Team Drive.
|
java.lang.Boolean |
getCanMoveTeamDriveItem()
Whether the current user can move this Team Drive item by changing its parent.
|
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 |
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 |
setCanChangeViewersCanCopyContent(java.lang.Boolean canChangeViewersCanCopyContent)
Whether the current user can change whether viewers can copy the contents of this file.
|
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 |
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 |
setCanMoveItemIntoTeamDrive(java.lang.Boolean canMoveItemIntoTeamDrive)
Whether the current user can move this item into a Team Drive.
|
File.Capabilities |
setCanMoveTeamDriveItem(java.lang.Boolean canMoveTeamDriveItem)
Whether the current user can move this Team Drive item by changing its parent.
|
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 |
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
public java.lang.Boolean getCanAddChildren()
null
for nonepublic File.Capabilities setCanAddChildren(java.lang.Boolean canAddChildren)
canAddChildren
- canAddChildren or null
for nonepublic java.lang.Boolean getCanChangeViewersCanCopyContent()
null
for nonepublic File.Capabilities setCanChangeViewersCanCopyContent(java.lang.Boolean canChangeViewersCanCopyContent)
canChangeViewersCanCopyContent
- canChangeViewersCanCopyContent 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 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 getCanMoveItemIntoTeamDrive()
null
for nonepublic File.Capabilities setCanMoveItemIntoTeamDrive(java.lang.Boolean canMoveItemIntoTeamDrive)
canMoveItemIntoTeamDrive
- canMoveItemIntoTeamDrive 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 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