Skip to main content

Get Document

Gets the latest version of the specified document.

External Documentation

To learn more, visit the Google Docs documentation.

Basic Parameters

ParameterDescription
Document IDThe ID of the document to retrieve.
Suggestions View ModeThe suggestions view mode to apply to the document. This allows viewing the document with all suggestions inline, accepted or rejected. If one is not specified, DEFAULT_FOR_CURRENT_ACCESS is used.

Advanced Parameters

ParameterDescription
Delegated User OverridePerform the action on behalf of another user, overriding the delegated user defined in the connection.

If not specified, the delegated user is the one provided in the connection.

Has no effect when using an OAuth connection.

NOTE: the connection details are not edited by this input.

Example Output

{
"body": {
"content": [
{
"endIndex": 0,
"paragraph": {
"bullet": {
"listId": "The ID of the list this paragraph belongs to.",
"nestingLevel": 0,
"textStyle": {
"backgroundColor": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"baselineOffset": "The text's vertical offset from its normal position. Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically rendered in a smaller font size, computed based on the `font_size` field. Changes in this field don't affect the `font_size`.",
"bold": false,
"fontSize": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"foregroundColor": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"italic": false,
"link": {
"bookmarkId": "The ID of a bookmark in this document.",
"headingId": "The ID of a heading in this document.",
"url": "An external URL."
},
"smallCaps": false,
"strikethrough": false,
"underline": false,
"weightedFontFamily": {
"fontFamily": "The font family of the text. The font family can be any font from the Font menu in Docs or from [Google Fonts] (https://fonts.google.com/). If the font name is unrecognized, the text is rendered in `Arial`.",
"weight": 0
}
}
},
"elements": [
{
"autoText": {
"suggestedDeletionIds": [
"string"
],
"suggestedInsertionIds": [
"string"
],
"suggestedTextStyleChanges": {},
"textStyle": {
"backgroundColor": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"baselineOffset": "The text's vertical offset from its normal position. Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically rendered in a smaller font size, computed based on the `font_size` field. Changes in this field don't affect the `font_size`.",
"bold": false,
"fontSize": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"foregroundColor": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"italic": false,
"link": {
"bookmarkId": "The ID of a bookmark in this document.",
"headingId": "The ID of a heading in this document.",
"url": "An external URL."
},
"smallCaps": false,
"strikethrough": false,
"underline": false,
"weightedFontFamily": {
"fontFamily": "The font family of the text. The font family can be any font from the Font menu in Docs or from [Google Fonts] (https://fonts.google.com/). If the font name is unrecognized, the text is rendered in `Arial`.",
"weight": 0
}
},
"type": "The type of this auto text."
},
"columnBreak": {
"suggestedDeletionIds": [
"string"
],
"suggestedInsertionIds": [
"string"
],
"suggestedTextStyleChanges": {},
"textStyle": {
"backgroundColor": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"baselineOffset": "The text's vertical offset from its normal position. Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically rendered in a smaller font size, computed based on the `font_size` field. Changes in this field don't affect the `font_size`.",
"bold": false,
"fontSize": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"foregroundColor": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"italic": false,
"link": {
"bookmarkId": "The ID of a bookmark in this document.",
"headingId": "The ID of a heading in this document.",
"url": "An external URL."
},
"smallCaps": false,
"strikethrough": false,
"underline": false,
"weightedFontFamily": {
"fontFamily": "The font family of the text. The font family can be any font from the Font menu in Docs or from [Google Fonts] (https://fonts.google.com/). If the font name is unrecognized, the text is rendered in `Arial`.",
"weight": 0
}
}
},
"endIndex": 0,
"equation": {
"suggestedDeletionIds": [
"string"
],
"suggestedInsertionIds": [
"string"
]
},
"footnoteReference": {
"footnoteId": "The ID of the footnote that contains the content of this footnote reference.",
"footnoteNumber": "The rendered number of this footnote.",
"suggestedDeletionIds": [
"string"
],
"suggestedInsertionIds": [
"string"
],
"suggestedTextStyleChanges": {},
"textStyle": {
"backgroundColor": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"baselineOffset": "The text's vertical offset from its normal position. Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically rendered in a smaller font size, computed based on the `font_size` field. Changes in this field don't affect the `font_size`.",
"bold": false,
"fontSize": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"foregroundColor": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"italic": false,
"link": {
"bookmarkId": "The ID of a bookmark in this document.",
"headingId": "The ID of a heading in this document.",
"url": "An external URL."
},
"smallCaps": false,
"strikethrough": false,
"underline": false,
"weightedFontFamily": {
"fontFamily": "The font family of the text. The font family can be any font from the Font menu in Docs or from [Google Fonts] (https://fonts.google.com/). If the font name is unrecognized, the text is rendered in `Arial`.",
"weight": 0
}
}
},
"horizontalRule": {
"suggestedDeletionIds": [
"string"
],
"suggestedInsertionIds": [
"string"
],
"suggestedTextStyleChanges": {},
"textStyle": {
"backgroundColor": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"baselineOffset": "The text's vertical offset from its normal position. Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically rendered in a smaller font size, computed based on the `font_size` field. Changes in this field don't affect the `font_size`.",
"bold": false,
"fontSize": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"foregroundColor": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"italic": false,
"link": {
"bookmarkId": "The ID of a bookmark in this document.",
"headingId": "The ID of a heading in this document.",
"url": "An external URL."
},
"smallCaps": false,
"strikethrough": false,
"underline": false,
"weightedFontFamily": {
"fontFamily": "The font family of the text. The font family can be any font from the Font menu in Docs or from [Google Fonts] (https://fonts.google.com/). If the font name is unrecognized, the text is rendered in `Arial`.",
"weight": 0
}
}
},
"inlineObjectElement": {
"inlineObjectId": "The ID of the InlineObject this element contains.",
"suggestedDeletionIds": [
"string"
],
"suggestedInsertionIds": [
"string"
],
"suggestedTextStyleChanges": {},
"textStyle": {
"backgroundColor": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"baselineOffset": "The text's vertical offset from its normal position. Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically rendered in a smaller font size, computed based on the `font_size` field. Changes in this field don't affect the `font_size`.",
"bold": false,
"fontSize": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"foregroundColor": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"italic": false,
"link": {
"bookmarkId": "The ID of a bookmark in this document.",
"headingId": "The ID of a heading in this document.",
"url": "An external URL."
},
"smallCaps": false,
"strikethrough": false,
"underline": false,
"weightedFontFamily": {
"fontFamily": "The font family of the text. The font family can be any font from the Font menu in Docs or from [Google Fonts] (https://fonts.google.com/). If the font name is unrecognized, the text is rendered in `Arial`.",
"weight": 0
}
}
},
"pageBreak": {
"suggestedDeletionIds": [
"string"
],
"suggestedInsertionIds": [
"string"
],
"suggestedTextStyleChanges": {},
"textStyle": {
"backgroundColor": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"baselineOffset": "The text's vertical offset from its normal position. Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically rendered in a smaller font size, computed based on the `font_size` field. Changes in this field don't affect the `font_size`.",
"bold": false,
"fontSize": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"foregroundColor": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"italic": false,
"link": {
"bookmarkId": "The ID of a bookmark in this document.",
"headingId": "The ID of a heading in this document.",
"url": "An external URL."
},
"smallCaps": false,
"strikethrough": false,
"underline": false,
"weightedFontFamily": {
"fontFamily": "The font family of the text. The font family can be any font from the Font menu in Docs or from [Google Fonts] (https://fonts.google.com/). If the font name is unrecognized, the text is rendered in `Arial`.",
"weight": 0
}
}
},
"person": {
"personId": "Output only. The unique ID of this link.",
"personProperties": {
"email": "Output only. The email address linked to this Person. This field is always present.",
"name": "Output only. The name of the person if it's displayed in the link text instead of the person's email address."
},
"suggestedDeletionIds": [
"string"
],
"suggestedInsertionIds": [
"string"
],
"suggestedTextStyleChanges": {},
"textStyle": {
"backgroundColor": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"baselineOffset": "The text's vertical offset from its normal position. Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically rendered in a smaller font size, computed based on the `font_size` field. Changes in this field don't affect the `font_size`.",
"bold": false,
"fontSize": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"foregroundColor": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"italic": false,
"link": {
"bookmarkId": "The ID of a bookmark in this document.",
"headingId": "The ID of a heading in this document.",
"url": "An external URL."
},
"smallCaps": false,
"strikethrough": false,
"underline": false,
"weightedFontFamily": {
"fontFamily": "The font family of the text. The font family can be any font from the Font menu in Docs or from [Google Fonts] (https://fonts.google.com/). If the font name is unrecognized, the text is rendered in `Arial`.",
"weight": 0
}
}
},
"richLink": {
"richLinkId": "Output only. The ID of this link.",
"richLinkProperties": {
"mimeType": "Output only. The [MIME type](https://developers.google.com/drive/api/v3/mime-types) of the RichLink, if there's one (for example, when it's a file in Drive).",
"title": "Output only. The title of the RichLink as displayed in the link. This title matches the title of the linked resource at the time of the insertion or last update of the link. This field is always present.",
"uri": "Output only. The URI to the RichLink. This is always present."
},
"suggestedDeletionIds": [
"string"
],
"suggestedInsertionIds": [
"string"
],
"suggestedTextStyleChanges": {},
"textStyle": {
"backgroundColor": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"baselineOffset": "The text's vertical offset from its normal position. Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically rendered in a smaller font size, computed based on the `font_size` field. Changes in this field don't affect the `font_size`.",
"bold": false,
"fontSize": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"foregroundColor": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"italic": false,
"link": {
"bookmarkId": "The ID of a bookmark in this document.",
"headingId": "The ID of a heading in this document.",
"url": "An external URL."
},
"smallCaps": false,
"strikethrough": false,
"underline": false,
"weightedFontFamily": {
"fontFamily": "The font family of the text. The font family can be any font from the Font menu in Docs or from [Google Fonts] (https://fonts.google.com/). If the font name is unrecognized, the text is rendered in `Arial`.",
"weight": 0
}
}
},
"startIndex": 0,
"textRun": {
"content": "The text of this run. Any non-text elements in the run are replaced with the Unicode character U+E907.",
"suggestedDeletionIds": [
"string"
],
"suggestedInsertionIds": [
"string"
],
"suggestedTextStyleChanges": {},
"textStyle": {
"backgroundColor": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"baselineOffset": "The text's vertical offset from its normal position. Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically rendered in a smaller font size, computed based on the `font_size` field. Changes in this field don't affect the `font_size`.",
"bold": false,
"fontSize": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"foregroundColor": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"italic": false,
"link": {
"bookmarkId": "The ID of a bookmark in this document.",
"headingId": "The ID of a heading in this document.",
"url": "An external URL."
},
"smallCaps": false,
"strikethrough": false,
"underline": false,
"weightedFontFamily": {
"fontFamily": "The font family of the text. The font family can be any font from the Font menu in Docs or from [Google Fonts] (https://fonts.google.com/). If the font name is unrecognized, the text is rendered in `Arial`.",
"weight": 0
}
}
}
}
],
"paragraphStyle": {
"alignment": "The text alignment for this paragraph.",
"avoidWidowAndOrphan": false,
"borderBetween": {
"color": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"dashStyle": "The dash style of the border.",
"padding": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"width": {
"magnitude": 0,
"unit": "The units for magnitude."
}
},
"borderBottom": {
"color": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"dashStyle": "The dash style of the border.",
"padding": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"width": {
"magnitude": 0,
"unit": "The units for magnitude."
}
},
"borderLeft": {
"color": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"dashStyle": "The dash style of the border.",
"padding": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"width": {
"magnitude": 0,
"unit": "The units for magnitude."
}
},
"borderRight": {
"color": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"dashStyle": "The dash style of the border.",
"padding": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"width": {
"magnitude": 0,
"unit": "The units for magnitude."
}
},
"borderTop": {
"color": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"dashStyle": "The dash style of the border.",
"padding": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"width": {
"magnitude": 0,
"unit": "The units for magnitude."
}
},
"direction": "The text direction of this paragraph. If unset, the value defaults to LEFT_TO_RIGHT since paragraph direction is not inherited.",
"headingId": "The heading ID of the paragraph. If empty, then this paragraph is not a heading. This property is read-only.",
"indentEnd": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"indentFirstLine": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"indentStart": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"keepLinesTogether": false,
"keepWithNext": false,
"lineSpacing": 0,
"namedStyleType": "The named style type of the paragraph. Since updating the named style type affects other properties within ParagraphStyle, the named style type is applied before the other properties are updated.",
"pageBreakBefore": false,
"shading": {
"backgroundColor": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
}
},
"spaceAbove": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"spaceBelow": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"spacingMode": "The spacing mode for the paragraph.",
"tabStops": [
{
"alignment": "The alignment of this tab stop. If unset, the value defaults to START.",
"offset": {
"magnitude": 0,
"unit": "The units for magnitude."
}
}
]
},
"positionedObjectIds": [
"string"
],
"suggestedBulletChanges": {},
"suggestedParagraphStyleChanges": {},
"suggestedPositionedObjectIds": {}
},
"sectionBreak": {
"sectionStyle": {
"columnProperties": [
{
"paddingEnd": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"width": {
"magnitude": 0,
"unit": "The units for magnitude."
}
}
],
"columnSeparatorStyle": "The style of column separators. This style can be set even when there's one column in the section. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error.",
"contentDirection": "The content direction of this section. If unset, the value defaults to LEFT_TO_RIGHT. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error.",
"defaultFooterId": "The ID of the default footer. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's default_footer_id. This property is read-only.",
"defaultHeaderId": "The ID of the default header. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's default_header_id. This property is read-only.",
"evenPageFooterId": "The ID of the footer used only for even pages. If the value of DocumentStyle's use_even_page_header_footer is true, this value is used for the footers on even pages in the section. If it is false, the footers on even pages use the default_footer_id. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's even_page_footer_id. This property is read-only.",
"evenPageHeaderId": "The ID of the header used only for even pages. If the value of DocumentStyle's use_even_page_header_footer is true, this value is used for the headers on even pages in the section. If it is false, the headers on even pages use the default_header_id. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's even_page_header_id. This property is read-only.",
"firstPageFooterId": "The ID of the footer used only for the first page of the section. If use_first_page_header_footer is true, this value is used for the footer on the first page of the section. If it's false, the footer on the first page of the section uses the default_footer_id. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's first_page_footer_id. This property is read-only.",
"firstPageHeaderId": "The ID of the header used only for the first page of the section. If use_first_page_header_footer is true, this value is used for the header on the first page of the section. If it's false, the header on the first page of the section uses the default_header_id. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's first_page_header_id. This property is read-only.",
"marginBottom": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"marginFooter": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"marginHeader": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"marginLeft": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"marginRight": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"marginTop": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"pageNumberStart": 0,
"sectionType": "Output only. The type of section.",
"useFirstPageHeaderFooter": false
},
"suggestedDeletionIds": [
"string"
],
"suggestedInsertionIds": [
"string"
]
},
"startIndex": 0,
"table": {
"columns": 0,
"rows": 0,
"suggestedDeletionIds": [
"string"
],
"suggestedInsertionIds": [
"string"
],
"tableRows": [
{
"endIndex": 0,
"startIndex": 0,
"suggestedDeletionIds": [
"string"
],
"suggestedInsertionIds": [
"string"
],
"suggestedTableRowStyleChanges": {},
"tableCells": [
{
"content": [
null
],
"endIndex": 0,
"startIndex": 0,
"suggestedDeletionIds": [
"string"
],
"suggestedInsertionIds": [
"string"
],
"suggestedTableCellStyleChanges": {},
"tableCellStyle": {
"backgroundColor": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"borderBottom": {
"color": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"dashStyle": "The dash style of the border.",
"width": {
"magnitude": 0,
"unit": "The units for magnitude."
}
},
"borderLeft": {
"color": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"dashStyle": "The dash style of the border.",
"width": {
"magnitude": 0,
"unit": "The units for magnitude."
}
},
"borderRight": {
"color": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"dashStyle": "The dash style of the border.",
"width": {
"magnitude": 0,
"unit": "The units for magnitude."
}
},
"borderTop": {
"color": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"dashStyle": "The dash style of the border.",
"width": {
"magnitude": 0,
"unit": "The units for magnitude."
}
},
"columnSpan": 0,
"contentAlignment": "The alignment of the content in the table cell. The default alignment matches the alignment for newly created table cells in the Docs editor.",
"paddingBottom": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"paddingLeft": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"paddingRight": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"paddingTop": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"rowSpan": 0
}
}
],
"tableRowStyle": {
"minRowHeight": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"preventOverflow": false,
"tableHeader": false
}
}
],
"tableStyle": {
"tableColumnProperties": [
{
"width": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"widthType": "The width type of the column."
}
]
}
},
"tableOfContents": {
"content": [
null
],
"suggestedDeletionIds": [
"string"
],
"suggestedInsertionIds": [
"string"
]
}
}
]
},
"documentId": "Output only. The ID of the document.",
"documentStyle": {
"background": {
"color": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
}
},
"defaultFooterId": "The ID of the default footer. If not set, there's no default footer. This property is read-only.",
"defaultHeaderId": "The ID of the default header. If not set, there's no default header. This property is read-only.",
"evenPageFooterId": "The ID of the footer used only for even pages. The value of use_even_page_header_footer determines whether to use the default_footer_id or this value for the footer on even pages. If not set, there's no even page footer. This property is read-only.",
"evenPageHeaderId": "The ID of the header used only for even pages. The value of use_even_page_header_footer determines whether to use the default_header_id or this value for the header on even pages. If not set, there's no even page header. This property is read-only.",
"firstPageFooterId": "The ID of the footer used only for the first page. If not set then a unique footer for the first page does not exist. The value of use_first_page_header_footer determines whether to use the default_footer_id or this value for the footer on the first page. If not set, there's no first page footer. This property is read-only.",
"firstPageHeaderId": "The ID of the header used only for the first page. If not set then a unique header for the first page does not exist. The value of use_first_page_header_footer determines whether to use the default_header_id or this value for the header on the first page. If not set, there's no first page header. This property is read-only.",
"marginBottom": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"marginFooter": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"marginHeader": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"marginLeft": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"marginRight": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"marginTop": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"pageNumberStart": 0,
"pageSize": {
"height": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"width": {
"magnitude": 0,
"unit": "The units for magnitude."
}
},
"useCustomHeaderFooterMargins": false,
"useEvenPageHeaderFooter": false,
"useFirstPageHeaderFooter": false
},
"footers": {},
"footnotes": {},
"headers": {},
"inlineObjects": {},
"lists": {},
"namedRanges": {},
"namedStyles": {
"styles": [
{
"namedStyleType": "The type of this named style.",
"paragraphStyle": {
"alignment": "The text alignment for this paragraph.",
"avoidWidowAndOrphan": false,
"borderBetween": {
"color": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"dashStyle": "The dash style of the border.",
"padding": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"width": {
"magnitude": 0,
"unit": "The units for magnitude."
}
},
"borderBottom": {
"color": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"dashStyle": "The dash style of the border.",
"padding": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"width": {
"magnitude": 0,
"unit": "The units for magnitude."
}
},
"borderLeft": {
"color": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"dashStyle": "The dash style of the border.",
"padding": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"width": {
"magnitude": 0,
"unit": "The units for magnitude."
}
},
"borderRight": {
"color": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"dashStyle": "The dash style of the border.",
"padding": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"width": {
"magnitude": 0,
"unit": "The units for magnitude."
}
},
"borderTop": {
"color": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"dashStyle": "The dash style of the border.",
"padding": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"width": {
"magnitude": 0,
"unit": "The units for magnitude."
}
},
"direction": "The text direction of this paragraph. If unset, the value defaults to LEFT_TO_RIGHT since paragraph direction is not inherited.",
"headingId": "The heading ID of the paragraph. If empty, then this paragraph is not a heading. This property is read-only.",
"indentEnd": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"indentFirstLine": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"indentStart": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"keepLinesTogether": false,
"keepWithNext": false,
"lineSpacing": 0,
"namedStyleType": "The named style type of the paragraph. Since updating the named style type affects other properties within ParagraphStyle, the named style type is applied before the other properties are updated.",
"pageBreakBefore": false,
"shading": {
"backgroundColor": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
}
},
"spaceAbove": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"spaceBelow": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"spacingMode": "The spacing mode for the paragraph.",
"tabStops": [
{
"alignment": "The alignment of this tab stop. If unset, the value defaults to START.",
"offset": {
"magnitude": 0,
"unit": "The units for magnitude."
}
}
]
},
"textStyle": {
"backgroundColor": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"baselineOffset": "The text's vertical offset from its normal position. Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically rendered in a smaller font size, computed based on the `font_size` field. Changes in this field don't affect the `font_size`.",
"bold": false,
"fontSize": {
"magnitude": 0,
"unit": "The units for magnitude."
},
"foregroundColor": {
"color": {
"rgbColor": {
"blue": 0,
"green": 0,
"red": 0
}
}
},
"italic": false,
"link": {
"bookmarkId": "The ID of a bookmark in this document.",
"headingId": "The ID of a heading in this document.",
"url": "An external URL."
},
"smallCaps": false,
"strikethrough": false,
"underline": false,
"weightedFontFamily": {
"fontFamily": "The font family of the text. The font family can be any font from the Font menu in Docs or from [Google Fonts] (https://fonts.google.com/). If the font name is unrecognized, the text is rendered in `Arial`.",
"weight": 0
}
}
}
]
},
"positionedObjects": {},
"revisionId": "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.",
"suggestedDocumentStyleChanges": {},
"suggestedNamedStylesChanges": {},
"suggestionsViewMode": "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.",
"title": "The title of the document."
}

Workflow Library Example

Get Document with Google Docs and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop