Interface DocumentObject
Stay organized with collections
Save and categorize content based on your preferences.
DocumentObject
is an interface describing the attributes of a selected item.
Signature
interface DocumentObject
Property signatures
Name |
Description |
description |
A user-contributed description of the selected item. |
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. |
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. |
parentId |
The parent ID of this item. For example, the folder containing this file. |
phoneNumbers |
The phone numbers of the selected item. |
serviceId |
An id describing the service this item was selected from. |
thumbnails |
An array of Thumbnail s 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. |
url |
A URL to this item. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-17 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-09-17 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-17 UTC."]]