drive
v2
|
#include <file.h>
Static Public Member Functions | |
static FileCapabilities * | New () |
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'canAddChildren
' attribute.
|
inline |
Clears the 'canAddMyDriveParent
' attribute.
|
inline |
Clears the 'canChangeCopyRequiresWriterPermission
' attribute.
|
inline |
Clears the 'canChangeRestrictedDownload
' attribute.
|
inline |
Clears the 'canComment
' attribute.
|
inline |
Clears the 'canCopy
' attribute.
|
inline |
Clears the 'canDelete
' attribute.
|
inline |
Clears the 'canDeleteChildren
' attribute.
|
inline |
Clears the 'canDownload
' attribute.
|
inline |
Clears the 'canEdit
' attribute.
|
inline |
Clears the 'canListChildren
' attribute.
|
inline |
Clears the 'canModifyContent
' attribute.
|
inline |
Clears the 'canMoveChildrenOutOfDrive
' attribute.
|
inline |
Clears the 'canMoveChildrenOutOfTeamDrive
' attribute.
|
inline |
Clears the 'canMoveChildrenWithinDrive
' attribute.
|
inline |
Clears the 'canMoveChildrenWithinTeamDrive
' attribute.
|
inline |
Clears the 'canMoveItemIntoTeamDrive
' attribute.
|
inline |
Clears the 'canMoveItemOutOfDrive
' attribute.
|
inline |
Clears the 'canMoveItemOutOfTeamDrive
' attribute.
|
inline |
Clears the 'canMoveItemWithinDrive
' attribute.
|
inline |
Clears the 'canMoveItemWithinTeamDrive
' attribute.
|
inline |
Clears the 'canMoveTeamDriveItem
' attribute.
|
inline |
Clears the 'canReadDrive
' attribute.
|
inline |
Clears the 'canReadRevisions
' attribute.
|
inline |
Clears the 'canReadTeamDrive
' attribute.
|
inline |
Clears the 'canRemoveChildren
' attribute.
|
inline |
Clears the 'canRemoveMyDriveParent
' attribute.
|
inline |
Clears the 'canRename
' attribute.
|
inline |
Clears the 'canShare
' attribute.
|
inline |
Clears the 'canTrash
' attribute.
|
inline |
Clears the 'canTrashChildren
' attribute.
|
inline |
Clears the 'canUntrash
' attribute.
|
inline |
Get the value of the 'canAddChildren
' attribute.
|
inline |
Get the value of the 'canAddMyDriveParent
' attribute.
|
inline |
Get the value of the 'canChangeCopyRequiresWriterPermission
' attribute.
|
inline |
Get the value of the 'canChangeRestrictedDownload
' attribute.
|
inline |
Get the value of the 'canComment
' attribute.
|
inline |
Get the value of the 'canCopy
' attribute.
|
inline |
Get the value of the 'canDelete
' attribute.
|
inline |
Get the value of the 'canDeleteChildren
' attribute.
|
inline |
Get the value of the 'canDownload
' attribute.
|
inline |
Get the value of the 'canEdit
' attribute.
|
inline |
Get the value of the 'canListChildren
' attribute.
|
inline |
Get the value of the 'canModifyContent
' attribute.
|
inline |
Get the value of the 'canMoveChildrenOutOfDrive
' attribute.
|
inline |
Get the value of the 'canMoveChildrenOutOfTeamDrive
' attribute.
|
inline |
Get the value of the 'canMoveChildrenWithinDrive
' attribute.
|
inline |
Get the value of the 'canMoveChildrenWithinTeamDrive
' attribute.
|
inline |
Get the value of the 'canMoveItemIntoTeamDrive
' attribute.
|
inline |
Get the value of the 'canMoveItemOutOfDrive
' attribute.
|
inline |
Get the value of the 'canMoveItemOutOfTeamDrive
' attribute.
|
inline |
Get the value of the 'canMoveItemWithinDrive
' attribute.
|
inline |
Get the value of the 'canMoveItemWithinTeamDrive
' attribute.
|
inline |
Get the value of the 'canMoveTeamDriveItem
' attribute.
|
inline |
Get the value of the 'canReadDrive
' attribute.
|
inline |
Get the value of the 'canReadRevisions
' attribute.
|
inline |
Get the value of the 'canReadTeamDrive
' attribute.
|
inline |
Get the value of the 'canRemoveChildren
' attribute.
|
inline |
Get the value of the 'canRemoveMyDriveParent
' attribute.
|
inline |
Get the value of the 'canRename
' attribute.
|
inline |
Get the value of the 'canShare
' attribute.
|
inline |
Get the value of the 'canTrash
' attribute.
|
inline |
Get the value of the 'canTrashChildren
' attribute.
|
inline |
Get the value of the 'canUntrash
' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_drive_api::FileCapabilities
|
inline |
Determine if the 'canAddChildren
' attribute was set.
canAddChildren
' attribute was set.
|
inline |
Determine if the 'canAddMyDriveParent
' attribute was set.
canAddMyDriveParent
' attribute was set.
|
inline |
Determine if the 'canChangeCopyRequiresWriterPermission
' attribute was set.
canChangeCopyRequiresWriterPermission
' attribute was set.
|
inline |
Determine if the 'canChangeRestrictedDownload
' attribute was set.
canChangeRestrictedDownload
' attribute was set.
|
inline |
Determine if the 'canComment
' attribute was set.
canComment
' attribute was set.
|
inline |
Determine if the 'canCopy
' attribute was set.
canCopy
' attribute was set.
|
inline |
Determine if the 'canDelete
' attribute was set.
canDelete
' attribute was set.
|
inline |
Determine if the 'canDeleteChildren
' attribute was set.
canDeleteChildren
' attribute was set.
|
inline |
Determine if the 'canDownload
' attribute was set.
canDownload
' attribute was set.
|
inline |
Determine if the 'canEdit
' attribute was set.
canEdit
' attribute was set.
|
inline |
Determine if the 'canListChildren
' attribute was set.
canListChildren
' attribute was set.
|
inline |
Determine if the 'canModifyContent
' attribute was set.
canModifyContent
' attribute was set.
|
inline |
Determine if the 'canMoveChildrenOutOfDrive
' attribute was set.
canMoveChildrenOutOfDrive
' attribute was set.
|
inline |
Determine if the 'canMoveChildrenOutOfTeamDrive
' attribute was set.
canMoveChildrenOutOfTeamDrive
' attribute was set.
|
inline |
Determine if the 'canMoveChildrenWithinDrive
' attribute was set.
canMoveChildrenWithinDrive
' attribute was set.
|
inline |
Determine if the 'canMoveChildrenWithinTeamDrive
' attribute was set.
canMoveChildrenWithinTeamDrive
' attribute was set.
|
inline |
Determine if the 'canMoveItemIntoTeamDrive
' attribute was set.
canMoveItemIntoTeamDrive
' attribute was set.
|
inline |
Determine if the 'canMoveItemOutOfDrive
' attribute was set.
canMoveItemOutOfDrive
' attribute was set.
|
inline |
Determine if the 'canMoveItemOutOfTeamDrive
' attribute was set.
canMoveItemOutOfTeamDrive
' attribute was set.
|
inline |
Determine if the 'canMoveItemWithinDrive
' attribute was set.
canMoveItemWithinDrive
' attribute was set.
|
inline |
Determine if the 'canMoveItemWithinTeamDrive
' attribute was set.
canMoveItemWithinTeamDrive
' attribute was set.
|
inline |
Determine if the 'canMoveTeamDriveItem
' attribute was set.
canMoveTeamDriveItem
' attribute was set.
|
inline |
Determine if the 'canReadDrive
' attribute was set.
canReadDrive
' attribute was set.
|
inline |
Determine if the 'canReadRevisions
' attribute was set.
canReadRevisions
' attribute was set.
|
inline |
Determine if the 'canReadTeamDrive
' attribute was set.
canReadTeamDrive
' attribute was set.
|
inline |
Determine if the 'canRemoveChildren
' attribute was set.
canRemoveChildren
' attribute was set.
|
inline |
Determine if the 'canRemoveMyDriveParent
' attribute was set.
canRemoveMyDriveParent
' attribute was set.
|
inline |
Determine if the 'canRename
' attribute was set.
canRename
' attribute was set.
|
inline |
Determine if the 'canShare
' attribute was set.
canShare
' attribute was set.
|
inline |
Determine if the 'canTrash
' attribute was set.
canTrash
' attribute was set.
|
inline |
Determine if the 'canTrashChildren
' attribute was set.
canTrashChildren
' attribute was set.
|
inline |
Determine if the 'canUntrash
' attribute was set.
canUntrash
' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'canAddChildren
' attribute.
Whether the current user can add children to this folder. This is always false when the item is not a folder.
[in] | value | The new value. |
|
inline |
Change the 'canAddMyDriveParent
' attribute.
Whether the current user can add a parent for the item without removing an existing parent in the same request. Not populated for shared drive files.
[in] | value | The new value. |
|
inline |
Change the 'canChangeCopyRequiresWriterPermission
' attribute.
Whether the current user can change the copyRequiresWriterPermission restriction of this file.
[in] | value | The new value. |
|
inline |
|
inline |
Change the 'canComment
' attribute.
Whether the current user can comment on this file.
[in] | value | The new value. |
|
inline |
Change the 'canCopy
' attribute.
Whether the current user can copy this file. For an item in a shared drive, whether the current user can copy non-folder descendants of this item, or this item itself if it is not a folder.
[in] | value | The new value. |
|
inline |
Change the 'canDelete
' attribute.
Whether the current user can delete this file.
[in] | value | The new value. |
|
inline |
Change the 'canDeleteChildren
' attribute.
Whether the current user can delete children of this folder. This is false when the item is not a folder. Only populated for items in shared drives.
[in] | value | The new value. |
|
inline |
Change the 'canDownload
' attribute.
Whether the current user can download this file.
[in] | value | The new value. |
|
inline |
Change the 'canEdit
' attribute.
Whether the current user can edit this file. Other factors may limit the type of changes a user can make to a file. For example, see canChangeCopyRequiresWriterPermission or canModifyContent.
[in] | value | The new value. |
|
inline |
Change the 'canListChildren
' attribute.
Whether the current user can list the children of this folder. This is always false when the item is not a folder.
[in] | value | The new value. |
|
inline |
Change the 'canModifyContent
' attribute.
Whether the current user can modify the content of this file.
[in] | value | The new value. |
|
inline |
Change the 'canMoveChildrenOutOfDrive
' attribute.
Whether the current user can move children of this folder outside of the shared drive. This is false when the item is not a folder. Only populated for items in shared drives.
[in] | value | The new value. |
|
inline |
Change the 'canMoveChildrenOutOfTeamDrive
' attribute.
Deprecated - use canMoveChildrenOutOfDrive instead.
[in] | value | The new value. |
|
inline |
Change the 'canMoveChildrenWithinDrive
' attribute.
Whether the current user can move children of this folder within the shared drive. This is false when the item is not a folder. Only populated for items in shared drives.
[in] | value | The new value. |
|
inline |
Change the 'canMoveChildrenWithinTeamDrive
' attribute.
Deprecated - use canMoveChildrenWithinDrive instead.
[in] | value | The new value. |
|
inline |
Change the 'canMoveItemIntoTeamDrive
' attribute.
Deprecated - use canMoveItemOutOfDrive instead.
[in] | value | The new value. |
|
inline |
Change the 'canMoveItemOutOfDrive
' attribute.
Whether the current user can move this item outside of this drive by changing its parent. Note that a request to change the parent of the item may still fail depending on the new parent that is being added.
[in] | value | The new value. |
|
inline |
Change the 'canMoveItemOutOfTeamDrive
' attribute.
Deprecated - use canMoveItemOutOfDrive instead.
[in] | value | The new value. |
|
inline |
Change the 'canMoveItemWithinDrive
' attribute.
Whether the current user can move this item within this shared drive. Note that a request to change the parent of the item may still fail depending on the new parent that is being added. Only populated for items in shared drives.
[in] | value | The new value. |
|
inline |
Change the 'canMoveItemWithinTeamDrive
' attribute.
Deprecated - use canMoveItemWithinDrive instead.
[in] | value | The new value. |
|
inline |
Change the 'canMoveTeamDriveItem
' attribute.
Deprecated - use canMoveItemWithinDrive or canMoveItemOutOfDrive instead.
[in] | value | The new value. |
|
inline |
Change the 'canReadDrive
' attribute.
Whether the current user can read the shared drive to which this file belongs. Only populated for items in shared drives.
[in] | value | The new value. |
|
inline |
Change the 'canReadRevisions
' attribute.
Whether the current user can read the revisions resource of this file. For a shared drive item, whether revisions of non-folder descendants of this item, or this item itself if it is not a folder, can be read.
[in] | value | The new value. |
|
inline |
Change the 'canReadTeamDrive
' attribute.
Deprecated - use canReadDrive instead.
[in] | value | The new value. |
|
inline |
Change the 'canRemoveChildren
' attribute.
Whether the current user can remove children from this folder. This is always false when the item is not a folder. For a folder in a shared drive, use canDeleteChildren or canTrashChildren instead.
[in] | value | The new value. |
|
inline |
Change the 'canRemoveMyDriveParent
' attribute.
Whether the current user can remove a parent from the item without adding another parent in the same request. Not populated for shared drive files.
[in] | value | The new value. |
|
inline |
Change the 'canRename
' attribute.
Whether the current user can rename this file.
[in] | value | The new value. |
|
inline |
Change the 'canShare
' attribute.
Whether the current user can modify the sharing settings for this file.
[in] | value | The new value. |
|
inline |
Change the 'canTrash
' attribute.
Whether the current user can move this file to trash.
[in] | value | The new value. |
|
inline |
Change the 'canTrashChildren
' attribute.
Whether the current user can trash children of this folder. This is false when the item is not a folder. Only populated for items in shared drives.
[in] | value | The new value. |
|
inline |
Change the 'canUntrash
' attribute.
Whether the current user can restore this file from trash.
[in] | value | The new value. |