Actions40
- Create Bullets Request Actions
- Create Document Request Actions
- Create Headers & Footers Request Actions
- Create Images Request Actions
- Create Named Ranges Request Actions
- Create Tables Request Actions
- Create Tabs Request Actions
- Create Text Request Actions
- Send Request Actions
Create Tabs Request → Update Document Tab Properties
AI-generatedSummary
Updates the properties of an existing Google Docs tab using a batch request.
Inputs
- tabProperties (required) — A collection defining the tab to update. Includes Tab ID (required), Title, Index, and Additional Fields (Parent Tab ID, Icon Emoji).
- fields (required) — A multi-select list specifying which properties to update (e.g., tabId, title, index, additionalFields).
Output shape
No body — success/failure only
Performs an asynchronous batch update. Returns success if the request is accepted by Google Docs API; errors are thrown if the request is invalid or the Tab ID does not exist.
Examples
Example 1: Change the title of an existing tab
Tab Properties: Tab ID = 'abc123', Title = 'New Title'; Fields = ['title']
Example 2: Reorder tabs by updating their index
Tab Properties: Tab ID = 'xyz789', Index = 5; Fields = ['index']