Document
import type { Document } from "https://googleapis.deno.dev/v1/docs:v1.ts";
A Google Docs document.
§Properties
Output only. The main body of the document. Legacy field: Instead, use
Document.tabs.documentTab.body, which exposes the actual document content
from all tabs when the includeTabsContent parameter is set to true
. If
false
or unset, this field contains information about the first tab in
the document.
Output only. The style of the document. Legacy field: Instead, use
Document.tabs.documentTab.documentStyle, which exposes the actual document
content from all tabs when the includeTabsContent parameter is set to
true
. If false
or unset, this field contains information about the
first tab in the document.
Output only. The footnotes in the document, keyed by footnote ID. Legacy
field: Instead, use Document.tabs.documentTab.footnotes, which exposes the
actual document content from all tabs when the includeTabsContent parameter
is set to true
. If false
or unset, this field contains information
about the first tab in the document.
Output only. The headers in the document, keyed by header ID. Legacy
field: Instead, use Document.tabs.documentTab.headers, which exposes the
actual document content from all tabs when the includeTabsContent parameter
is set to true
. If false
or unset, this field contains information
about the first tab in the document.
Output only. The inline objects in the document, keyed by object ID.
Legacy field: Instead, use Document.tabs.documentTab.inlineObjects, which
exposes the actual document content from all tabs when the
includeTabsContent parameter is set to true
. If false
or unset, this
field contains information about the first tab in the document.
Output only. The lists in the document, keyed by list ID. Legacy field:
Instead, use Document.tabs.documentTab.lists, which exposes the actual
document content from all tabs when the includeTabsContent parameter is set
to true
. If false
or unset, this field contains information about the
first tab in the document.
Output only. The named ranges in the document, keyed by name. Legacy
field: Instead, use Document.tabs.documentTab.namedRanges, which exposes
the actual document content from all tabs when the includeTabsContent
parameter is set to true
. If false
or unset, this field contains
information about the first tab in the document.
Output only. The named styles of the document. Legacy field: Instead, use
Document.tabs.documentTab.namedStyles, which exposes the actual document
content from all tabs when the includeTabsContent parameter is set to
true
. If false
or unset, this field contains information about the
first tab in the document.
Output only. The positioned objects in the document, keyed by object ID.
Legacy field: Instead, use Document.tabs.documentTab.positionedObjects,
which exposes the actual document content from all tabs when the
includeTabsContent parameter is set to true
. If false
or unset, this
field contains information about the first tab in the document.
Output only. The revision ID of the document. Can be used in update requests to specify which revision of a document to apply updates to and how the request should behave if the document has been edited since that revision. Only populated if the user has edit access to the document. The revision ID is not a sequential number but an opaque string. The format of the revision ID might change over time. A returned revision ID is only guaranteed to be valid for 24 hours after it has been returned and cannot be shared across users. If the revision ID is unchanged between calls, then the document has not changed. Conversely, a changed ID (for the same document and user) usually means the document has been updated. However, a changed ID can also be due to internal factors such as ID format changes.
Output only. The suggested changes to the style of the document, keyed by
suggestion ID. Legacy field: Instead, use
Document.tabs.documentTab.suggestedDocumentStyleChanges, which exposes the
actual document content from all tabs when the includeTabsContent parameter
is set to true
. If false
or unset, this field contains information
about the first tab in the document.
Output only. The suggested changes to the named styles of the document,
keyed by suggestion ID. Legacy field: Instead, use
Document.tabs.documentTab.suggestedNamedStylesChanges, which exposes the
actual document content from all tabs when the includeTabsContent parameter
is set to true
. If false
or unset, this field contains information
about the first tab in the document.
Output only. The suggestions view mode applied to the document. Note: When editing a document, changes must be based on a document with SUGGESTIONS_INLINE.