GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Capabilities() |
Modifier and Type | Method and Description |
---|---|
Drive.Capabilities |
clone() |
Boolean |
getCanAddChildren()
Whether the current user can add children to folders in this shared drive.
|
Boolean |
getCanChangeCopyRequiresWriterPermissionRestriction()
Whether the current user can change the copyRequiresWriterPermission restriction of this shared
drive.
|
Boolean |
getCanChangeDomainUsersOnlyRestriction()
Whether the current user can change the domainUsersOnly restriction of this shared drive.
|
Boolean |
getCanChangeDriveBackground()
Whether the current user can change the background of this shared drive.
|
Boolean |
getCanChangeDriveMembersOnlyRestriction()
Whether the current user can change the driveMembersOnly restriction of this shared drive.
|
Boolean |
getCanComment()
Whether the current user can comment on files in this shared drive.
|
Boolean |
getCanCopy()
Whether the current user can copy files in this shared drive.
|
Boolean |
getCanDeleteChildren()
Whether the current user can delete children from folders in this shared drive.
|
Boolean |
getCanDeleteDrive()
Whether the current user can delete this shared drive.
|
Boolean |
getCanDownload()
Whether the current user can download files in this shared drive.
|
Boolean |
getCanEdit()
Whether the current user can edit files in this shared drive
|
Boolean |
getCanListChildren()
Whether the current user can list the children of folders in this shared drive.
|
Boolean |
getCanManageMembers()
Whether the current user can add members to this shared drive or remove them or change their
role.
|
Boolean |
getCanReadRevisions()
Whether the current user can read the revisions resource of files in this shared drive.
|
Boolean |
getCanRename()
Whether the current user can rename files or folders in this shared drive.
|
Boolean |
getCanRenameDrive()
Whether the current user can rename this shared drive.
|
Boolean |
getCanResetDriveRestrictions()
Whether the current user can reset the shared drive restrictions to defaults.
|
Boolean |
getCanShare()
Whether the current user can share files or folders in this shared drive.
|
Boolean |
getCanTrashChildren()
Whether the current user can trash children from folders in this shared drive.
|
Drive.Capabilities |
set(String fieldName,
Object value) |
Drive.Capabilities |
setCanAddChildren(Boolean canAddChildren)
Whether the current user can add children to folders in this shared drive.
|
Drive.Capabilities |
setCanChangeCopyRequiresWriterPermissionRestriction(Boolean canChangeCopyRequiresWriterPermissionRestriction)
Whether the current user can change the copyRequiresWriterPermission restriction of this shared
drive.
|
Drive.Capabilities |
setCanChangeDomainUsersOnlyRestriction(Boolean canChangeDomainUsersOnlyRestriction)
Whether the current user can change the domainUsersOnly restriction of this shared drive.
|
Drive.Capabilities |
setCanChangeDriveBackground(Boolean canChangeDriveBackground)
Whether the current user can change the background of this shared drive.
|
Drive.Capabilities |
setCanChangeDriveMembersOnlyRestriction(Boolean canChangeDriveMembersOnlyRestriction)
Whether the current user can change the driveMembersOnly restriction of this shared drive.
|
Drive.Capabilities |
setCanComment(Boolean canComment)
Whether the current user can comment on files in this shared drive.
|
Drive.Capabilities |
setCanCopy(Boolean canCopy)
Whether the current user can copy files in this shared drive.
|
Drive.Capabilities |
setCanDeleteChildren(Boolean canDeleteChildren)
Whether the current user can delete children from folders in this shared drive.
|
Drive.Capabilities |
setCanDeleteDrive(Boolean canDeleteDrive)
Whether the current user can delete this shared drive.
|
Drive.Capabilities |
setCanDownload(Boolean canDownload)
Whether the current user can download files in this shared drive.
|
Drive.Capabilities |
setCanEdit(Boolean canEdit)
Whether the current user can edit files in this shared drive
|
Drive.Capabilities |
setCanListChildren(Boolean canListChildren)
Whether the current user can list the children of folders in this shared drive.
|
Drive.Capabilities |
setCanManageMembers(Boolean canManageMembers)
Whether the current user can add members to this shared drive or remove them or change their
role.
|
Drive.Capabilities |
setCanReadRevisions(Boolean canReadRevisions)
Whether the current user can read the revisions resource of files in this shared drive.
|
Drive.Capabilities |
setCanRename(Boolean canRename)
Whether the current user can rename files or folders in this shared drive.
|
Drive.Capabilities |
setCanRenameDrive(Boolean canRenameDrive)
Whether the current user can rename this shared drive.
|
Drive.Capabilities |
setCanResetDriveRestrictions(Boolean canResetDriveRestrictions)
Whether the current user can reset the shared drive restrictions to defaults.
|
Drive.Capabilities |
setCanShare(Boolean canShare)
Whether the current user can share files or folders in this shared drive.
|
Drive.Capabilities |
setCanTrashChildren(Boolean canTrashChildren)
Whether the current user can trash children from folders in this shared drive.
|
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 Drive.Capabilities setCanAddChildren(Boolean canAddChildren)
canAddChildren
- canAddChildren or null
for nonepublic Boolean getCanChangeCopyRequiresWriterPermissionRestriction()
null
for nonepublic Drive.Capabilities setCanChangeCopyRequiresWriterPermissionRestriction(Boolean canChangeCopyRequiresWriterPermissionRestriction)
canChangeCopyRequiresWriterPermissionRestriction
- canChangeCopyRequiresWriterPermissionRestriction or null
for nonepublic Boolean getCanChangeDomainUsersOnlyRestriction()
null
for nonepublic Drive.Capabilities setCanChangeDomainUsersOnlyRestriction(Boolean canChangeDomainUsersOnlyRestriction)
canChangeDomainUsersOnlyRestriction
- canChangeDomainUsersOnlyRestriction or null
for nonepublic Boolean getCanChangeDriveBackground()
null
for nonepublic Drive.Capabilities setCanChangeDriveBackground(Boolean canChangeDriveBackground)
canChangeDriveBackground
- canChangeDriveBackground or null
for nonepublic Boolean getCanChangeDriveMembersOnlyRestriction()
null
for nonepublic Drive.Capabilities setCanChangeDriveMembersOnlyRestriction(Boolean canChangeDriveMembersOnlyRestriction)
canChangeDriveMembersOnlyRestriction
- canChangeDriveMembersOnlyRestriction or null
for nonepublic Boolean getCanComment()
null
for nonepublic Drive.Capabilities setCanComment(Boolean canComment)
canComment
- canComment or null
for nonepublic Boolean getCanCopy()
null
for nonepublic Drive.Capabilities setCanCopy(Boolean canCopy)
canCopy
- canCopy or null
for nonepublic Boolean getCanDeleteChildren()
null
for nonepublic Drive.Capabilities setCanDeleteChildren(Boolean canDeleteChildren)
canDeleteChildren
- canDeleteChildren or null
for nonepublic Boolean getCanDeleteDrive()
null
for nonepublic Drive.Capabilities setCanDeleteDrive(Boolean canDeleteDrive)
canDeleteDrive
- canDeleteDrive or null
for nonepublic Boolean getCanDownload()
null
for nonepublic Drive.Capabilities setCanDownload(Boolean canDownload)
canDownload
- canDownload or null
for nonepublic Boolean getCanEdit()
null
for nonepublic Drive.Capabilities setCanEdit(Boolean canEdit)
canEdit
- canEdit or null
for nonepublic Boolean getCanListChildren()
null
for nonepublic Drive.Capabilities setCanListChildren(Boolean canListChildren)
canListChildren
- canListChildren or null
for nonepublic Boolean getCanManageMembers()
null
for nonepublic Drive.Capabilities setCanManageMembers(Boolean canManageMembers)
canManageMembers
- canManageMembers or null
for nonepublic Boolean getCanReadRevisions()
null
for nonepublic Drive.Capabilities setCanReadRevisions(Boolean canReadRevisions)
canReadRevisions
- canReadRevisions or null
for nonepublic Boolean getCanRename()
null
for nonepublic Drive.Capabilities setCanRename(Boolean canRename)
canRename
- canRename or null
for nonepublic Boolean getCanRenameDrive()
null
for nonepublic Drive.Capabilities setCanRenameDrive(Boolean canRenameDrive)
canRenameDrive
- canRenameDrive or null
for nonepublic Boolean getCanResetDriveRestrictions()
null
for nonepublic Drive.Capabilities setCanResetDriveRestrictions(Boolean canResetDriveRestrictions)
canResetDriveRestrictions
- canResetDriveRestrictions or null
for nonepublic Boolean getCanShare()
null
for nonepublic Drive.Capabilities setCanShare(Boolean canShare)
canShare
- canShare or null
for nonepublic Boolean getCanTrashChildren()
null
for nonepublic Drive.Capabilities setCanTrashChildren(Boolean canTrashChildren)
canTrashChildren
- canTrashChildren or null
for nonepublic Drive.Capabilities set(String fieldName, Object value)
set
in class GenericJson
public Drive.Capabilities clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.