public static final class Drive.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 |
|---|---|
Drive.Capabilities |
clone() |
java.lang.Boolean |
getCanAddChildren()
Whether the current user can add children to folders in this shared drive.
|
java.lang.Boolean |
getCanChangeCopyRequiresWriterPermissionRestriction()
Whether the current user can change the copyRequiresWriterPermission restriction of this shared
drive.
|
java.lang.Boolean |
getCanChangeDomainUsersOnlyRestriction()
Whether the current user can change the domainUsersOnly restriction of this shared drive.
|
java.lang.Boolean |
getCanChangeDriveBackground()
Whether the current user can change the background of this shared drive.
|
java.lang.Boolean |
getCanChangeDriveMembersOnlyRestriction()
Whether the current user can change the driveMembersOnly restriction of this shared drive.
|
java.lang.Boolean |
getCanComment()
Whether the current user can comment on files in this shared drive.
|
java.lang.Boolean |
getCanCopy()
Whether the current user can copy files in this shared drive.
|
java.lang.Boolean |
getCanDeleteChildren()
Whether the current user can delete children from folders in this shared drive.
|
java.lang.Boolean |
getCanDeleteDrive()
Whether the current user can delete this shared drive.
|
java.lang.Boolean |
getCanDownload()
Whether the current user can download files in this shared drive.
|
java.lang.Boolean |
getCanEdit()
Whether the current user can edit files in this shared drive
|
java.lang.Boolean |
getCanListChildren()
Whether the current user can list the children of folders in this shared drive.
|
java.lang.Boolean |
getCanManageMembers()
Whether the current user can add members to this shared drive or remove them or change their
role.
|
java.lang.Boolean |
getCanReadRevisions()
Whether the current user can read the revisions resource of files in this shared drive.
|
java.lang.Boolean |
getCanRename()
Whether the current user can rename files or folders in this shared drive.
|
java.lang.Boolean |
getCanRenameDrive()
Whether the current user can rename this shared drive.
|
java.lang.Boolean |
getCanShare()
Whether the current user can share files or folders in this shared drive.
|
java.lang.Boolean |
getCanTrashChildren()
Whether the current user can trash children from folders in this shared drive.
|
Drive.Capabilities |
set(java.lang.String fieldName,
java.lang.Object value) |
Drive.Capabilities |
setCanAddChildren(java.lang.Boolean canAddChildren)
Whether the current user can add children to folders in this shared drive.
|
Drive.Capabilities |
setCanChangeCopyRequiresWriterPermissionRestriction(java.lang.Boolean canChangeCopyRequiresWriterPermissionRestriction)
Whether the current user can change the copyRequiresWriterPermission restriction of this shared
drive.
|
Drive.Capabilities |
setCanChangeDomainUsersOnlyRestriction(java.lang.Boolean canChangeDomainUsersOnlyRestriction)
Whether the current user can change the domainUsersOnly restriction of this shared drive.
|
Drive.Capabilities |
setCanChangeDriveBackground(java.lang.Boolean canChangeDriveBackground)
Whether the current user can change the background of this shared drive.
|
Drive.Capabilities |
setCanChangeDriveMembersOnlyRestriction(java.lang.Boolean canChangeDriveMembersOnlyRestriction)
Whether the current user can change the driveMembersOnly restriction of this shared drive.
|
Drive.Capabilities |
setCanComment(java.lang.Boolean canComment)
Whether the current user can comment on files in this shared drive.
|
Drive.Capabilities |
setCanCopy(java.lang.Boolean canCopy)
Whether the current user can copy files in this shared drive.
|
Drive.Capabilities |
setCanDeleteChildren(java.lang.Boolean canDeleteChildren)
Whether the current user can delete children from folders in this shared drive.
|
Drive.Capabilities |
setCanDeleteDrive(java.lang.Boolean canDeleteDrive)
Whether the current user can delete this shared drive.
|
Drive.Capabilities |
setCanDownload(java.lang.Boolean canDownload)
Whether the current user can download files in this shared drive.
|
Drive.Capabilities |
setCanEdit(java.lang.Boolean canEdit)
Whether the current user can edit files in this shared drive
|
Drive.Capabilities |
setCanListChildren(java.lang.Boolean canListChildren)
Whether the current user can list the children of folders in this shared drive.
|
Drive.Capabilities |
setCanManageMembers(java.lang.Boolean canManageMembers)
Whether the current user can add members to this shared drive or remove them or change their
role.
|
Drive.Capabilities |
setCanReadRevisions(java.lang.Boolean canReadRevisions)
Whether the current user can read the revisions resource of files in this shared drive.
|
Drive.Capabilities |
setCanRename(java.lang.Boolean canRename)
Whether the current user can rename files or folders in this shared drive.
|
Drive.Capabilities |
setCanRenameDrive(java.lang.Boolean canRenameDrive)
Whether the current user can rename this shared drive.
|
Drive.Capabilities |
setCanShare(java.lang.Boolean canShare)
Whether the current user can share files or folders in this shared drive.
|
Drive.Capabilities |
setCanTrashChildren(java.lang.Boolean canTrashChildren)
Whether the current user can trash children from folders in this shared drive.
|
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 Drive.Capabilities setCanAddChildren(java.lang.Boolean canAddChildren)
canAddChildren - canAddChildren or null for nonepublic java.lang.Boolean getCanChangeCopyRequiresWriterPermissionRestriction()
null for nonepublic Drive.Capabilities setCanChangeCopyRequiresWriterPermissionRestriction(java.lang.Boolean canChangeCopyRequiresWriterPermissionRestriction)
canChangeCopyRequiresWriterPermissionRestriction - canChangeCopyRequiresWriterPermissionRestriction or null for nonepublic java.lang.Boolean getCanChangeDomainUsersOnlyRestriction()
null for nonepublic Drive.Capabilities setCanChangeDomainUsersOnlyRestriction(java.lang.Boolean canChangeDomainUsersOnlyRestriction)
canChangeDomainUsersOnlyRestriction - canChangeDomainUsersOnlyRestriction or null for nonepublic java.lang.Boolean getCanChangeDriveBackground()
null for nonepublic Drive.Capabilities setCanChangeDriveBackground(java.lang.Boolean canChangeDriveBackground)
canChangeDriveBackground - canChangeDriveBackground or null for nonepublic java.lang.Boolean getCanChangeDriveMembersOnlyRestriction()
null for nonepublic Drive.Capabilities setCanChangeDriveMembersOnlyRestriction(java.lang.Boolean canChangeDriveMembersOnlyRestriction)
canChangeDriveMembersOnlyRestriction - canChangeDriveMembersOnlyRestriction or null for nonepublic java.lang.Boolean getCanComment()
null for nonepublic Drive.Capabilities setCanComment(java.lang.Boolean canComment)
canComment - canComment or null for nonepublic java.lang.Boolean getCanCopy()
null for nonepublic Drive.Capabilities setCanCopy(java.lang.Boolean canCopy)
canCopy - canCopy or null for nonepublic java.lang.Boolean getCanDeleteChildren()
null for nonepublic Drive.Capabilities setCanDeleteChildren(java.lang.Boolean canDeleteChildren)
canDeleteChildren - canDeleteChildren or null for nonepublic java.lang.Boolean getCanDeleteDrive()
null for nonepublic Drive.Capabilities setCanDeleteDrive(java.lang.Boolean canDeleteDrive)
canDeleteDrive - canDeleteDrive or null for nonepublic java.lang.Boolean getCanDownload()
null for nonepublic Drive.Capabilities setCanDownload(java.lang.Boolean canDownload)
canDownload - canDownload or null for nonepublic java.lang.Boolean getCanEdit()
null for nonepublic Drive.Capabilities setCanEdit(java.lang.Boolean canEdit)
canEdit - canEdit or null for nonepublic java.lang.Boolean getCanListChildren()
null for nonepublic Drive.Capabilities setCanListChildren(java.lang.Boolean canListChildren)
canListChildren - canListChildren or null for nonepublic java.lang.Boolean getCanManageMembers()
null for nonepublic Drive.Capabilities setCanManageMembers(java.lang.Boolean canManageMembers)
canManageMembers - canManageMembers or null for nonepublic java.lang.Boolean getCanReadRevisions()
null for nonepublic Drive.Capabilities setCanReadRevisions(java.lang.Boolean canReadRevisions)
canReadRevisions - canReadRevisions or null for nonepublic java.lang.Boolean getCanRename()
null for nonepublic Drive.Capabilities setCanRename(java.lang.Boolean canRename)
canRename - canRename or null for nonepublic java.lang.Boolean getCanRenameDrive()
null for nonepublic Drive.Capabilities setCanRenameDrive(java.lang.Boolean canRenameDrive)
canRenameDrive - canRenameDrive or null for nonepublic java.lang.Boolean getCanShare()
null for nonepublic Drive.Capabilities setCanShare(java.lang.Boolean canShare)
canShare - canShare or null for nonepublic java.lang.Boolean getCanTrashChildren()
null for nonepublic Drive.Capabilities setCanTrashChildren(java.lang.Boolean canTrashChildren)
canTrashChildren - canTrashChildren or null for nonepublic Drive.Capabilities set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Drive.Capabilities clone()
clone in class com.google.api.client.json.GenericJson