Interface DocumentObject

DocumentObject is an interface describing the attributes of a selected item.

Signature

interface DocumentObject

Property signatures

Name Description
addressLines (Deprecated)
audience (Deprecated)
description A user-contributed description of the selected item.
downloadUrl A URL to download this item.
driveError The error code for the request to pre-open the document in Google Drive.
driveSuccess Whether the request to pre-open the document in Google Drive was successful.
duration The duration of a selected video.
embedUrl A URL for this item suitable for embedding in a web page.
iconUrl A URL to an icon for this item.
id The ID for the selected item.
isNew Returns true if the selected item was just uploaded.
isShared Whether the item is shared.
lastEditedUtc The timestamp describing when this item was last edited.
latitude The latitude of the selected item.
longitude The longitude of the selected item.
mimeType The MIME type of this item.
name The name of this item.
organizationDisplayName Display name for the owning organization.
parentId The parent ID of this item. For example, the folder containing this file.
phoneNumbers The phone numbers of the selected item.
resourceKey The resource key for the item, if present. Empty string otherwise
rotation (Deprecated)
rotationDegree (Deprecated)
serviceId An id describing the service this item was selected from.
sizeBytes Size of the picked item in bytes. The value is not returned when the item is uploaded during the Picker session.
thumbnails An array of Thumbnails which describe the attributes of a photo or video. Thumbnails aren't returned if the selected items belong to Google Drive.
type The type of the selected item.
uploadId The item order in the upload session.
uploadState The state of the upload.
url A URL to this item.