drive
v2
|
#include <file.h>
Classes | |
class | FileCapabilities |
class | FileImageMediaMetadata |
class | FileIndexableText |
class | FileLabels |
class | FileShortcutDetails |
class | FileThumbnail |
class | FileVideoMediaMetadata |
Static Public Member Functions | |
static File * | New () |
The metadata for a file.
|
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 'alternateLink
' attribute.
|
inline |
Clears the 'appDataContents
' attribute.
|
inline |
Clears the 'canComment
' attribute.
|
inline |
Clears the 'canReadRevisions
' attribute.
|
inline |
Clears the 'capabilities
' attribute.
|
inline |
Clears the 'copyRequiresWriterPermission
' attribute.
|
inline |
Clears the 'copyable
' attribute.
|
inline |
Clears the 'createdDate
' attribute.
|
inline |
Clears the 'defaultOpenWithLink
' attribute.
|
inline |
Clears the 'description
' attribute.
|
inline |
Clears the 'downloadUrl
' attribute.
|
inline |
Clears the 'driveId
' attribute.
|
inline |
Clears the 'editable
' attribute.
|
inline |
Clears the 'embedLink
' attribute.
|
inline |
Clears the 'etag
' attribute.
|
inline |
Clears the 'explicitlyTrashed
' attribute.
|
inline |
Clears the 'exportLinks
' attribute.
|
inline |
Clears the 'fileExtension
' attribute.
|
inline |
Clears the 'fileSize
' attribute.
|
inline |
Clears the 'folderColorRgb
' attribute.
|
inline |
Clears the 'fullFileExtension
' attribute.
|
inline |
Clears the 'hasAugmentedPermissions
' attribute.
|
inline |
Clears the 'hasThumbnail
' attribute.
|
inline |
Clears the 'headRevisionId
' attribute.
|
inline |
Clears the 'iconLink
' attribute.
|
inline |
Clears the 'id
' attribute.
|
inline |
Clears the 'imageMediaMetadata
' attribute.
|
inline |
Clears the 'indexableText
' attribute.
|
inline |
Clears the 'isAppAuthorized
' attribute.
|
inline |
Clears the 'kind
' attribute.
|
inline |
Clears the 'labels
' attribute.
|
inline |
Clears the 'lastModifyingUser
' attribute.
|
inline |
Clears the 'lastModifyingUserName
' attribute.
|
inline |
Clears the 'lastViewedByMeDate
' attribute.
|
inline |
Clears the 'markedViewedByMeDate
' attribute.
|
inline |
Clears the 'md5Checksum
' attribute.
|
inline |
Clears the 'mimeType
' attribute.
|
inline |
Clears the 'modifiedByMeDate
' attribute.
|
inline |
Clears the 'modifiedDate
' attribute.
|
inline |
Clears the 'openWithLinks
' attribute.
|
inline |
Clears the 'originalFilename
' attribute.
|
inline |
Clears the 'ownedByMe
' attribute.
|
inline |
Clears the 'ownerNames
' attribute.
|
inline |
Clears the 'owners
' attribute.
|
inline |
Clears the 'parents
' attribute.
|
inline |
Clears the 'permissionIds
' attribute.
|
inline |
Clears the 'permissions
' attribute.
|
inline |
Clears the 'properties
' attribute.
|
inline |
Clears the 'quotaBytesUsed
' attribute.
|
inline |
Clears the 'selfLink
' attribute.
|
inline |
Clears the 'shareable
' attribute.
|
inline |
Clears the 'shared
' attribute.
|
inline |
Clears the 'sharedWithMeDate
' attribute.
|
inline |
Clears the 'sharingUser
' attribute.
|
inline |
Clears the 'shortcutDetails
' attribute.
|
inline |
Clears the 'spaces
' attribute.
|
inline |
Clears the 'teamDriveId
' attribute.
|
inline |
Clears the 'thumbnail
' attribute.
|
inline |
Clears the 'thumbnailLink
' attribute.
|
inline |
Clears the 'thumbnailVersion
' attribute.
|
inline |
Clears the 'title
' attribute.
|
inline |
Clears the 'trashedDate
' attribute.
|
inline |
Clears the 'trashingUser
' attribute.
|
inline |
Clears the 'userPermission
' attribute.
|
inline |
Clears the 'version
' attribute.
|
inline |
Clears the 'videoMediaMetadata
' attribute.
|
inline |
Clears the 'webContentLink
' attribute.
|
inline |
Clears the 'webViewLink
' attribute.
|
inline |
Clears the 'writersCanShare
' attribute.
|
inline |
Get the value of the 'alternateLink
' attribute.
|
inline |
Get the value of the 'appDataContents
' attribute.
|
inline |
Get the value of the 'canComment
' attribute.
|
inline |
Get the value of the 'canReadRevisions
' attribute.
|
inline |
Get a reference to the value of the 'capabilities
' attribute.
|
inline |
Get the value of the 'copyRequiresWriterPermission
' attribute.
|
inline |
Get the value of the 'copyable
' attribute.
|
inline |
Get the value of the 'createdDate
' attribute.
|
inline |
Get the value of the 'defaultOpenWithLink
' attribute.
|
inline |
Get the value of the 'description
' attribute.
|
inline |
Get the value of the 'downloadUrl
' attribute.
|
inline |
Get the value of the 'driveId
' attribute.
|
inline |
Get the value of the 'editable
' attribute.
|
inline |
Get the value of the 'embedLink
' attribute.
|
inline |
Get the value of the 'etag
' attribute.
|
inline |
Get the value of the 'explicitlyTrashed
' attribute.
|
inline |
Get a reference to the value of the 'exportLinks
' attribute.
|
inline |
Get the value of the 'fileExtension
' attribute.
|
inline |
Get the value of the 'fileSize
' attribute.
|
inline |
Get the value of the 'folderColorRgb
' attribute.
|
inline |
Get the value of the 'fullFileExtension
' attribute.
|
inline |
Get the value of the 'hasAugmentedPermissions
' attribute.
|
inline |
Get the value of the 'hasThumbnail
' attribute.
|
inline |
Get the value of the 'headRevisionId
' attribute.
|
inline |
Get the value of the 'iconLink
' attribute.
|
inline |
Get the value of the 'id
' attribute.
|
inline |
Get a reference to the value of the 'imageMediaMetadata
' attribute.
|
inline |
Get a reference to the value of the 'indexableText
' attribute.
|
inline |
Get the value of the 'isAppAuthorized
' attribute.
|
inline |
Get the value of the 'kind
' attribute.
|
inline |
Get a reference to the value of the 'labels
' attribute.
const User google_drive_api::File::get_last_modifying_user | ( | ) | const |
Get a reference to the value of the 'lastModifyingUser
' attribute.
|
inline |
Get the value of the 'lastModifyingUserName
' attribute.
|
inline |
Get the value of the 'lastViewedByMeDate
' attribute.
|
inline |
Get the value of the 'markedViewedByMeDate
' attribute.
|
inline |
Get the value of the 'md5Checksum
' attribute.
|
inline |
Get the value of the 'mimeType
' attribute.
|
inline |
Get the value of the 'modifiedByMeDate
' attribute.
|
inline |
Get the value of the 'modifiedDate
' attribute.
|
inline |
Get a reference to the value of the 'openWithLinks
' attribute.
|
inline |
Get the value of the 'originalFilename
' attribute.
|
inline |
Get the value of the 'ownedByMe
' attribute.
|
inline |
Get a reference to the value of the 'ownerNames
' attribute.
const client::JsonCppArray<User > google_drive_api::File::get_owners | ( | ) | const |
Get a reference to the value of the 'owners
' attribute.
const client::JsonCppArray<ParentReference > google_drive_api::File::get_parents | ( | ) | const |
Get a reference to the value of the 'parents
' attribute.
|
inline |
Get a reference to the value of the 'permissionIds
' attribute.
const client::JsonCppArray<Permission > google_drive_api::File::get_permissions | ( | ) | const |
Get a reference to the value of the 'permissions
' attribute.
const client::JsonCppArray<Property > google_drive_api::File::get_properties | ( | ) | const |
Get a reference to the value of the 'properties
' attribute.
|
inline |
Get the value of the 'quotaBytesUsed
' attribute.
|
inline |
Get the value of the 'selfLink
' attribute.
|
inline |
Get the value of the 'shareable
' attribute.
|
inline |
Get the value of the 'shared
' attribute.
|
inline |
Get the value of the 'sharedWithMeDate
' attribute.
const User google_drive_api::File::get_sharing_user | ( | ) | const |
Get a reference to the value of the 'sharingUser
' attribute.
|
inline |
Get a reference to the value of the 'shortcutDetails
' attribute.
|
inline |
Get a reference to the value of the 'spaces
' attribute.
|
inline |
Get the value of the 'teamDriveId
' attribute.
|
inline |
Get a reference to the value of the 'thumbnail
' attribute.
|
inline |
Get the value of the 'thumbnailLink
' attribute.
|
inline |
Get the value of the 'thumbnailVersion
' attribute.
|
inline |
Get the value of the 'title
' attribute.
|
inline |
Get the value of the 'trashedDate
' attribute.
const User google_drive_api::File::get_trashing_user | ( | ) | const |
Get a reference to the value of the 'trashingUser
' attribute.
const Permission google_drive_api::File::get_user_permission | ( | ) | const |
Get a reference to the value of the 'userPermission
' attribute.
|
inline |
Get the value of the 'version
' attribute.
|
inline |
Get a reference to the value of the 'videoMediaMetadata
' attribute.
|
inline |
Get the value of the 'webContentLink
' attribute.
|
inline |
Get the value of the 'webViewLink
' attribute.
|
inline |
Get the value of the 'writersCanShare
' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_drive_api::File
|
inline |
Determine if the 'alternateLink
' attribute was set.
alternateLink
' attribute was set.
|
inline |
Determine if the 'appDataContents
' attribute was set.
appDataContents
' attribute was set.
|
inline |
Determine if the 'canComment
' attribute was set.
canComment
' attribute was set.
|
inline |
Determine if the 'canReadRevisions
' attribute was set.
canReadRevisions
' attribute was set.
|
inline |
Determine if the 'capabilities
' attribute was set.
capabilities
' attribute was set.
|
inline |
Determine if the 'copyRequiresWriterPermission
' attribute was set.
copyRequiresWriterPermission
' attribute was set.
|
inline |
Determine if the 'copyable
' attribute was set.
copyable
' attribute was set.
|
inline |
Determine if the 'createdDate
' attribute was set.
createdDate
' attribute was set.
|
inline |
Determine if the 'defaultOpenWithLink
' attribute was set.
defaultOpenWithLink
' attribute was set.
|
inline |
Determine if the 'description
' attribute was set.
description
' attribute was set.
|
inline |
Determine if the 'downloadUrl
' attribute was set.
downloadUrl
' attribute was set.
|
inline |
Determine if the 'driveId
' attribute was set.
driveId
' attribute was set.
|
inline |
Determine if the 'editable
' attribute was set.
editable
' attribute was set.
|
inline |
Determine if the 'embedLink
' attribute was set.
embedLink
' attribute was set.
|
inline |
Determine if the 'etag
' attribute was set.
etag
' attribute was set.
|
inline |
Determine if the 'explicitlyTrashed
' attribute was set.
explicitlyTrashed
' attribute was set.
|
inline |
Determine if the 'exportLinks
' attribute was set.
exportLinks
' attribute was set.
|
inline |
Determine if the 'fileExtension
' attribute was set.
fileExtension
' attribute was set.
|
inline |
Determine if the 'fileSize
' attribute was set.
fileSize
' attribute was set.
|
inline |
Determine if the 'folderColorRgb
' attribute was set.
folderColorRgb
' attribute was set.
|
inline |
Determine if the 'fullFileExtension
' attribute was set.
fullFileExtension
' attribute was set.
|
inline |
Determine if the 'hasAugmentedPermissions
' attribute was set.
hasAugmentedPermissions
' attribute was set.
|
inline |
Determine if the 'hasThumbnail
' attribute was set.
hasThumbnail
' attribute was set.
|
inline |
Determine if the 'headRevisionId
' attribute was set.
headRevisionId
' attribute was set.
|
inline |
Determine if the 'iconLink
' attribute was set.
iconLink
' attribute was set.
|
inline |
Determine if the 'id
' attribute was set.
id
' attribute was set.
|
inline |
Determine if the 'imageMediaMetadata
' attribute was set.
imageMediaMetadata
' attribute was set.
|
inline |
Determine if the 'indexableText
' attribute was set.
indexableText
' attribute was set.
|
inline |
Determine if the 'isAppAuthorized
' attribute was set.
isAppAuthorized
' attribute was set.
|
inline |
Determine if the 'kind
' attribute was set.
kind
' attribute was set.
|
inline |
Determine if the 'labels
' attribute was set.
labels
' attribute was set.
|
inline |
Determine if the 'lastModifyingUser
' attribute was set.
lastModifyingUser
' attribute was set.
|
inline |
Determine if the 'lastModifyingUserName
' attribute was set.
lastModifyingUserName
' attribute was set.
|
inline |
Determine if the 'lastViewedByMeDate
' attribute was set.
lastViewedByMeDate
' attribute was set.
|
inline |
Determine if the 'markedViewedByMeDate
' attribute was set.
markedViewedByMeDate
' attribute was set.
|
inline |
Determine if the 'md5Checksum
' attribute was set.
md5Checksum
' attribute was set.
|
inline |
Determine if the 'mimeType
' attribute was set.
mimeType
' attribute was set.
|
inline |
Determine if the 'modifiedByMeDate
' attribute was set.
modifiedByMeDate
' attribute was set.
|
inline |
Determine if the 'modifiedDate
' attribute was set.
modifiedDate
' attribute was set.
|
inline |
Determine if the 'openWithLinks
' attribute was set.
openWithLinks
' attribute was set.
|
inline |
Determine if the 'originalFilename
' attribute was set.
originalFilename
' attribute was set.
|
inline |
Determine if the 'ownedByMe
' attribute was set.
ownedByMe
' attribute was set.
|
inline |
Determine if the 'ownerNames
' attribute was set.
ownerNames
' attribute was set.
|
inline |
Determine if the 'owners
' attribute was set.
owners
' attribute was set.
|
inline |
Determine if the 'parents
' attribute was set.
parents
' attribute was set.
|
inline |
Determine if the 'permissionIds
' attribute was set.
permissionIds
' attribute was set.
|
inline |
Determine if the 'permissions
' attribute was set.
permissions
' attribute was set.
|
inline |
Determine if the 'properties
' attribute was set.
properties
' attribute was set.
|
inline |
Determine if the 'quotaBytesUsed
' attribute was set.
quotaBytesUsed
' attribute was set.
|
inline |
Determine if the 'selfLink
' attribute was set.
selfLink
' attribute was set.
|
inline |
Determine if the 'shareable
' attribute was set.
shareable
' attribute was set.
|
inline |
Determine if the 'shared
' attribute was set.
shared
' attribute was set.
|
inline |
Determine if the 'sharedWithMeDate
' attribute was set.
sharedWithMeDate
' attribute was set.
|
inline |
Determine if the 'sharingUser
' attribute was set.
sharingUser
' attribute was set.
|
inline |
Determine if the 'shortcutDetails
' attribute was set.
shortcutDetails
' attribute was set.
|
inline |
Determine if the 'spaces
' attribute was set.
spaces
' attribute was set.
|
inline |
Determine if the 'teamDriveId
' attribute was set.
teamDriveId
' attribute was set.
|
inline |
Determine if the 'thumbnail
' attribute was set.
thumbnail
' attribute was set.
|
inline |
Determine if the 'thumbnailLink
' attribute was set.
thumbnailLink
' attribute was set.
|
inline |
Determine if the 'thumbnailVersion
' attribute was set.
thumbnailVersion
' attribute was set.
|
inline |
Determine if the 'title
' attribute was set.
title
' attribute was set.
|
inline |
Determine if the 'trashedDate
' attribute was set.
trashedDate
' attribute was set.
|
inline |
Determine if the 'trashingUser
' attribute was set.
trashingUser
' attribute was set.
|
inline |
Determine if the 'userPermission
' attribute was set.
userPermission
' attribute was set.
|
inline |
Determine if the 'version
' attribute was set.
version
' attribute was set.
|
inline |
Determine if the 'videoMediaMetadata
' attribute was set.
videoMediaMetadata
' attribute was set.
|
inline |
Determine if the 'webContentLink
' attribute was set.
webContentLink
' attribute was set.
|
inline |
Determine if the 'webViewLink
' attribute was set.
webViewLink
' attribute was set.
|
inline |
Determine if the 'writersCanShare
' attribute was set.
writersCanShare
' attribute was set.
|
inline |
Gets a reference to a mutable value of the 'capabilities
' property.
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
|
inline |
Gets a reference to a mutable value of the 'exportLinks
' property.
Links for exporting Google Docs to specific formats.
|
inline |
Gets a reference to a mutable value of the 'imageMediaMetadata
' property.
Metadata about image media. This will only be present for image types, and its contents will depend on what can be parsed from the image content.
|
inline |
Gets a reference to a mutable value of the 'indexableText
' property.
Indexable text attributes for the file (can only be written).
|
inline |
Gets a reference to a mutable value of the 'labels
' property.
A group of labels for the file.
User google_drive_api::File::mutable_lastModifyingUser | ( | ) |
Gets a reference to a mutable value of the 'lastModifyingUser
' property.
The last user to modify this file.
|
inline |
Gets a reference to a mutable value of the 'openWithLinks
' property.
A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used.
|
inline |
Gets a reference to a mutable value of the 'ownerNames
' property.
Name(s) of the owner(s) of this file. Not populated for items in shared drives.
client::JsonCppArray<User > google_drive_api::File::mutable_owners | ( | ) |
Gets a reference to a mutable value of the 'owners
' property.
The owner(s) of this file. Not populated for items in shared drives.
client::JsonCppArray<ParentReference > google_drive_api::File::mutable_parents | ( | ) |
Gets a reference to a mutable value of the 'parents
' property.
Collection of parent folders which contain this file. If not specified as part of an insert request, the file will be placed directly in the user's My Drive folder. If not specified as part of a copy request, the file will inherit any discoverable parents of the source file. Update requests can also use the addParents and removeParents parameters to modify the parents list.
|
inline |
Gets a reference to a mutable value of the 'permissionIds
' property.
List of permission IDs for users with access to this file.
client::JsonCppArray<Permission > google_drive_api::File::mutable_permissions | ( | ) |
Gets a reference to a mutable value of the 'permissions
' property.
The list of permissions for users with access to this file. Not populated for items in shared drives.
client::JsonCppArray<Property > google_drive_api::File::mutable_properties | ( | ) |
Gets a reference to a mutable value of the 'properties
' property.
The list of properties.
User google_drive_api::File::mutable_sharingUser | ( | ) |
Gets a reference to a mutable value of the 'sharingUser
' property.
User that shared the item with the current user, if available.
|
inline |
Gets a reference to a mutable value of the 'shortcutDetails
' property.
Shortcut file details. Only populated for shortcut files, which have the mimeType field set to application/vnd.google-apps.shortcut.
|
inline |
Gets a reference to a mutable value of the 'spaces
' property.
The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'.
|
inline |
Gets a reference to a mutable value of the 'thumbnail
' property.
A thumbnail for the file. This will only be used if a standard thumbnail cannot be generated.
User google_drive_api::File::mutable_trashingUser | ( | ) |
Gets a reference to a mutable value of the 'trashingUser
' property.
If the file has been explicitly trashed, the user who trashed it. Only populated for items in shared drives.
Permission google_drive_api::File::mutable_userPermission | ( | ) |
Gets a reference to a mutable value of the 'userPermission
' property.
The permissions for the authenticated user on this file.
|
inline |
Gets a reference to a mutable value of the 'videoMediaMetadata
' property.
Metadata about video media. This will only be present for video types.
|
static |
Creates a new default instance.
|
inline |
Change the 'alternateLink
' attribute.
A link for opening the file in a relevant Google editor or viewer.
[in] | value | The new value. |
|
inline |
Change the 'appDataContents
' attribute.
Whether this file is in the Application Data folder.
[in] | value | The new value. |
|
inline |
Change the 'canComment
' attribute.
Deprecated: use capabilities/canComment.
[in] | value | The new value. |
|
inline |
Change the 'canReadRevisions
' attribute.
Deprecated: use capabilities/canReadRevisions.
[in] | value | The new value. |
|
inline |
Change the 'copyRequiresWriterPermission
' attribute.
Whether the options to copy, print, or download this file, should be disabled for readers and commenters.
[in] | value | The new value. |
|
inline |
Change the 'copyable
' attribute.
Deprecated: use capabilities/canCopy.
[in] | value | The new value. |
|
inline |
Change the 'createdDate
' attribute.
Create time for this file (formatted RFC 3339 timestamp).
[in] | value | The new value. |
|
inline |
Change the 'defaultOpenWithLink
' attribute.
A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used.
[in] | value | The new value. |
|
inline |
Change the 'description
' attribute.
A short description of the file.
[in] | value | The new value. |
|
inline |
|
inline |
Change the 'driveId
' attribute.
ID of the shared drive the file resides in. Only populated for items in shared drives.
[in] | value | The new value. |
|
inline |
Change the 'editable
' attribute.
Deprecated: use capabilities/canEdit.
[in] | value | The new value. |
|
inline |
|
inline |
|
inline |
Change the 'explicitlyTrashed
' attribute.
Whether this file has been explicitly trashed, as opposed to recursively trashed.
[in] | value | The new value. |
|
inline |
Change the 'fileExtension
' attribute.
The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Google Drive; it is not populated for Google Docs or shortcut files.
[in] | value | The new value. |
|
inline |
|
inline |
Change the 'folderColorRgb
' attribute.
Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette. Not populated for items in shared drives.
[in] | value | The new value. |
|
inline |
Change the 'fullFileExtension
' attribute.
The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Google Drive; it is not populated for Google Docs or shortcut files.
[in] | value | The new value. |
|
inline |
Change the 'hasAugmentedPermissions
' attribute.
Whether there are permissions directly on this file. This field is only populated for items in shared drives.
[in] | value | The new value. |
|
inline |
Change the 'hasThumbnail
' attribute.
Whether this file has a thumbnail. This does not indicate whether the requesting app has access to the thumbnail. To check access, look for the presence of the thumbnailLink field.
[in] | value | The new value. |
|
inline |
|
inline |
|
inline |
|
inline |
Change the 'isAppAuthorized
' attribute.
Whether the file was created or opened by the requesting app.
[in] | value | The new value. |
|
inline |
Change the 'kind
' attribute.
The type of file. This is always drive::file.
[in] | value | The new value. |
|
inline |
Change the 'lastModifyingUserName
' attribute.
Name of the last user to modify this file.
[in] | value | The new value. |
|
inline |
Change the 'lastViewedByMeDate
' attribute.
Last time this file was viewed by the user (formatted RFC 3339 timestamp).
[in] | value | The new value. |
|
inline |
|
inline |
|
inline |
Change the 'mimeType
' attribute.
The MIME type of the file. This is only mutable on update when uploading new content. This field can be left blank, and the mimetype will be determined from the uploaded content's MIME type.
[in] | value | The new value. |
|
inline |
Change the 'modifiedByMeDate
' attribute.
Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
[in] | value | The new value. |
|
inline |
Change the 'modifiedDate
' attribute.
Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
[in] | value | The new value. |
|
inline |
|
inline |
Change the 'ownedByMe
' attribute.
Whether the file is owned by the current user. Not populated for items in shared drives.
[in] | value | The new value. |
|
inline |
Change the 'quotaBytesUsed
' attribute.
The number of quota bytes used by this file.
[in] | value | The new value. |
|
inline |
|
inline |
Change the 'shareable
' attribute.
Deprecated: use capabilities/canShare.
[in] | value | The new value. |
|
inline |
Change the 'shared
' attribute.
Whether the file has been shared. Not populated for items in shared drives.
[in] | value | The new value. |
|
inline |
Change the 'sharedWithMeDate
' attribute.
Time at which this file was shared with the user (formatted RFC 3339 timestamp).
[in] | value | The new value. |
|
inline |
Change the 'teamDriveId
' attribute.
Deprecated - use driveId instead.
[in] | value | The new value. |
|
inline |
Change the 'thumbnailLink
' attribute.
A short-lived link to the file's thumbnail. Typically lasts on the order of hours. Only populated when the requesting app can access the file's content.
[in] | value | The new value. |
|
inline |
Change the 'thumbnailVersion
' attribute.
The thumbnail version for use in thumbnail cache invalidation.
[in] | value | The new value. |
|
inline |
|
inline |
Change the 'trashedDate
' attribute.
The time that the item was trashed (formatted RFC 3339 timestamp). Only populated for items in shared drives.
[in] | value | The new value. |
|
inline |
Change the 'version
' attribute.
A monotonically increasing version number for the file. This reflects every change made to the file on the server, even those not visible to the requesting user.
[in] | value | The new value. |
|
inline |
Change the 'webContentLink
' attribute.
A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
[in] | value | The new value. |
|
inline |
|
inline |
Change the 'writersCanShare
' attribute.
Whether writers can share the document with other users. Not populated for items in shared drives.
[in] | value | The new value. |