> ## Documentation Index
> Fetch the complete documentation index at: https://docs.r28.ai/charter/llms.txt
> Use this file to discover all available pages before exploring further.

# Objects

> Every object and enum the Google Docs tools accept.

## Model tree

<div className="model-tree"><div className="model-tree-scroll"><div className="tree-node"><a href="#documentscreatebody">DocumentsCreateBody</a></div><div className="tree-node"><a href="#batchupdatebody">BatchUpdateBody</a><div className="tree-children"><div className="tree-node"><a href="#request">Request</a><div className="tree-children"><div className="tree-node"><a href="#replacealltextrequest">ReplaceAllTextRequest</a><div className="tree-children"><div className="tree-node"><a href="#tabscriteria">TabsCriteria</a></div><div className="tree-node"><a href="#substringmatchcriteria">SubstringMatchCriteria</a></div></div></div><div className="tree-node"><a href="#inserttextrequest">InsertTextRequest</a><div className="tree-children"><div className="tree-node"><a href="#location">Location</a></div><div className="tree-node"><a href="#endofsegmentlocation">EndOfSegmentLocation</a></div></div></div><div className="tree-node"><a href="#updatetextstylerequest">UpdateTextStyleRequest</a><div className="tree-children"><div className="tree-node"><a href="#textstyle">TextStyle</a></div><div className="tree-node"><a href="#range">Range</a></div></div></div><div className="tree-node"><a href="#createparagraphbulletsrequest">CreateParagraphBulletsRequest</a><div className="tree-children"><div className="tree-node"><a href="#range">Range</a></div></div></div><div className="tree-node"><a href="#deleteparagraphbulletsrequest">DeleteParagraphBulletsRequest</a><div className="tree-children"><div className="tree-node"><a href="#range">Range</a></div></div></div><div className="tree-node"><a href="#createnamedrangerequest">CreateNamedRangeRequest</a><div className="tree-children"><div className="tree-node"><a href="#range">Range</a></div></div></div><div className="tree-node"><a href="#deletenamedrangerequest">DeleteNamedRangeRequest</a><div className="tree-children"><div className="tree-node"><a href="#tabscriteria">TabsCriteria</a></div></div></div><div className="tree-node"><a href="#updateparagraphstylerequest">UpdateParagraphStyleRequest</a><div className="tree-children"><div className="tree-node"><a href="#paragraphstyle">ParagraphStyle</a></div><div className="tree-node"><a href="#range">Range</a></div></div></div><div className="tree-node"><a href="#deletecontentrangerequest">DeleteContentRangeRequest</a><div className="tree-children"><div className="tree-node"><a href="#range">Range</a></div></div></div><div className="tree-node"><a href="#insertinlineimagerequest">InsertInlineImageRequest</a><div className="tree-children"><div className="tree-node"><a href="#size">Size</a></div><div className="tree-node"><a href="#location">Location</a></div><div className="tree-node"><a href="#endofsegmentlocation">EndOfSegmentLocation</a></div></div></div><div className="tree-node"><a href="#inserttablerequest">InsertTableRequest</a><div className="tree-children"><div className="tree-node"><a href="#location">Location</a></div><div className="tree-node"><a href="#endofsegmentlocation">EndOfSegmentLocation</a></div></div></div><div className="tree-node"><a href="#inserttablerowrequest">InsertTableRowRequest</a><div className="tree-children"><div className="tree-node"><a href="#tablecelllocation">TableCellLocation</a><div className="tree-children"><div className="tree-node"><a href="#location">Location</a></div></div></div></div></div><div className="tree-node"><a href="#inserttablecolumnrequest">InsertTableColumnRequest</a><div className="tree-children"><div className="tree-node"><a href="#tablecelllocation">TableCellLocation</a> <span className="tree-note">above</span></div></div></div><div className="tree-node"><a href="#deletetablerowrequest">DeleteTableRowRequest</a><div className="tree-children"><div className="tree-node"><a href="#tablecelllocation">TableCellLocation</a> <span className="tree-note">above</span></div></div></div><div className="tree-node"><a href="#deletetablecolumnrequest">DeleteTableColumnRequest</a><div className="tree-children"><div className="tree-node"><a href="#tablecelllocation">TableCellLocation</a> <span className="tree-note">above</span></div></div></div><div className="tree-node"><a href="#insertpagebreakrequest">InsertPageBreakRequest</a><div className="tree-children"><div className="tree-node"><a href="#location">Location</a></div><div className="tree-node"><a href="#endofsegmentlocation">EndOfSegmentLocation</a></div></div></div><div className="tree-node"><a href="#deletepositionedobjectrequest">DeletePositionedObjectRequest</a></div><div className="tree-node"><a href="#updatetablecolumnpropertiesrequest">UpdateTableColumnPropertiesRequest</a><div className="tree-children"><div className="tree-node"><a href="#location">Location</a></div><div className="tree-node"><a href="#tablecolumnproperties">TableColumnProperties</a></div></div></div><div className="tree-node"><a href="#updatetablecellstylerequest">UpdateTableCellStyleRequest</a><div className="tree-children"><div className="tree-node"><a href="#tablecellstyle">TableCellStyle</a></div><div className="tree-node"><a href="#tablerange">TableRange</a><div className="tree-children"><div className="tree-node"><a href="#tablecelllocation">TableCellLocation</a> <span className="tree-note">above</span></div></div></div><div className="tree-node"><a href="#location">Location</a></div></div></div><div className="tree-node"><a href="#updatetablerowstylerequest">UpdateTableRowStyleRequest</a><div className="tree-children"><div className="tree-node"><a href="#location">Location</a></div><div className="tree-node"><a href="#tablerowstyle">TableRowStyle</a></div></div></div><div className="tree-node"><a href="#replaceimagerequest">ReplaceImageRequest</a></div><div className="tree-node"><a href="#updatedocumentstylerequest">UpdateDocumentStyleRequest</a><div className="tree-children"><div className="tree-node"><a href="#documentstyle">DocumentStyle</a></div></div></div><div className="tree-node"><a href="#mergetablecellsrequest">MergeTableCellsRequest</a><div className="tree-children"><div className="tree-node"><a href="#tablerange">TableRange</a> <span className="tree-note">above</span></div></div></div><div className="tree-node"><a href="#unmergetablecellsrequest">UnmergeTableCellsRequest</a><div className="tree-children"><div className="tree-node"><a href="#tablerange">TableRange</a> <span className="tree-note">above</span></div></div></div><div className="tree-node"><a href="#createheaderrequest">CreateHeaderRequest</a><div className="tree-children"><div className="tree-node"><a href="#location">Location</a></div></div></div><div className="tree-node"><a href="#createfooterrequest">CreateFooterRequest</a><div className="tree-children"><div className="tree-node"><a href="#location">Location</a></div></div></div><div className="tree-node"><a href="#createfootnoterequest">CreateFootnoteRequest</a><div className="tree-children"><div className="tree-node"><a href="#location">Location</a></div><div className="tree-node"><a href="#endofsegmentlocation">EndOfSegmentLocation</a></div></div></div><div className="tree-node"><a href="#replacenamedrangecontentrequest">ReplaceNamedRangeContentRequest</a><div className="tree-children"><div className="tree-node"><a href="#tabscriteria">TabsCriteria</a></div></div></div><div className="tree-node"><a href="#updatesectionstylerequest">UpdateSectionStyleRequest</a><div className="tree-children"><div className="tree-node"><a href="#range">Range</a></div><div className="tree-node"><a href="#sectionstyle">SectionStyle</a></div></div></div><div className="tree-node"><a href="#insertsectionbreakrequest">InsertSectionBreakRequest</a><div className="tree-children"><div className="tree-node"><a href="#location">Location</a></div><div className="tree-node"><a href="#endofsegmentlocation">EndOfSegmentLocation</a></div></div></div><div className="tree-node"><a href="#deleteheaderrequest">DeleteHeaderRequest</a></div><div className="tree-node"><a href="#deletefooterrequest">DeleteFooterRequest</a></div><div className="tree-node"><a href="#pintableheaderrowsrequest">PinTableHeaderRowsRequest</a><div className="tree-children"><div className="tree-node"><a href="#location">Location</a></div></div></div></div></div><div className="tree-node"><a href="#writecontrol">WriteControl</a></div></div></div></div></div>

