Interfejs DocumentObject
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
DocumentObject
to interfejs opisujący atrybuty wybranego elementu.
Podpis
interface DocumentObject
Podpisy usług
Nazwa |
Opis |
addressLines |
(Wycofane) |
audience |
(Wycofane) |
description |
Opis wybranego elementu przesłany przez użytkownika. |
downloadUrl |
Adres URL pobierania tego elementu. |
driveError |
Kod błędu żądania wstępnego otwarcia dokumentu na Dysku Google. |
driveSuccess |
czy prośba o wstępne otwarcie dokumentu na Dysku Google została zrealizowana. |
duration |
Czas trwania wybranego filmu. |
embedUrl |
Adres URL tego elementu odpowiedni do umieszczenia na stronie internetowej. |
iconUrl |
Adres URL ikony tego produktu. |
id |
Identyfikator wybranego elementu. |
isNew |
Zwraca wartość prawda, jeśli wybrany element został właśnie przesłany. |
isShared |
czy element jest udostępniony; |
lastEditedUtc |
Sygnatura czasowa określająca, kiedy ten element został ostatnio zmodyfikowany. |
latitude |
Szerokość geograficzna wybranego elementu. |
longitude |
Długość geograficzna wybranego elementu. |
mimeType |
Typ MIME tego elementu. |
name |
Nazwa tego elementu. |
organizationDisplayName |
Wyświetlana nazwa organizacji będącej właścicielem. |
parentId |
Identyfikator elementu nadrzędnego. Może to być na przykład folder zawierający ten plik. |
phoneNumbers |
Numery telefonów wybranego produktu. |
resourceKey |
Klucz zasobu elementu (jeśli istnieje). w przeciwnym razie pusty ciąg znaków. |
rotation |
(Wycofane) |
rotationDegree |
(Wycofane) |
serviceId |
Identyfikator opisujący usługę, z której wybrano ten element. |
sizeBytes |
Rozmiar wybranego elementu w bajtach. Wartość nie jest zwracana, gdy produkt jest przesyłany podczas sesji selektora. |
thumbnails |
Tablica Thumbnail , która opisuje atrybuty zdjęcia lub filmu. Miniatury nie są zwracane, jeśli wybrane elementy należą do Dysku Google. |
type |
Typ wybranego elementu. |
uploadId |
kolejność elementów w sesji przesyłania; |
uploadState |
Stan przesyłania. |
url |
Adres URL tego elementu. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[],[],null,["# Interface DocumentObject\n\n`DocumentObject` is an interface describing the attributes of a selected item.\n\nSignature\n---------\n\n interface DocumentObject\n\nProperty signatures\n-------------------\n\n| Name | Description |\n|------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [~~`addressLines`~~](./picker.documentobject.addresslines) | *(Deprecated)* |\n| [~~`audience`~~](./picker.documentobject.audience) | *(Deprecated)* |\n| [`description`](./picker.documentobject.description) | A user-contributed description of the selected item. |\n| [`downloadUrl`](./picker.documentobject.downloadurl) | A URL to download this item. |\n| [`driveError`](./picker.documentobject.driveerror) | The error code for the request to pre-open the document in Google Drive. |\n| [`driveSuccess`](./picker.documentobject.drivesuccess) | Whether the request to pre-open the document in Google Drive was successful. |\n| [`duration`](./picker.documentobject.duration) | The duration of a selected video. |\n| [`embedUrl`](./picker.documentobject.embedurl) | A URL for this item suitable for embedding in a web page. |\n| [`iconUrl`](./picker.documentobject.iconurl) | A URL to an icon for this item. |\n| [`id`](./picker.documentobject.id) | The ID for the selected item. |\n| [`isNew`](./picker.documentobject.isnew) | Returns true if the selected item was just uploaded. |\n| [`isShared`](./picker.documentobject.isshared) | Whether the item is shared. |\n| [`lastEditedUtc`](./picker.documentobject.lasteditedutc) | The timestamp describing when this item was last edited. |\n| [`latitude`](./picker.documentobject.latitude) | The latitude of the selected item. |\n| [`longitude`](./picker.documentobject.longitude) | The longitude of the selected item. |\n| [`mimeType`](./picker.documentobject.mimetype) | The MIME type of this item. |\n| [`name`](./picker.documentobject.name) | The name of this item. |\n| [`organizationDisplayName`](./picker.documentobject.organizationdisplayname) | Display name for the owning organization. |\n| [`parentId`](./picker.documentobject.parentid) | The parent ID of this item. For example, the folder containing this file. |\n| [`phoneNumbers`](./picker.documentobject.phonenumbers) | The phone numbers of the selected item. |\n| [`resourceKey`](./picker.documentobject.resourcekey) | The resource key for the item, if present. Empty string otherwise |\n| [~~`rotation`~~](./picker.documentobject.rotation) | *(Deprecated)* |\n| [~~`rotationDegree`~~](./picker.documentobject.rotationdegree) | *(Deprecated)* |\n| [`serviceId`](./picker.documentobject.serviceid) | An id describing the service this item was selected from. |\n| [`sizeBytes`](./picker.documentobject.sizebytes) | Size of the picked item in bytes. The value is not returned when the item is uploaded during the Picker session. |\n| [`thumbnails`](./picker.documentobject.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. |\n| [`type`](./picker.documentobject.type) | The type of the selected item. |\n| [`uploadId`](./picker.documentobject.uploadid) | The item order in the upload session. |\n| [`uploadState`](./picker.documentobject.uploadstate) | The state of the upload. |\n| [`url`](./picker.documentobject.url) | A URL to this item. |"]]