public static final class TeamDrive.Capabilities
extends com.google.api.client.json.GenericJson
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
TeamDrive.Capabilities() |
Modifier and Type | Method and Description |
---|---|
TeamDrive.Capabilities |
clone() |
java.lang.Boolean |
getCanAddChildren()
Whether the current user can add children to folders in this Team Drive.
|
java.lang.Boolean |
getCanChangeTeamDriveBackground()
Whether the current user can change the background of this Team Drive.
|
java.lang.Boolean |
getCanComment()
Whether the current user can comment on files in this Team Drive.
|
java.lang.Boolean |
getCanCopy()
Whether the current user can copy files in this Team Drive.
|
java.lang.Boolean |
getCanDeleteTeamDrive()
Whether the current user can delete this Team Drive.
|
java.lang.Boolean |
getCanDownload()
Whether the current user can download files in this Team Drive.
|
java.lang.Boolean |
getCanEdit()
Whether the current user can edit files in this Team Drive
|
java.lang.Boolean |
getCanListChildren()
Whether the current user can list the children of folders in this Team Drive.
|
java.lang.Boolean |
getCanManageMembers()
Whether the current user can add members to this Team 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 Team Drive.
|
java.lang.Boolean |
getCanRemoveChildren()
Whether the current user can remove children from folders in this Team Drive.
|
java.lang.Boolean |
getCanRename()
Whether the current user can rename files or folders in this Team Drive.
|
java.lang.Boolean |
getCanRenameTeamDrive()
Whether the current user can rename this Team Drive.
|
java.lang.Boolean |
getCanShare()
Whether the current user can share files or folders in this Team Drive.
|
TeamDrive.Capabilities |
set(java.lang.String fieldName,
java.lang.Object value) |
TeamDrive.Capabilities |
setCanAddChildren(java.lang.Boolean canAddChildren)
Whether the current user can add children to folders in this Team Drive.
|
TeamDrive.Capabilities |
setCanChangeTeamDriveBackground(java.lang.Boolean canChangeTeamDriveBackground)
Whether the current user can change the background of this Team Drive.
|
TeamDrive.Capabilities |
setCanComment(java.lang.Boolean canComment)
Whether the current user can comment on files in this Team Drive.
|
TeamDrive.Capabilities |
setCanCopy(java.lang.Boolean canCopy)
Whether the current user can copy files in this Team Drive.
|
TeamDrive.Capabilities |
setCanDeleteTeamDrive(java.lang.Boolean canDeleteTeamDrive)
Whether the current user can delete this Team Drive.
|
TeamDrive.Capabilities |
setCanDownload(java.lang.Boolean canDownload)
Whether the current user can download files in this Team Drive.
|
TeamDrive.Capabilities |
setCanEdit(java.lang.Boolean canEdit)
Whether the current user can edit files in this Team Drive
|
TeamDrive.Capabilities |
setCanListChildren(java.lang.Boolean canListChildren)
Whether the current user can list the children of folders in this Team Drive.
|
TeamDrive.Capabilities |
setCanManageMembers(java.lang.Boolean canManageMembers)
Whether the current user can add members to this Team Drive or remove them or change their
role.
|
TeamDrive.Capabilities |
setCanReadRevisions(java.lang.Boolean canReadRevisions)
Whether the current user can read the revisions resource of files in this Team Drive.
|
TeamDrive.Capabilities |
setCanRemoveChildren(java.lang.Boolean canRemoveChildren)
Whether the current user can remove children from folders in this Team Drive.
|
TeamDrive.Capabilities |
setCanRename(java.lang.Boolean canRename)
Whether the current user can rename files or folders in this Team Drive.
|
TeamDrive.Capabilities |
setCanRenameTeamDrive(java.lang.Boolean canRenameTeamDrive)
Whether the current user can rename this Team Drive.
|
TeamDrive.Capabilities |
setCanShare(java.lang.Boolean canShare)
Whether the current user can share files or folders in this Team Drive.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.Boolean getCanAddChildren()
null
for nonepublic TeamDrive.Capabilities setCanAddChildren(java.lang.Boolean canAddChildren)
canAddChildren
- canAddChildren or null
for nonepublic java.lang.Boolean getCanChangeTeamDriveBackground()
null
for nonepublic TeamDrive.Capabilities setCanChangeTeamDriveBackground(java.lang.Boolean canChangeTeamDriveBackground)
canChangeTeamDriveBackground
- canChangeTeamDriveBackground or null
for nonepublic java.lang.Boolean getCanComment()
null
for nonepublic TeamDrive.Capabilities setCanComment(java.lang.Boolean canComment)
canComment
- canComment or null
for nonepublic java.lang.Boolean getCanCopy()
null
for nonepublic TeamDrive.Capabilities setCanCopy(java.lang.Boolean canCopy)
canCopy
- canCopy or null
for nonepublic java.lang.Boolean getCanDeleteTeamDrive()
null
for nonepublic TeamDrive.Capabilities setCanDeleteTeamDrive(java.lang.Boolean canDeleteTeamDrive)
canDeleteTeamDrive
- canDeleteTeamDrive or null
for nonepublic java.lang.Boolean getCanDownload()
null
for nonepublic TeamDrive.Capabilities setCanDownload(java.lang.Boolean canDownload)
canDownload
- canDownload or null
for nonepublic java.lang.Boolean getCanEdit()
null
for nonepublic TeamDrive.Capabilities setCanEdit(java.lang.Boolean canEdit)
canEdit
- canEdit or null
for nonepublic java.lang.Boolean getCanListChildren()
null
for nonepublic TeamDrive.Capabilities setCanListChildren(java.lang.Boolean canListChildren)
canListChildren
- canListChildren or null
for nonepublic java.lang.Boolean getCanManageMembers()
null
for nonepublic TeamDrive.Capabilities setCanManageMembers(java.lang.Boolean canManageMembers)
canManageMembers
- canManageMembers or null
for nonepublic java.lang.Boolean getCanReadRevisions()
null
for nonepublic TeamDrive.Capabilities setCanReadRevisions(java.lang.Boolean canReadRevisions)
canReadRevisions
- canReadRevisions or null
for nonepublic java.lang.Boolean getCanRemoveChildren()
null
for nonepublic TeamDrive.Capabilities setCanRemoveChildren(java.lang.Boolean canRemoveChildren)
canRemoveChildren
- canRemoveChildren or null
for nonepublic java.lang.Boolean getCanRename()
null
for nonepublic TeamDrive.Capabilities setCanRename(java.lang.Boolean canRename)
canRename
- canRename or null
for nonepublic java.lang.Boolean getCanRenameTeamDrive()
null
for nonepublic TeamDrive.Capabilities setCanRenameTeamDrive(java.lang.Boolean canRenameTeamDrive)
canRenameTeamDrive
- canRenameTeamDrive or null
for nonepublic java.lang.Boolean getCanShare()
null
for nonepublic TeamDrive.Capabilities setCanShare(java.lang.Boolean canShare)
canShare
- canShare or null
for nonepublic TeamDrive.Capabilities set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public TeamDrive.Capabilities clone()
clone
in class com.google.api.client.json.GenericJson