## DocumentsCreateBody

The body of a create-document request.

<div className="reference-table">
  | Field   | Type     | Description                                                                                                    |
  | ------- | -------- | -------------------------------------------------------------------------------------------------------------- |
  | `title` | `string` | The title of the new document. This is the only field documents.create honours; the document is created empty. |
</div>

## BatchUpdateBody

The body of a batch-update request.

<div className="reference-table">
  | Field                                                            | Type                          | Description                                                                                                                                                                                                                                                                                                   |
  | ---------------------------------------------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `requests` <span className="required" title="required">\*</span> | [Request](#request)\[]        | The edits to apply, in order. Each entry sets exactly one kind of request. Note that edits are applied sequentially and indices shift as they are: when inserting several pieces of text by index, order the requests back-to-front so that earlier insertions do not move the positions later ones refer to. |
  | `writeControl`                                                   | [WriteControl](#writecontrol) | Optional concurrency control. Set requiredRevisionId to refuse the write if the document has changed since it was read.                                                                                                                                                                                       |
</div>

## Request

A single update to apply to a document.

<div className="reference-table">
  | Field                         | Type                                                                      | Description                                          |
  | ----------------------------- | ------------------------------------------------------------------------- | ---------------------------------------------------- |
  | `replaceAllText`              | [ReplaceAllTextRequest](#replacealltextrequest)                           | Replaces all instances of the specified text.        |
  | `insertText`                  | [InsertTextRequest](#inserttextrequest)                                   | Inserts text at the specified location.              |
  | `updateTextStyle`             | [UpdateTextStyleRequest](#updatetextstylerequest)                         | Updates the text style at the specified range.       |
  | `createParagraphBullets`      | [CreateParagraphBulletsRequest](#createparagraphbulletsrequest)           | Creates bullets for paragraphs.                      |
  | `deleteParagraphBullets`      | [DeleteParagraphBulletsRequest](#deleteparagraphbulletsrequest)           | Deletes bullets from paragraphs.                     |
  | `createNamedRange`            | [CreateNamedRangeRequest](#createnamedrangerequest)                       | Creates a named range.                               |
  | `deleteNamedRange`            | [DeleteNamedRangeRequest](#deletenamedrangerequest)                       | Deletes a named range.                               |
  | `updateParagraphStyle`        | [UpdateParagraphStyleRequest](#updateparagraphstylerequest)               | Updates the paragraph style at the specified range.  |
  | `deleteContentRange`          | [DeleteContentRangeRequest](#deletecontentrangerequest)                   | Deletes content from the document.                   |
  | `insertInlineImage`           | [InsertInlineImageRequest](#insertinlineimagerequest)                     | Inserts an inline image at the specified location.   |
  | `insertTable`                 | [InsertTableRequest](#inserttablerequest)                                 | Inserts a table at the specified location.           |
  | `insertTableRow`              | [InsertTableRowRequest](#inserttablerowrequest)                           | Inserts an empty row into a table.                   |
  | `insertTableColumn`           | [InsertTableColumnRequest](#inserttablecolumnrequest)                     | Inserts an empty column into a table.                |
  | `deleteTableRow`              | [DeleteTableRowRequest](#deletetablerowrequest)                           | Deletes a row from a table.                          |
  | `deleteTableColumn`           | [DeleteTableColumnRequest](#deletetablecolumnrequest)                     | Deletes a column from a table.                       |
  | `insertPageBreak`             | [InsertPageBreakRequest](#insertpagebreakrequest)                         | Inserts a page break at the specified location.      |
  | `deletePositionedObject`      | [DeletePositionedObjectRequest](#deletepositionedobjectrequest)           | Deletes a positioned object from the document.       |
  | `updateTableColumnProperties` | [UpdateTableColumnPropertiesRequest](#updatetablecolumnpropertiesrequest) | Updates the properties of columns in a table.        |
  | `updateTableCellStyle`        | [UpdateTableCellStyleRequest](#updatetablecellstylerequest)               | Updates the style of table cells.                    |
  | `updateTableRowStyle`         | [UpdateTableRowStyleRequest](#updatetablerowstylerequest)                 | Updates the row style in a table.                    |
  | `replaceImage`                | [ReplaceImageRequest](#replaceimagerequest)                               | Replaces an image in the document.                   |
  | `updateDocumentStyle`         | [UpdateDocumentStyleRequest](#updatedocumentstylerequest)                 | Updates the style of the document.                   |
  | `mergeTableCells`             | [MergeTableCellsRequest](#mergetablecellsrequest)                         | Merges cells in a table.                             |
  | `unmergeTableCells`           | [UnmergeTableCellsRequest](#unmergetablecellsrequest)                     | Unmerges cells in a table.                           |
  | `createHeader`                | [CreateHeaderRequest](#createheaderrequest)                               | Creates a header.                                    |
  | `createFooter`                | [CreateFooterRequest](#createfooterrequest)                               | Creates a footer.                                    |
  | `createFootnote`              | [CreateFootnoteRequest](#createfootnoterequest)                           | Creates a footnote.                                  |
  | `replaceNamedRangeContent`    | [ReplaceNamedRangeContentRequest](#replacenamedrangecontentrequest)       | Replaces the content in a named range.               |
  | `updateSectionStyle`          | [UpdateSectionStyleRequest](#updatesectionstylerequest)                   | Updates the section style of the specified range.    |
  | `insertSectionBreak`          | [InsertSectionBreakRequest](#insertsectionbreakrequest)                   | Inserts a section break at the specified location.   |
  | `deleteHeader`                | [DeleteHeaderRequest](#deleteheaderrequest)                               | Deletes a header from the document.                  |
  | `deleteFooter`                | [DeleteFooterRequest](#deletefooterrequest)                               | Deletes a footer from the document.                  |
  | `pinTableHeaderRows`          | [PinTableHeaderRowsRequest](#pintableheaderrowsrequest)                   | Updates the number of pinned header rows in a table. |
</div>

## ReplaceAllTextRequest

<div className="reference-table">
  | Field                                                                | Type                                              | Description                                                                  |
  | -------------------------------------------------------------------- | ------------------------------------------------- | ---------------------------------------------------------------------------- |
  | `replaceText` <span className="required" title="required">\*</span>  | `string`                                          | The text that will replace the matched text.                                 |
  | `tabsCriteria`                                                       | [TabsCriteria](#tabscriteria)                     | Optional. The criteria used to specify in which tabs the replacement occurs. |
  | `containsText` <span className="required" title="required">\*</span> | [SubstringMatchCriteria](#substringmatchcriteria) | Finds text in the document matching this substring criteria.                 |
</div>

## TabsCriteria

A criteria that specifies in which tabs a request executes.

<div className="reference-table">
  | Field    | Type        | Description                                        |
  | -------- | ----------- | -------------------------------------------------- |
  | `tabIds` | `string`\[] | The list of tab IDs in which the request executes. |
</div>

## SubstringMatchCriteria

Finds text in the document matching this substring.

<div className="reference-table">
  | Field                                                        | Type      | Description                                                       |
  | ------------------------------------------------------------ | --------- | ----------------------------------------------------------------- |
  | `text` <span className="required" title="required">\*</span> | `string`  | The text to search for in the document.                           |
  | `matchCase`                                                  | `boolean` | Indicates whether the search should respect case.                 |
  | `searchByRegex`                                              | `boolean` | True if the find value should be treated as a regular expression. |
</div>

## InsertTextRequest

<div className="reference-table">
  | Field                                                        | Type                                          | Description                                                                     |
  | ------------------------------------------------------------ | --------------------------------------------- | ------------------------------------------------------------------------------- |
  | `text` <span className="required" title="required">\*</span> | `string`                                      | The text to be inserted.                                                        |
  | `location`                                                   | [Location](#location)                         | Inserts the text at a specific index in the document.                           |
  | `endOfSegmentLocation`                                       | [EndOfSegmentLocation](#endofsegmentlocation) | Inserts the text at the end of a header, footer, footnote or the document body. |
</div>

## Location

A particular location in the document.

<div className="reference-table">
  | Field       | Type      | Description                                                                                                     |
  | ----------- | --------- | --------------------------------------------------------------------------------------------------------------- |
  | `segmentId` | `string`  | The ID of the header, footer or footnote the location is in. An empty segment ID signifies the document's body. |
  | `index`     | `integer` | The zero-based index, in UTF-16 code units relative to the beginning of the segment.                            |
  | `tabId`     | `string`  | The tab that the location is in. When omitted, the request is applied to the first tab.                         |
</div>

## EndOfSegmentLocation

Location at the end of a body, header, footer or footnote.

<div className="reference-table">
  | Field       | Type     | Description                                                                                                     |
  | ----------- | -------- | --------------------------------------------------------------------------------------------------------------- |
  | `segmentId` | `string` | The ID of the header, footer or footnote the location is in. An empty segment ID signifies the document's body. |
  | `tabId`     | `string` | The tab that the location is in. When omitted, the request is applied to the first tab.                         |
</div>

## UpdateTextStyleRequest

<div className="reference-table">
  | Field                                                             | Type                    | Description                        |
  | ----------------------------------------------------------------- | ----------------------- | ---------------------------------- |
  | `textStyle` <span className="required" title="required">\*</span> | [TextStyle](#textstyle) | The styles to set on the text.     |
  | `fields` <span className="required" title="required">\*</span>    | `string`                | The fields that should be updated. |
  | `range` <span className="required" title="required">\*</span>     | [Range](#range)         | The range of text to style.        |
</div>

## TextStyle

Text styling information.

<div className="reference-table">
  | Field       | Type      | Description                     |
  | ----------- | --------- | ------------------------------- |
  | `bold`      | `boolean` | Whether the text is bold.       |
  | `italic`    | `boolean` | Whether the text is italic.     |
  | `underline` | `boolean` | Whether the text is underlined. |
</div>

## Range

The start and end indices of text in the document.

<div className="reference-table">
  | Field        | Type      | Description                                                                                                  |
  | ------------ | --------- | ------------------------------------------------------------------------------------------------------------ |
  | `startIndex` | `integer` | The start index of the range, in UTF-16 code units.                                                          |
  | `endIndex`   | `integer` | The end index of the range, in UTF-16 code units.                                                            |
  | `segmentId`  | `string`  | The ID of the header, footer or footnote the range is in. An empty segment ID signifies the document's body. |
</div>

## CreateParagraphBulletsRequest

<div className="reference-table">
  | Field                                                                | Type                                    | Description                              |
  | -------------------------------------------------------------------- | --------------------------------------- | ---------------------------------------- |
  | `range` <span className="required" title="required">\*</span>        | [Range](#range)                         | The range to apply the bullet preset to. |
  | `bulletPreset` <span className="required" title="required">\*</span> | [BulletGlyphPreset](#bulletglyphpreset) | The kinds of bullet glyphs to be used.   |
</div>

## DeleteParagraphBulletsRequest

<div className="reference-table">
  | Field                                                         | Type            | Description                       |
  | ------------------------------------------------------------- | --------------- | --------------------------------- |
  | `range` <span className="required" title="required">\*</span> | [Range](#range) | The range to delete bullets from. |
</div>

## CreateNamedRangeRequest

<div className="reference-table">
  | Field                                                         | Type            | Description                     |
  | ------------------------------------------------------------- | --------------- | ------------------------------- |
  | `name` <span className="required" title="required">\*</span>  | `string`        | The name of the NamedRange.     |
  | `range` <span className="required" title="required">\*</span> | [Range](#range) | The range to apply the name to. |
</div>

## DeleteNamedRangeRequest

<div className="reference-table">
  | Field          | Type                          | Description                                                                             |
  | -------------- | ----------------------------- | --------------------------------------------------------------------------------------- |
  | `tabsCriteria` | [TabsCriteria](#tabscriteria) | Optional. The criteria used to specify which tab(s) the range deletion should occur in. |
  | `namedRangeId` | `string`                      | The ID of the named range to delete.                                                    |
  | `name`         | `string`                      | The name of the range(s) to delete.                                                     |
</div>

## UpdateParagraphStyleRequest

<div className="reference-table">
  | Field                                                                  | Type                              | Description                                    |
  | ---------------------------------------------------------------------- | --------------------------------- | ---------------------------------------------- |
  | `paragraphStyle` <span className="required" title="required">\*</span> | [ParagraphStyle](#paragraphstyle) | The styles to set on the paragraphs.           |
  | `fields` <span className="required" title="required">\*</span>         | `string`                          | The fields that should be updated.             |
  | `range` <span className="required" title="required">\*</span>          | [Range](#range)                   | The range overlapping the paragraphs to style. |
</div>

## ParagraphStyle

Paragraph styling information (partial).

<div className="reference-table">
  | Field       | Type     | Description                            |
  | ----------- | -------- | -------------------------------------- |
  | `alignment` | `string` | The text alignment for this paragraph. |
</div>

## DeleteContentRangeRequest

<div className="reference-table">
  | Field                                                         | Type            | Description                     |
  | ------------------------------------------------------------- | --------------- | ------------------------------- |
  | `range` <span className="required" title="required">\*</span> | [Range](#range) | The range of content to delete. |
</div>

## InsertInlineImageRequest

<div className="reference-table">
  | Field                                                       | Type                                          | Description                                                                      |
  | ----------------------------------------------------------- | --------------------------------------------- | -------------------------------------------------------------------------------- |
  | `uri` <span className="required" title="required">\*</span> | `string`                                      | The image URI.                                                                   |
  | `objectSize`                                                | [Size](#size)                                 | The size that the image should appear as in the document.                        |
  | `location`                                                  | [Location](#location)                         | Inserts the image at a specific index in the document.                           |
  | `endOfSegmentLocation`                                      | [EndOfSegmentLocation](#endofsegmentlocation) | Inserts the image at the end of a header, footer, footnote or the document body. |
</div>

## Size

Represents the width & height of an object.

<div className="reference-table">
  | Field    | Type     | Description       |
  | -------- | -------- | ----------------- |
  | `width`  | `number` | Width in points.  |
  | `height` | `number` | Height in points. |
</div>

## InsertTableRequest

<div className="reference-table">
  | Field                                                           | Type                                          | Description                                                                      |
  | --------------------------------------------------------------- | --------------------------------------------- | -------------------------------------------------------------------------------- |
  | `rows` <span className="required" title="required">\*</span>    | `integer`                                     | The number of rows in the table.                                                 |
  | `columns` <span className="required" title="required">\*</span> | `integer`                                     | The number of columns in the table.                                              |
  | `location`                                                      | [Location](#location)                         | Inserts the table at a specific index in the document.                           |
  | `endOfSegmentLocation`                                          | [EndOfSegmentLocation](#endofsegmentlocation) | Inserts the table at the end of a header, footer, footnote or the document body. |
</div>

## InsertTableRowRequest

<div className="reference-table">
  | Field                                                                     | Type                                    | Description                                                         |
  | ------------------------------------------------------------------------- | --------------------------------------- | ------------------------------------------------------------------- |
  | `tableCellLocation` <span className="required" title="required">\*</span> | [TableCellLocation](#tablecelllocation) | The reference table cell location from which rows will be inserted. |
  | `insertBelow` <span className="required" title="required">\*</span>       | `boolean`                               | Whether to insert new row below the reference cell location.        |
</div>

## TableCellLocation

Location of a single cell within a table.

<div className="reference-table">
  | Field                                                                      | Type                  | Description                                          |
  | -------------------------------------------------------------------------- | --------------------- | ---------------------------------------------------- |
  | `tableStartLocation` <span className="required" title="required">\*</span> | [Location](#location) | The location where the table starts in the document. |
  | `rowIndex` <span className="required" title="required">\*</span>           | `integer`             | The zero-based row index.                            |
  | `columnIndex` <span className="required" title="required">\*</span>        | `integer`             | The zero-based column index.                         |
</div>

## InsertTableColumnRequest

<div className="reference-table">
  | Field                                                                     | Type                                    | Description                                                               |
  | ------------------------------------------------------------------------- | --------------------------------------- | ------------------------------------------------------------------------- |
  | `tableCellLocation` <span className="required" title="required">\*</span> | [TableCellLocation](#tablecelllocation) | The reference table cell location from which columns will be inserted.    |
  | `insertRight` <span className="required" title="required">\*</span>       | `boolean`                               | Whether to insert new column to the right of the reference cell location. |
</div>

## DeleteTableRowRequest

<div className="reference-table">
  | Field                                                                     | Type                                    | Description                                                           |
  | ------------------------------------------------------------------------- | --------------------------------------- | --------------------------------------------------------------------- |
  | `tableCellLocation` <span className="required" title="required">\*</span> | [TableCellLocation](#tablecelllocation) | The reference table cell location from which the row will be deleted. |
</div>

## DeleteTableColumnRequest

<div className="reference-table">
  | Field                                                                     | Type                                    | Description                                                              |
  | ------------------------------------------------------------------------- | --------------------------------------- | ------------------------------------------------------------------------ |
  | `tableCellLocation` <span className="required" title="required">\*</span> | [TableCellLocation](#tablecelllocation) | The reference table cell location from which the column will be deleted. |
</div>

## InsertPageBreakRequest

<div className="reference-table">
  | Field                  | Type                                          | Description                                                 |
  | ---------------------- | --------------------------------------------- | ----------------------------------------------------------- |
  | `location`             | [Location](#location)                         | Inserts the page break at a specific index in the document. |
  | `endOfSegmentLocation` | [EndOfSegmentLocation](#endofsegmentlocation) | Inserts the page break at the end of the document body.     |
</div>

## DeletePositionedObjectRequest

<div className="reference-table">
  | Field                                                            | Type     | Description                                         |
  | ---------------------------------------------------------------- | -------- | --------------------------------------------------- |
  | `objectId` <span className="required" title="required">\*</span> | `string` | The ID of the positioned object to delete.          |
  | `tabId`                                                          | `string` | The tab that the positioned object to delete is in. |
</div>

## UpdateTableColumnPropertiesRequest

<div className="reference-table">
  | Field                                                                         | Type                                            | Description                                                                                                                       |
  | ----------------------------------------------------------------------------- | ----------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
  | `tableStartLocation` <span className="required" title="required">\*</span>    | [Location](#location)                           | The location where the table starts in the document.                                                                              |
  | `columnIndices`                                                               | `integer`\[]                                    | The list of zero-based column indices whose property should be updated. If no indices are specified, all columns will be updated. |
  | `tableColumnProperties` <span className="required" title="required">\*</span> | [TableColumnProperties](#tablecolumnproperties) | The table column properties to update.                                                                                            |
  | `fields` <span className="required" title="required">\*</span>                | `string`                                        | The fields that should be updated.                                                                                                |
</div>

## TableColumnProperties

Properties of a column in a table (partial).

<div className="reference-table">
  | Field   | Type     | Description             |
  | ------- | -------- | ----------------------- |
  | `width` | `number` | Column width in points. |
</div>

## UpdateTableCellStyleRequest

<div className="reference-table">
  | Field                                                                  | Type                              | Description                                                                            |
  | ---------------------------------------------------------------------- | --------------------------------- | -------------------------------------------------------------------------------------- |
  | `tableCellStyle` <span className="required" title="required">\*</span> | [TableCellStyle](#tablecellstyle) | The style to set on the table cells.                                                   |
  | `fields` <span className="required" title="required">\*</span>         | `string`                          | The fields that should be updated.                                                     |
  | `tableRange`                                                           | [TableRange](#tablerange)         | The table range representing the subset of the table to which the updates are applied. |
  | `tableStartLocation`                                                   | [Location](#location)             | The location where the table starts in the document.                                   |
</div>

## TableCellStyle

Styling for a table cell (partial).

<div className="reference-table">
  | Field             | Type     | Description                       |
  | ----------------- | -------- | --------------------------------- |
  | `backgroundColor` | `string` | Background color as a hex string. |
</div>

## TableRange

A rectangular (or L-shaped) set of table cells.

<div className="reference-table">
  | Field                                                                     | Type                                    | Description                                     |
  | ------------------------------------------------------------------------- | --------------------------------------- | ----------------------------------------------- |
  | `tableCellLocation` <span className="required" title="required">\*</span> | [TableCellLocation](#tablecelllocation) | The cell location where the table range starts. |
  | `rowSpan` <span className="required" title="required">\*</span>           | `integer`                               | The row span of the table range.                |
  | `columnSpan` <span className="required" title="required">\*</span>        | `integer`                               | The column span of the table range.             |
</div>

## UpdateTableRowStyleRequest

<div className="reference-table">
  | Field                                                                      | Type                            | Description                                                                                                              |
  | -------------------------------------------------------------------------- | ------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
  | `tableStartLocation` <span className="required" title="required">\*</span> | [Location](#location)           | The location where the table starts in the document.                                                                     |
  | `rowIndices`                                                               | `integer`\[]                    | The list of zero-based row indices whose style should be updated. If no indices are specified, all rows will be updated. |
  | `tableRowStyle` <span className="required" title="required">\*</span>      | [TableRowStyle](#tablerowstyle) | The styles to be set on the rows.                                                                                        |
  | `fields` <span className="required" title="required">\*</span>             | `string`                        | The fields that should be updated.                                                                                       |
</div>

## TableRowStyle

Styling for a table row (partial).

<div className="reference-table">
  | Field          | Type     | Description                   |
  | -------------- | -------- | ----------------------------- |
  | `minRowHeight` | `number` | Minimum row height in points. |
</div>

## ReplaceImageRequest

<div className="reference-table">
  | Field                                                                 | Type                                      | Description                                         |
  | --------------------------------------------------------------------- | ----------------------------------------- | --------------------------------------------------- |
  | `imageObjectId` <span className="required" title="required">\*</span> | `string`                                  | The ID of the existing image that will be replaced. |
  | `uri` <span className="required" title="required">\*</span>           | `string`                                  | The URI of the new image.                           |
  | `imageReplaceMethod`                                                  | [ImageReplaceMethod](#imagereplacemethod) | Optional. The replacement method.                   |
  | `tabId`                                                               | `string`                                  | The tab that the image to be replaced is in.        |
</div>

## UpdateDocumentStyleRequest

<div className="reference-table">
  | Field                                                                 | Type                            | Description                                |
  | --------------------------------------------------------------------- | ------------------------------- | ------------------------------------------ |
  | `documentStyle` <span className="required" title="required">\*</span> | [DocumentStyle](#documentstyle) | The styles to set on the document.         |
  | `fields` <span className="required" title="required">\*</span>        | `string`                        | The fields that should be updated.         |
  | `tabId`                                                               | `string`                        | The tab that contains the style to update. |
</div>

## DocumentStyle

Overall document styling (partial).

<div className="reference-table">
  | Field        | Type     | Description                       |
  | ------------ | -------- | --------------------------------- |
  | `background` | `string` | Background color as a hex string. |
</div>

## MergeTableCellsRequest

<div className="reference-table">
  | Field                                                              | Type                      | Description                                                   |
  | ------------------------------------------------------------------ | ------------------------- | ------------------------------------------------------------- |
  | `tableRange` <span className="required" title="required">\*</span> | [TableRange](#tablerange) | The table range specifying which cells of the table to merge. |
</div>

## UnmergeTableCellsRequest

<div className="reference-table">
  | Field                                                              | Type                      | Description                                                     |
  | ------------------------------------------------------------------ | ------------------------- | --------------------------------------------------------------- |
  | `tableRange` <span className="required" title="required">\*</span> | [TableRange](#tablerange) | The table range specifying which cells of the table to unmerge. |
</div>

## CreateHeaderRequest

<div className="reference-table">
  | Field                                                        | Type                                  | Description                                                                             |
  | ------------------------------------------------------------ | ------------------------------------- | --------------------------------------------------------------------------------------- |
  | `type` <span className="required" title="required">\*</span> | [HeaderFooterType](#headerfootertype) | The type of header to create.                                                           |
  | `sectionBreakLocation`                                       | [Location](#location)                 | The location of the SectionBreak which begins the section this header should belong to. |
</div>

## CreateFooterRequest

<div className="reference-table">
  | Field                                                        | Type                                  | Description                                                                                                         |
  | ------------------------------------------------------------ | ------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
  | `type` <span className="required" title="required">\*</span> | [HeaderFooterType](#headerfootertype) | The type of footer to create.                                                                                       |
  | `sectionBreakLocation`                                       | [Location](#location)                 | The location of the SectionBreak immediately preceding the section whose SectionStyle this footer should belong to. |
</div>

## CreateFootnoteRequest

<div className="reference-table">
  | Field                  | Type                                          | Description                                                         |
  | ---------------------- | --------------------------------------------- | ------------------------------------------------------------------- |
  | `location`             | [Location](#location)                         | Inserts the footnote reference at a specific index in the document. |
  | `endOfSegmentLocation` | [EndOfSegmentLocation](#endofsegmentlocation) | Inserts the footnote reference at the end of the document body.     |
</div>

## ReplaceNamedRangeContentRequest

<div className="reference-table">
  | Field                                                        | Type                          | Description                                                                  |
  | ------------------------------------------------------------ | ----------------------------- | ---------------------------------------------------------------------------- |
  | `tabsCriteria`                                               | [TabsCriteria](#tabscriteria) | Optional. The criteria used to specify in which tabs the replacement occurs. |
  | `text` <span className="required" title="required">\*</span> | `string`                      | Replaces the content of the specified named range(s) with the given text.    |
  | `namedRangeId`                                               | `string`                      | The ID of the named range whose content will be replaced.                    |
  | `namedRangeName`                                             | `string`                      | The name of the NamedRanges whose content will be replaced.                  |
</div>

## UpdateSectionStyleRequest

<div className="reference-table">
  | Field                                                                | Type                          | Description                                  |
  | -------------------------------------------------------------------- | ----------------------------- | -------------------------------------------- |
  | `range` <span className="required" title="required">\*</span>        | [Range](#range)               | The range overlapping the sections to style. |
  | `sectionStyle` <span className="required" title="required">\*</span> | [SectionStyle](#sectionstyle) | The styles to be set on the section.         |
  | `fields` <span className="required" title="required">\*</span>       | `string`                      | The fields that should be updated.           |
</div>

## SectionStyle

Styling for a section (partial).

<div className="reference-table">
  | Field        | Type     | Description            |
  | ------------ | -------- | ---------------------- |
  | `marginLeft` | `number` | Left margin in points. |
</div>

## InsertSectionBreakRequest

<div className="reference-table">
  | Field                                                               | Type                                          | Description                                                                |
  | ------------------------------------------------------------------- | --------------------------------------------- | -------------------------------------------------------------------------- |
  | `sectionType` <span className="required" title="required">\*</span> | [SectionType](#sectiontype)                   | The type of section to insert.                                             |
  | `location`                                                          | [Location](#location)                         | Inserts a newline and a section break at a specific index in the document. |
  | `endOfSegmentLocation`                                              | [EndOfSegmentLocation](#endofsegmentlocation) | Inserts a newline and a section break at the end of the document body.     |
</div>

## DeleteHeaderRequest

<div className="reference-table">
  | Field                                                            | Type     | Description                              |
  | ---------------------------------------------------------------- | -------- | ---------------------------------------- |
  | `headerId` <span className="required" title="required">\*</span> | `string` | The id of the header to delete.          |
  | `tabId`                                                          | `string` | The tab containing the header to delete. |
</div>

## DeleteFooterRequest

<div className="reference-table">
  | Field                                                            | Type     | Description                                 |
  | ---------------------------------------------------------------- | -------- | ------------------------------------------- |
  | `footerId` <span className="required" title="required">\*</span> | `string` | The id of the footer to delete.             |
  | `tabId`                                                          | `string` | The tab that contains the footer to delete. |
</div>

## PinTableHeaderRowsRequest

<div className="reference-table">
  | Field                                                                         | Type                  | Description                                                                  |
  | ----------------------------------------------------------------------------- | --------------------- | ---------------------------------------------------------------------------- |
  | `tableStartLocation` <span className="required" title="required">\*</span>    | [Location](#location) | The location where the table starts in the document.                         |
  | `pinnedHeaderRowsCount` <span className="required" title="required">\*</span> | `integer`             | The number of table rows to pin, where 0 implies that all rows are unpinned. |
</div>

## WriteControl

Optimistic concurrency for a batch update.

<div className="reference-table">
  | Field                | Type     | Description                                                                                                                                                                                                  |
  | -------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | `requiredRevisionId` | `string` | The revision ID the write is applied to. If this is not the latest revision of the document, the request is not processed and returns a 400. Obtain it from `revisionId` on a document you fetched.          |
  | `targetRevisionId`   | `string` | The target revision ID. The request is applied to the latest revision, with any changes made since the target revision transformed onto it rather than rejected. Mutually exclusive with requiredRevisionId. |
</div>

## SuggestionsViewMode

<div className="enum-table">
  | Value                          |
  | ------------------------------ |
  | `DEFAULT_FOR_CURRENT_ACCESS`   |
  | `SUGGESTIONS_INLINE`           |
  | `PREVIEW_SUGGESTIONS_ACCEPTED` |
  | `PREVIEW_WITHOUT_SUGGESTIONS`  |
</div>

## BulletGlyphPreset

<div className="enum-table">
  | Value                                    |
  | ---------------------------------------- |
  | `ARROW`                                  |
  | `ARROW3D`                                |
  | `CHECKBOX`                               |
  | `CIRCLE`                                 |
  | `DIAMOND`                                |
  | `DIAMONDX`                               |
  | `HOLLOWDIAMOND`                          |
  | `DISC`                                   |
  | `SQUARE`                                 |
  | `STAR`                                   |
  | `ALPHA`                                  |
  | `UPPERALPHA`                             |
  | `DECIMAL`                                |
  | `ZERODECIMAL`                            |
  | `ROMAN`                                  |
  | `UPPERROMAN`                             |
  | `LEFTTRIANGLE`                           |
  | `BULLET_GLYPH_PRESET_UNSPECIFIED`        |
  | `BULLET_DISC_CIRCLE_SQUARE`              |
  | `BULLET_DIAMONDX_ARROW3D_SQUARE`         |
  | `BULLET_CHECKBOX`                        |
  | `BULLET_ARROW_DIAMOND_DISC`              |
  | `BULLET_STAR_CIRCLE_SQUARE`              |
  | `BULLET_ARROW3D_CIRCLE_SQUARE`           |
  | `BULLET_LEFTTRIANGLE_DIAMOND_DISC`       |
  | `BULLET_DIAMONDX_HOLLOWDIAMOND_SQUARE`   |
  | `BULLET_DIAMOND_CIRCLE_SQUARE`           |
  | `NUMBERED_DECIMAL_ALPHA_ROMAN`           |
  | `NUMBERED_DECIMAL_ALPHA_ROMAN_PARENS`    |
  | `NUMBERED_DECIMAL_NESTED`                |
  | `NUMBERED_UPPERALPHA_ALPHA_ROMAN`        |
  | `NUMBERED_UPPERROMAN_UPPERALPHA_DECIMAL` |
  | `NUMBERED_ZERODECIMAL_ALPHA_ROMAN`       |
</div>

## ImageReplaceMethod

<div className="enum-table">
  | Value                              |
  | ---------------------------------- |
  | `IMAGE_REPLACE_METHOD_UNSPECIFIED` |
  | `CENTER_CROP`                      |
</div>

## HeaderFooterType

<div className="enum-table">
  | Value                            |
  | -------------------------------- |
  | `HEADER_FOOTER_TYPE_UNSPECIFIED` |
  | `DEFAULT`                        |
</div>

## SectionType

<div className="enum-table">
  | Value                      |
  | -------------------------- |
  | `SECTION_TYPE_UNSPECIFIED` |
  | `CONTINUOUS`               |
  | `NEXT_PAGE`                |
  | `NEXT_COLUMN`              |
</div>
