public final class File
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Drive API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
| Modifier and Type | Class and Description |
|---|---|
static class |
File.Capabilities
Capabilities the current user has on this file.
|
static class |
File.ImageMediaMetadata
Metadata about image media.
|
static class |
File.IndexableText
Indexable text attributes for the file (can only be written)
|
static class |
File.Labels
A group of labels for the file.
|
static class |
File.ShortcutDetails
Shortcut file details.
|
static class |
File.Thumbnail
A thumbnail for the file.
|
static class |
File.VideoMediaMetadata
Metadata about video media.
|
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
File() |
| Modifier and Type | Method and Description |
|---|---|
File |
clone() |
java.lang.String |
getAlternateLink()
A link for opening the file in a relevant Google editor or viewer.
|
java.lang.Boolean |
getAppDataContents()
Whether this file is in the Application Data folder.
|
java.lang.Boolean |
getCanComment()
Deprecated: use capabilities/canComment.
|
java.lang.Boolean |
getCanReadRevisions()
Deprecated: use capabilities/canReadRevisions.
|
File.Capabilities |
getCapabilities()
Capabilities the current user has on this file.
|
java.lang.Boolean |
getCopyable()
Deprecated: use capabilities/canCopy.
|
java.lang.Boolean |
getCopyRequiresWriterPermission()
Whether the options to copy, print, or download this file, should be disabled for readers and
commenters.
|
com.google.api.client.util.DateTime |
getCreatedDate()
Create time for this file (formatted RFC 3339 timestamp).
|
java.lang.String |
getDefaultOpenWithLink()
A link to open this file with the user's default app for this file.
|
java.lang.String |
getDescription()
A short description of the file.
|
java.lang.String |
getDownloadUrl()
Short lived download URL for the file.
|
java.lang.String |
getDriveId()
ID of the shared drive the file resides in.
|
java.lang.Boolean |
getEditable()
Deprecated: use capabilities/canEdit.
|
java.lang.String |
getEmbedLink()
A link for embedding the file.
|
java.lang.String |
getEtag()
ETag of the file.
|
java.lang.Boolean |
getExplicitlyTrashed()
Whether this file has been explicitly trashed, as opposed to recursively trashed.
|
java.util.Map<java.lang.String,java.lang.String> |
getExportLinks()
Links for exporting Google Docs to specific formats.
|
java.lang.String |
getFileExtension()
The final component of fullFileExtension with trailing text that does not appear to be part of
the extension removed.
|
java.lang.Long |
getFileSize()
The size of the file in bytes.
|
java.lang.String |
getFolderColorRgb()
Folder color as an RGB hex string if the file is a folder.
|
java.lang.String |
getFullFileExtension()
The full file extension; extracted from the title.
|
java.lang.Boolean |
getHasAugmentedPermissions()
Whether there are permissions directly on this file.
|
java.lang.Boolean |
getHasThumbnail()
Whether this file has a thumbnail.
|
java.lang.String |
getHeadRevisionId()
The ID of the file's head revision.
|
java.lang.String |
getIconLink()
A link to the file's icon.
|
java.lang.String |
getId()
The ID of the file.
|
File.ImageMediaMetadata |
getImageMediaMetadata()
Metadata about image media.
|
File.IndexableText |
getIndexableText()
Indexable text attributes for the file (can only be written)
|
java.lang.Boolean |
getIsAppAuthorized()
Whether the file was created or opened by the requesting app.
|
java.lang.String |
getKind()
The type of file.
|
File.Labels |
getLabels()
A group of labels for the file.
|
User |
getLastModifyingUser()
The last user to modify this file.
|
java.lang.String |
getLastModifyingUserName()
Name of the last user to modify this file.
|
com.google.api.client.util.DateTime |
getLastViewedByMeDate()
Last time this file was viewed by the user (formatted RFC 3339 timestamp).
|
com.google.api.client.util.DateTime |
getMarkedViewedByMeDate()
Deprecated.
|
java.lang.String |
getMd5Checksum()
An MD5 checksum for the content of this file.
|
java.lang.String |
getMimeType()
The MIME type of the file.
|
com.google.api.client.util.DateTime |
getModifiedByMeDate()
Last time this file was modified by the user (formatted RFC 3339 timestamp).
|
com.google.api.client.util.DateTime |
getModifiedDate()
Last time this file was modified by anyone (formatted RFC 3339 timestamp).
|
java.util.Map<java.lang.String,java.lang.String> |
getOpenWithLinks()
A map of the id of each of the user's apps to a link to open this file with that app.
|
java.lang.String |
getOriginalFilename()
The original filename of the uploaded content if available, or else the original value of the
title field.
|
java.lang.Boolean |
getOwnedByMe()
Whether the file is owned by the current user.
|
java.util.List<java.lang.String> |
getOwnerNames()
Name(s) of the owner(s) of this file.
|
java.util.List<User> |
getOwners()
The owner(s) of this file.
|
java.util.List<ParentReference> |
getParents()
Collection of parent folders which contain this file.
|
java.util.List<java.lang.String> |
getPermissionIds()
List of permission IDs for users with access to this file.
|
java.util.List<Permission> |
getPermissions()
The list of permissions for users with access to this file.
|
java.util.List<Property> |
getProperties()
The list of properties.
|
java.lang.Long |
getQuotaBytesUsed()
The number of quota bytes used by this file.
|
java.lang.String |
getSelfLink()
A link back to this file.
|
java.lang.Boolean |
getShareable()
Deprecated: use capabilities/canShare.
|
java.lang.Boolean |
getShared()
Whether the file has been shared.
|
com.google.api.client.util.DateTime |
getSharedWithMeDate()
Time at which this file was shared with the user (formatted RFC 3339 timestamp).
|
User |
getSharingUser()
User that shared the item with the current user, if available.
|
File.ShortcutDetails |
getShortcutDetails()
Shortcut file details.
|
java.util.List<java.lang.String> |
getSpaces()
The list of spaces which contain the file.
|
java.lang.String |
getTeamDriveId()
Deprecated - use driveId instead.
|
File.Thumbnail |
getThumbnail()
A thumbnail for the file.
|
java.lang.String |
getThumbnailLink()
A short-lived link to the file's thumbnail.
|
java.lang.Long |
getThumbnailVersion()
The thumbnail version for use in thumbnail cache invalidation.
|
java.lang.String |
getTitle()
The title of this file.
|
com.google.api.client.util.DateTime |
getTrashedDate()
The time that the item was trashed (formatted RFC 3339 timestamp).
|
User |
getTrashingUser()
If the file has been explicitly trashed, the user who trashed it.
|
Permission |
getUserPermission()
The permissions for the authenticated user on this file.
|
java.lang.Long |
getVersion()
A monotonically increasing version number for the file.
|
File.VideoMediaMetadata |
getVideoMediaMetadata()
Metadata about video media.
|
java.lang.String |
getWebContentLink()
A link for downloading the content of the file in a browser using cookie based authentication.
|
java.lang.String |
getWebViewLink()
A link only available on public folders for viewing their static web assets (HTML, CSS, JS,
etc) via Google Drive's Website Hosting.
|
java.lang.Boolean |
getWritersCanShare()
Whether writers can share the document with other users.
|
File |
set(java.lang.String fieldName,
java.lang.Object value) |
File |
setAlternateLink(java.lang.String alternateLink)
A link for opening the file in a relevant Google editor or viewer.
|
File |
setAppDataContents(java.lang.Boolean appDataContents)
Whether this file is in the Application Data folder.
|
File |
setCanComment(java.lang.Boolean canComment)
Deprecated: use capabilities/canComment.
|
File |
setCanReadRevisions(java.lang.Boolean canReadRevisions)
Deprecated: use capabilities/canReadRevisions.
|
File |
setCapabilities(File.Capabilities capabilities)
Capabilities the current user has on this file.
|
File |
setCopyable(java.lang.Boolean copyable)
Deprecated: use capabilities/canCopy.
|
File |
setCopyRequiresWriterPermission(java.lang.Boolean copyRequiresWriterPermission)
Whether the options to copy, print, or download this file, should be disabled for readers and
commenters.
|
File |
setCreatedDate(com.google.api.client.util.DateTime createdDate)
Create time for this file (formatted RFC 3339 timestamp).
|
File |
setDefaultOpenWithLink(java.lang.String defaultOpenWithLink)
A link to open this file with the user's default app for this file.
|
File |
setDescription(java.lang.String description)
A short description of the file.
|
File |
setDownloadUrl(java.lang.String downloadUrl)
Short lived download URL for the file.
|
File |
setDriveId(java.lang.String driveId)
ID of the shared drive the file resides in.
|
File |
setEditable(java.lang.Boolean editable)
Deprecated: use capabilities/canEdit.
|
File |
setEmbedLink(java.lang.String embedLink)
A link for embedding the file.
|
File |
setEtag(java.lang.String etag)
ETag of the file.
|
File |
setExplicitlyTrashed(java.lang.Boolean explicitlyTrashed)
Whether this file has been explicitly trashed, as opposed to recursively trashed.
|
File |
setExportLinks(java.util.Map<java.lang.String,java.lang.String> exportLinks)
Links for exporting Google Docs to specific formats.
|
File |
setFileExtension(java.lang.String fileExtension)
The final component of fullFileExtension with trailing text that does not appear to be part of
the extension removed.
|
File |
setFileSize(java.lang.Long fileSize)
The size of the file in bytes.
|
File |
setFolderColorRgb(java.lang.String folderColorRgb)
Folder color as an RGB hex string if the file is a folder.
|
File |
setFullFileExtension(java.lang.String fullFileExtension)
The full file extension; extracted from the title.
|
File |
setHasAugmentedPermissions(java.lang.Boolean hasAugmentedPermissions)
Whether there are permissions directly on this file.
|
File |
setHasThumbnail(java.lang.Boolean hasThumbnail)
Whether this file has a thumbnail.
|
File |
setHeadRevisionId(java.lang.String headRevisionId)
The ID of the file's head revision.
|
File |
setIconLink(java.lang.String iconLink)
A link to the file's icon.
|
File |
setId(java.lang.String id)
The ID of the file.
|
File |
setImageMediaMetadata(File.ImageMediaMetadata imageMediaMetadata)
Metadata about image media.
|
File |
setIndexableText(File.IndexableText indexableText)
Indexable text attributes for the file (can only be written)
|
File |
setIsAppAuthorized(java.lang.Boolean isAppAuthorized)
Whether the file was created or opened by the requesting app.
|
File |
setKind(java.lang.String kind)
The type of file.
|
File |
setLabels(File.Labels labels)
A group of labels for the file.
|
File |
setLastModifyingUser(User lastModifyingUser)
The last user to modify this file.
|
File |
setLastModifyingUserName(java.lang.String lastModifyingUserName)
Name of the last user to modify this file.
|
File |
setLastViewedByMeDate(com.google.api.client.util.DateTime lastViewedByMeDate)
Last time this file was viewed by the user (formatted RFC 3339 timestamp).
|
File |
setMarkedViewedByMeDate(com.google.api.client.util.DateTime markedViewedByMeDate)
Deprecated.
|
File |
setMd5Checksum(java.lang.String md5Checksum)
An MD5 checksum for the content of this file.
|
File |
setMimeType(java.lang.String mimeType)
The MIME type of the file.
|
File |
setModifiedByMeDate(com.google.api.client.util.DateTime modifiedByMeDate)
Last time this file was modified by the user (formatted RFC 3339 timestamp).
|
File |
setModifiedDate(com.google.api.client.util.DateTime modifiedDate)
Last time this file was modified by anyone (formatted RFC 3339 timestamp).
|
File |
setOpenWithLinks(java.util.Map<java.lang.String,java.lang.String> openWithLinks)
A map of the id of each of the user's apps to a link to open this file with that app.
|
File |
setOriginalFilename(java.lang.String originalFilename)
The original filename of the uploaded content if available, or else the original value of the
title field.
|
File |
setOwnedByMe(java.lang.Boolean ownedByMe)
Whether the file is owned by the current user.
|
File |
setOwnerNames(java.util.List<java.lang.String> ownerNames)
Name(s) of the owner(s) of this file.
|
File |
setOwners(java.util.List<User> owners)
The owner(s) of this file.
|
File |
setParents(java.util.List<ParentReference> parents)
Collection of parent folders which contain this file.
|
File |
setPermissionIds(java.util.List<java.lang.String> permissionIds)
List of permission IDs for users with access to this file.
|
File |
setPermissions(java.util.List<Permission> permissions)
The list of permissions for users with access to this file.
|
File |
setProperties(java.util.List<Property> properties)
The list of properties.
|
File |
setQuotaBytesUsed(java.lang.Long quotaBytesUsed)
The number of quota bytes used by this file.
|
File |
setSelfLink(java.lang.String selfLink)
A link back to this file.
|
File |
setShareable(java.lang.Boolean shareable)
Deprecated: use capabilities/canShare.
|
File |
setShared(java.lang.Boolean shared)
Whether the file has been shared.
|
File |
setSharedWithMeDate(com.google.api.client.util.DateTime sharedWithMeDate)
Time at which this file was shared with the user (formatted RFC 3339 timestamp).
|
File |
setSharingUser(User sharingUser)
User that shared the item with the current user, if available.
|
File |
setShortcutDetails(File.ShortcutDetails shortcutDetails)
Shortcut file details.
|
File |
setSpaces(java.util.List<java.lang.String> spaces)
The list of spaces which contain the file.
|
File |
setTeamDriveId(java.lang.String teamDriveId)
Deprecated - use driveId instead.
|
File |
setThumbnail(File.Thumbnail thumbnail)
A thumbnail for the file.
|
File |
setThumbnailLink(java.lang.String thumbnailLink)
A short-lived link to the file's thumbnail.
|
File |
setThumbnailVersion(java.lang.Long thumbnailVersion)
The thumbnail version for use in thumbnail cache invalidation.
|
File |
setTitle(java.lang.String title)
The title of this file.
|
File |
setTrashedDate(com.google.api.client.util.DateTime trashedDate)
The time that the item was trashed (formatted RFC 3339 timestamp).
|
File |
setTrashingUser(User trashingUser)
If the file has been explicitly trashed, the user who trashed it.
|
File |
setUserPermission(Permission userPermission)
The permissions for the authenticated user on this file.
|
File |
setVersion(java.lang.Long version)
A monotonically increasing version number for the file.
|
File |
setVideoMediaMetadata(File.VideoMediaMetadata videoMediaMetadata)
Metadata about video media.
|
File |
setWebContentLink(java.lang.String webContentLink)
A link for downloading the content of the file in a browser using cookie based authentication.
|
File |
setWebViewLink(java.lang.String webViewLink)
A link only available on public folders for viewing their static web assets (HTML, CSS, JS,
etc) via Google Drive's Website Hosting.
|
File |
setWritersCanShare(java.lang.Boolean writersCanShare)
Whether writers can share the document with other users.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getAlternateLink()
null for nonepublic File setAlternateLink(java.lang.String alternateLink)
alternateLink - alternateLink or null for nonepublic java.lang.Boolean getAppDataContents()
null for nonepublic File setAppDataContents(java.lang.Boolean appDataContents)
appDataContents - appDataContents or null for nonepublic java.lang.Boolean getCanComment()
null for nonepublic File setCanComment(java.lang.Boolean canComment)
canComment - canComment or null for nonepublic java.lang.Boolean getCanReadRevisions()
null for nonepublic File setCanReadRevisions(java.lang.Boolean canReadRevisions)
canReadRevisions - canReadRevisions or null for nonepublic File.Capabilities getCapabilities()
null for nonepublic File setCapabilities(File.Capabilities capabilities)
capabilities - capabilities or null for nonepublic java.lang.Boolean getCopyRequiresWriterPermission()
null for nonepublic File setCopyRequiresWriterPermission(java.lang.Boolean copyRequiresWriterPermission)
copyRequiresWriterPermission - copyRequiresWriterPermission or null for nonepublic java.lang.Boolean getCopyable()
null for nonepublic File setCopyable(java.lang.Boolean copyable)
copyable - copyable or null for nonepublic com.google.api.client.util.DateTime getCreatedDate()
null for nonepublic File setCreatedDate(com.google.api.client.util.DateTime createdDate)
createdDate - createdDate or null for nonepublic java.lang.String getDefaultOpenWithLink()
null for nonepublic File setDefaultOpenWithLink(java.lang.String defaultOpenWithLink)
defaultOpenWithLink - defaultOpenWithLink or null for nonepublic java.lang.String getDescription()
null for nonepublic File setDescription(java.lang.String description)
description - description or null for nonepublic java.lang.String getDownloadUrl()
null for nonepublic File setDownloadUrl(java.lang.String downloadUrl)
downloadUrl - downloadUrl or null for nonepublic java.lang.String getDriveId()
null for nonepublic File setDriveId(java.lang.String driveId)
driveId - driveId or null for nonepublic java.lang.Boolean getEditable()
null for nonepublic File setEditable(java.lang.Boolean editable)
editable - editable or null for nonepublic java.lang.String getEmbedLink()
null for nonepublic File setEmbedLink(java.lang.String embedLink)
embedLink - embedLink or null for nonepublic java.lang.String getEtag()
null for nonepublic File setEtag(java.lang.String etag)
etag - etag or null for nonepublic java.lang.Boolean getExplicitlyTrashed()
null for nonepublic File setExplicitlyTrashed(java.lang.Boolean explicitlyTrashed)
explicitlyTrashed - explicitlyTrashed or null for nonepublic java.util.Map<java.lang.String,java.lang.String> getExportLinks()
null for nonepublic File setExportLinks(java.util.Map<java.lang.String,java.lang.String> exportLinks)
exportLinks - exportLinks or null for nonepublic java.lang.String getFileExtension()
null for nonepublic File setFileExtension(java.lang.String fileExtension)
fileExtension - fileExtension or null for nonepublic java.lang.Long getFileSize()
null for nonepublic File setFileSize(java.lang.Long fileSize)
fileSize - fileSize or null for nonepublic java.lang.String getFolderColorRgb()
null for nonepublic File setFolderColorRgb(java.lang.String folderColorRgb)
folderColorRgb - folderColorRgb or null for nonepublic java.lang.String getFullFileExtension()
null for nonepublic File setFullFileExtension(java.lang.String fullFileExtension)
fullFileExtension - fullFileExtension or null for nonepublic java.lang.Boolean getHasAugmentedPermissions()
null for nonepublic File setHasAugmentedPermissions(java.lang.Boolean hasAugmentedPermissions)
hasAugmentedPermissions - hasAugmentedPermissions or null for nonepublic java.lang.Boolean getHasThumbnail()
null for nonepublic File setHasThumbnail(java.lang.Boolean hasThumbnail)
hasThumbnail - hasThumbnail or null for nonepublic java.lang.String getHeadRevisionId()
null for nonepublic File setHeadRevisionId(java.lang.String headRevisionId)
headRevisionId - headRevisionId or null for nonepublic java.lang.String getIconLink()
null for nonepublic File setIconLink(java.lang.String iconLink)
iconLink - iconLink or null for nonepublic java.lang.String getId()
null for nonepublic File setId(java.lang.String id)
id - id or null for nonepublic File.ImageMediaMetadata getImageMediaMetadata()
null for nonepublic File setImageMediaMetadata(File.ImageMediaMetadata imageMediaMetadata)
imageMediaMetadata - imageMediaMetadata or null for nonepublic File.IndexableText getIndexableText()
null for nonepublic File setIndexableText(File.IndexableText indexableText)
indexableText - indexableText or null for nonepublic java.lang.Boolean getIsAppAuthorized()
null for nonepublic File setIsAppAuthorized(java.lang.Boolean isAppAuthorized)
isAppAuthorized - isAppAuthorized or null for nonepublic java.lang.String getKind()
null for nonepublic File setKind(java.lang.String kind)
kind - kind or null for nonepublic File.Labels getLabels()
null for nonepublic File setLabels(File.Labels labels)
labels - labels or null for nonepublic User getLastModifyingUser()
null for nonepublic File setLastModifyingUser(User lastModifyingUser)
lastModifyingUser - lastModifyingUser or null for nonepublic java.lang.String getLastModifyingUserName()
null for nonepublic File setLastModifyingUserName(java.lang.String lastModifyingUserName)
lastModifyingUserName - lastModifyingUserName or null for nonepublic com.google.api.client.util.DateTime getLastViewedByMeDate()
null for nonepublic File setLastViewedByMeDate(com.google.api.client.util.DateTime lastViewedByMeDate)
lastViewedByMeDate - lastViewedByMeDate or null for nonepublic com.google.api.client.util.DateTime getMarkedViewedByMeDate()
null for nonepublic File setMarkedViewedByMeDate(com.google.api.client.util.DateTime markedViewedByMeDate)
markedViewedByMeDate - markedViewedByMeDate or null for nonepublic java.lang.String getMd5Checksum()
null for nonepublic File setMd5Checksum(java.lang.String md5Checksum)
md5Checksum - md5Checksum or null for nonepublic java.lang.String getMimeType()
null for nonepublic File setMimeType(java.lang.String mimeType)
mimeType - mimeType or null for nonepublic com.google.api.client.util.DateTime getModifiedByMeDate()
null for nonepublic File setModifiedByMeDate(com.google.api.client.util.DateTime modifiedByMeDate)
modifiedByMeDate - modifiedByMeDate or null for nonepublic com.google.api.client.util.DateTime getModifiedDate()
null for nonepublic File setModifiedDate(com.google.api.client.util.DateTime modifiedDate)
modifiedDate - modifiedDate or null for nonepublic java.util.Map<java.lang.String,java.lang.String> getOpenWithLinks()
null for nonepublic File setOpenWithLinks(java.util.Map<java.lang.String,java.lang.String> openWithLinks)
openWithLinks - openWithLinks or null for nonepublic java.lang.String getOriginalFilename()
null for nonepublic File setOriginalFilename(java.lang.String originalFilename)
originalFilename - originalFilename or null for nonepublic java.lang.Boolean getOwnedByMe()
null for nonepublic File setOwnedByMe(java.lang.Boolean ownedByMe)
ownedByMe - ownedByMe or null for nonepublic java.util.List<java.lang.String> getOwnerNames()
null for nonepublic File setOwnerNames(java.util.List<java.lang.String> ownerNames)
ownerNames - ownerNames or null for nonepublic java.util.List<User> getOwners()
null for nonepublic File setOwners(java.util.List<User> owners)
owners - owners or null for nonepublic java.util.List<ParentReference> getParents()
null for nonepublic File setParents(java.util.List<ParentReference> parents)
parents - parents or null for nonepublic java.util.List<java.lang.String> getPermissionIds()
null for nonepublic File setPermissionIds(java.util.List<java.lang.String> permissionIds)
permissionIds - permissionIds or null for nonepublic java.util.List<Permission> getPermissions()
null for nonepublic File setPermissions(java.util.List<Permission> permissions)
permissions - permissions or null for nonepublic java.util.List<Property> getProperties()
null for nonepublic File setProperties(java.util.List<Property> properties)
properties - properties or null for nonepublic java.lang.Long getQuotaBytesUsed()
null for nonepublic File setQuotaBytesUsed(java.lang.Long quotaBytesUsed)
quotaBytesUsed - quotaBytesUsed or null for nonepublic java.lang.String getSelfLink()
null for nonepublic File setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic java.lang.Boolean getShareable()
null for nonepublic File setShareable(java.lang.Boolean shareable)
shareable - shareable or null for nonepublic java.lang.Boolean getShared()
null for nonepublic File setShared(java.lang.Boolean shared)
shared - shared or null for nonepublic com.google.api.client.util.DateTime getSharedWithMeDate()
null for nonepublic File setSharedWithMeDate(com.google.api.client.util.DateTime sharedWithMeDate)
sharedWithMeDate - sharedWithMeDate or null for nonepublic User getSharingUser()
null for nonepublic File setSharingUser(User sharingUser)
sharingUser - sharingUser or null for nonepublic File.ShortcutDetails getShortcutDetails()
null for nonepublic File setShortcutDetails(File.ShortcutDetails shortcutDetails)
shortcutDetails - shortcutDetails or null for nonepublic java.util.List<java.lang.String> getSpaces()
null for nonepublic File setSpaces(java.util.List<java.lang.String> spaces)
spaces - spaces or null for nonepublic java.lang.String getTeamDriveId()
null for nonepublic File setTeamDriveId(java.lang.String teamDriveId)
teamDriveId - teamDriveId or null for nonepublic File.Thumbnail getThumbnail()
null for nonepublic File setThumbnail(File.Thumbnail thumbnail)
thumbnail - thumbnail or null for nonepublic java.lang.String getThumbnailLink()
null for nonepublic File setThumbnailLink(java.lang.String thumbnailLink)
thumbnailLink - thumbnailLink or null for nonepublic java.lang.Long getThumbnailVersion()
null for nonepublic File setThumbnailVersion(java.lang.Long thumbnailVersion)
thumbnailVersion - thumbnailVersion or null for nonepublic java.lang.String getTitle()
null for nonepublic File setTitle(java.lang.String title)
title - title or null for nonepublic com.google.api.client.util.DateTime getTrashedDate()
null for nonepublic File setTrashedDate(com.google.api.client.util.DateTime trashedDate)
trashedDate - trashedDate or null for nonepublic User getTrashingUser()
null for nonepublic File setTrashingUser(User trashingUser)
trashingUser - trashingUser or null for nonepublic Permission getUserPermission()
null for nonepublic File setUserPermission(Permission userPermission)
userPermission - userPermission or null for nonepublic java.lang.Long getVersion()
null for nonepublic File setVersion(java.lang.Long version)
version - version or null for nonepublic File.VideoMediaMetadata getVideoMediaMetadata()
null for nonepublic File setVideoMediaMetadata(File.VideoMediaMetadata videoMediaMetadata)
videoMediaMetadata - videoMediaMetadata or null for nonepublic java.lang.String getWebContentLink()
null for nonepublic File setWebContentLink(java.lang.String webContentLink)
webContentLink - webContentLink or null for nonepublic java.lang.String getWebViewLink()
null for nonepublic File setWebViewLink(java.lang.String webViewLink)
webViewLink - webViewLink or null for nonepublic java.lang.Boolean getWritersCanShare()
null for nonepublic File setWritersCanShare(java.lang.Boolean writersCanShare)
writersCanShare - writersCanShare or null for nonepublic File set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic File clone()
clone in class com.google.api.client.json.GenericJson