Menu
Sheets.spreadsheets.batch Update
Applies one or more updates to the spreadsheet. Each request is validated before being applied. If any request is not valid then the entire request will fail and nothing will be applied. Some requests have replies to give you some information about how they are applied. The replies will mirror the requests. For example, if you applied 4 updates and the 3rd one had a reply, then the response will have 2 empty replies, the actual reply, and another empty reply, in that order. Due to the collaborative nature of spreadsheets, it is not guaranteed that the spreadsheet will reflect exactly your changes after this completes, however it is guaranteed that the updates in the request will be applied together atomically. Your changes may be altered with respect to collaborator changes. If there are no collaborators, the spreadsheet should reflect your changes.
/v4/spreadsheets/{spreadsheetId}:batchUpdateUse it in a workflow
- Add a step and choose the Google Sheets connector.
- Pick the Sheets.spreadsheets.batch Update action (under spreadsheets).
- Fill in the fields below, then reference the result from later steps as
{{sheetsSpreadsheetsBatchUpdate.response.data}}.
Request
Path parameters
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"includeSpreadsheetInResponse": false,
"requests": [
{
"addBanding": {
"bandedRange": {
"bandedRangeId": 0,
"columnProperties": {
"firstBandColor": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"firstBandColorStyle": {
"rgbColor": null,
"themeColor": null
},
"footerColor": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"footerColorStyle": {
"rgbColor": null,
"themeColor": null
},
"headerColor": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"headerColorStyle": {
"rgbColor": null,
"themeColor": null
},
"secondBandColor": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"secondBandColorStyle": {
"rgbColor": null,
"themeColor": null
}
},
"range": {
"endColumnIndex": 0,
"endRowIndex": 0,
"sheetId": 0,
"startColumnIndex": 0,
"startRowIndex": 0
},
"rowProperties": {
"firstBandColor": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"firstBandColorStyle": {
"rgbColor": null,
"themeColor": null
},
"footerColor": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"footerColorStyle": {
"rgbColor": null,
"themeColor": null
},
"headerColor": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"headerColorStyle": {
"rgbColor": null,
"themeColor": null
},
"secondBandColor": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"secondBandColorStyle": {
"rgbColor": null,
"themeColor": null
}
}
}
},
"addChart": {
"chart": {
"border": {
"color": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"colorStyle": {
"rgbColor": null,
"themeColor": null
}
},
"chartId": 0,
"position": {
"newSheet": false,
"overlayPosition": {
"anchorCell": null,
"heightPixels": null,
"offsetXPixels": null,
"offsetYPixels": null,
"widthPixels": null
},
"sheetId": 0
},
"spec": {
"altText": "string",
"backgroundColor": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"backgroundColorStyle": {
"rgbColor": null,
"themeColor": null
},
"basicChart": {
"axis": null,
"chartType": null,
"compareMode": null,
"domains": null,
"headerCount": null,
"interpolateNulls": null,
"legendPosition": null,
"lineSmoothing": null,
"series": null,
"stackedType": null,
"threeDimensional": null,
"totalDataLabel": null
},
"bubbleChart": {
"bubbleBorderColor": null,
"bubbleBorderColorStyle": null,
"bubbleLabels": null,
"bubbleMaxRadiusSize": null,
"bubbleMinRadiusSize": null,
"bubbleOpacity": null,
"bubbleSizes": null,
"bubbleTextStyle": null,
"domain": null,
"groupIds": null,
"legendPosition": null,
"series": null
},
"candlestickChart": {
"data": null,
"domain": null
},
"dataSourceChartProperties": {
"dataExecutionStatus": null,
"dataSourceId": null
},
"filterSpecs": [
null
],
"fontName": "string",
"hiddenDimensionStrategy": "CHART_HIDDEN_DIMENSION_STRATEGY_UNSPECIFIED",
"histogramChart": {
"bucketSize": null,
"legendPosition": null,
"outlierPercentile": null,
"series": null,
"showItemDividers": null
},
"maximized": false
}
}
},
"addConditionalFormatRule": {
"index": 0,
"rule": {
"booleanRule": {
"condition": {
"type": null,
"values": null
},
"format": {
"backgroundColor": null,
"backgroundColorStyle": null,
"borders": null,
"horizontalAlignment": null,
"hyperlinkDisplayType": null,
"numberFormat": null,
"padding": null,
"textDirection": null,
"textFormat": null,
"textRotation": null,
"verticalAlignment": null,
"wrapStrategy": null
}
},
"gradientRule": {
"maxpoint": {
"color": null,
"colorStyle": null,
"type": null,
"value": null
},
"midpoint": {
"color": null,
"colorStyle": null,
"type": null,
"value": null
},
"minpoint": {
"color": null,
"colorStyle": null,
"type": null,
"value": null
}
},
"ranges": [
{
"endColumnIndex": null,
"endRowIndex": null,
"sheetId": null,
"startColumnIndex": null,
"startRowIndex": null
}
]
}
},
"addDataSource": {
"dataSource": {
"calculatedColumns": [
{
"formula": null,
"reference": null
}
],
"dataSourceId": "string",
"sheetId": 0,
"spec": {
"bigQuery": {
"projectId": null,
"querySpec": null,
"tableSpec": null
},
"parameters": [
null
]
}
}
},
"addDimensionGroup": {
"range": {
"dimension": "DIMENSION_UNSPECIFIED",
"endIndex": 0,
"sheetId": 0,
"startIndex": 0
}
},
"addFilterView": {
"filter": {
"criteria": {},
"filterSpecs": [
{
"columnIndex": null,
"dataSourceColumnReference": null,
"filterCriteria": null
}
],
"filterViewId": 0,
"namedRangeId": "string",
"range": {
"endColumnIndex": 0,
"endRowIndex": 0,
"sheetId": 0,
"startColumnIndex": 0,
"startRowIndex": 0
},
"sortSpecs": [
{
"backgroundColor": null,
"backgroundColorStyle": null,
"dataSourceColumnReference": null,
"dimensionIndex": null,
"foregroundColor": null,
"foregroundColorStyle": null,
"sortOrder": null
}
],
"title": "string"
}
},
"addNamedRange": {
"namedRange": {
"name": "string",
"namedRangeId": "string",
"range": {
"endColumnIndex": 0,
"endRowIndex": 0,
"sheetId": 0,
"startColumnIndex": 0,
"startRowIndex": 0
}
}
},
"addProtectedRange": {
"protectedRange": {
"description": "string",
"editors": {
"domainUsersCanEdit": false,
"groups": [
null
],
"users": [
null
]
},
"namedRangeId": "string",
"protectedRangeId": 0,
"range": {
"endColumnIndex": 0,
"endRowIndex": 0,
"sheetId": 0,
"startColumnIndex": 0,
"startRowIndex": 0
},
"requestingUserCanEdit": false,
"unprotectedRanges": [
{
"endColumnIndex": null,
"endRowIndex": null,
"sheetId": null,
"startColumnIndex": null,
"startRowIndex": null
}
],
"warningOnly": false
}
},
"addSheet": {
"properties": {
"dataSourceSheetProperties": {
"columns": [
null
],
"dataExecutionStatus": {
"errorCode": null,
"errorMessage": null,
"lastRefreshTime": null,
"state": null
},
"dataSourceId": "string"
},
"gridProperties": {
"columnCount": 0,
"columnGroupControlAfter": false,
"frozenColumnCount": 0,
"frozenRowCount": 0,
"hideGridlines": false,
"rowCount": 0,
"rowGroupControlAfter": false
},
"hidden": false,
"index": 0,
"rightToLeft": false,
"sheetId": 0,
"sheetType": "SHEET_TYPE_UNSPECIFIED",
"tabColor": {
"alpha": 0,
"blue": 0,
"green": 0,
"red": 0
},
"tabColorStyle": {
"rgbColor": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"themeColor": "THEME_COLOR_TYPE_UNSPECIFIED"
},
"title": "string"
}
},
"addSlicer": {
"slicer": {
"position": {
"newSheet": false,
"overlayPosition": {
"anchorCell": null,
"heightPixels": null,
"offsetXPixels": null,
"offsetYPixels": null,
"widthPixels": null
},
"sheetId": 0
},
"slicerId": 0,
"spec": {
"applyToPivotTables": false,
"backgroundColor": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"backgroundColorStyle": {
"rgbColor": null,
"themeColor": null
},
"columnIndex": 0,
"dataRange": {
"endColumnIndex": null,
"endRowIndex": null,
"sheetId": null,
"startColumnIndex": null,
"startRowIndex": null
},
"filterCriteria": {
"condition": null,
"hiddenValues": null,
"visibleBackgroundColor": null,
"visibleBackgroundColorStyle": null,
"visibleForegroundColor": null,
"visibleForegroundColorStyle": null
},
"horizontalAlignment": "HORIZONTAL_ALIGN_UNSPECIFIED",
"textFormat": {
"bold": null,
"fontFamily": null,
"fontSize": null,
"foregroundColor": null,
"foregroundColorStyle": null,
"italic": null,
"link": null,
"strikethrough": null,
"underline": null
},
"title": "string"
}
}
},
"appendCells": {
"fields": "string",
"rows": [
{
"values": [
null
]
}
],
"sheetId": 0
},
"appendDimension": {
"dimension": "DIMENSION_UNSPECIFIED",
"length": 0,
"sheetId": 0
}
}
],
"responseIncludeGridData": false,
"responseRanges": [
"string"
]
}
Response
Returns 200 with an object. Read it in later steps with {{sheetsSpreadsheetsBatchUpdate.response.data.<field>}}.
{
"replies": [
{
"addBanding": {
"bandedRange": {
"bandedRangeId": 0,
"columnProperties": {
"firstBandColor": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"firstBandColorStyle": {
"rgbColor": null,
"themeColor": null
},
"footerColor": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"footerColorStyle": {
"rgbColor": null,
"themeColor": null
},
"headerColor": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"headerColorStyle": {
"rgbColor": null,
"themeColor": null
},
"secondBandColor": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"secondBandColorStyle": {
"rgbColor": null,
"themeColor": null
}
},
"range": {
"endColumnIndex": 0,
"endRowIndex": 0,
"sheetId": 0,
"startColumnIndex": 0,
"startRowIndex": 0
},
"rowProperties": {
"firstBandColor": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"firstBandColorStyle": {
"rgbColor": null,
"themeColor": null
},
"footerColor": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"footerColorStyle": {
"rgbColor": null,
"themeColor": null
},
"headerColor": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"headerColorStyle": {
"rgbColor": null,
"themeColor": null
},
"secondBandColor": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"secondBandColorStyle": {
"rgbColor": null,
"themeColor": null
}
}
}
},
"addChart": {
"chart": {
"border": {
"color": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"colorStyle": {
"rgbColor": null,
"themeColor": null
}
},
"chartId": 0,
"position": {
"newSheet": false,
"overlayPosition": {
"anchorCell": null,
"heightPixels": null,
"offsetXPixels": null,
"offsetYPixels": null,
"widthPixels": null
},
"sheetId": 0
},
"spec": {
"altText": "string",
"backgroundColor": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"backgroundColorStyle": {
"rgbColor": null,
"themeColor": null
},
"basicChart": {
"axis": null,
"chartType": null,
"compareMode": null,
"domains": null,
"headerCount": null,
"interpolateNulls": null,
"legendPosition": null,
"lineSmoothing": null,
"series": null,
"stackedType": null,
"threeDimensional": null,
"totalDataLabel": null
},
"bubbleChart": {
"bubbleBorderColor": null,
"bubbleBorderColorStyle": null,
"bubbleLabels": null,
"bubbleMaxRadiusSize": null,
"bubbleMinRadiusSize": null,
"bubbleOpacity": null,
"bubbleSizes": null,
"bubbleTextStyle": null,
"domain": null,
"groupIds": null,
"legendPosition": null,
"series": null
},
"candlestickChart": {
"data": null,
"domain": null
},
"dataSourceChartProperties": {
"dataExecutionStatus": null,
"dataSourceId": null
},
"filterSpecs": [
null
],
"fontName": "string",
"hiddenDimensionStrategy": "CHART_HIDDEN_DIMENSION_STRATEGY_UNSPECIFIED",
"histogramChart": {
"bucketSize": null,
"legendPosition": null,
"outlierPercentile": null,
"series": null,
"showItemDividers": null
},
"maximized": false
}
}
},
"addDataSource": {
"dataExecutionStatus": {
"errorCode": "string",
"errorMessage": "string",
"lastRefreshTime": "string",
"state": "string"
},
"dataSource": {
"calculatedColumns": [
{
"formula": null,
"reference": null
}
],
"dataSourceId": "string",
"sheetId": 0,
"spec": {
"bigQuery": {
"projectId": null,
"querySpec": null,
"tableSpec": null
},
"parameters": [
null
]
}
}
},
"addDimensionGroup": {
"dimensionGroups": [
{
"collapsed": false,
"depth": 0,
"range": {
"dimension": null,
"endIndex": null,
"sheetId": null,
"startIndex": null
}
}
]
},
"addFilterView": {
"filter": {
"criteria": {},
"filterSpecs": [
{
"columnIndex": null,
"dataSourceColumnReference": null,
"filterCriteria": null
}
],
"filterViewId": 0,
"namedRangeId": "string",
"range": {
"endColumnIndex": 0,
"endRowIndex": 0,
"sheetId": 0,
"startColumnIndex": 0,
"startRowIndex": 0
},
"sortSpecs": [
{
"backgroundColor": null,
"backgroundColorStyle": null,
"dataSourceColumnReference": null,
"dimensionIndex": null,
"foregroundColor": null,
"foregroundColorStyle": null,
"sortOrder": null
}
],
"title": "string"
}
},
"addNamedRange": {
"namedRange": {
"name": "string",
"namedRangeId": "string",
"range": {
"endColumnIndex": 0,
"endRowIndex": 0,
"sheetId": 0,
"startColumnIndex": 0,
"startRowIndex": 0
}
}
},
"addProtectedRange": {
"protectedRange": {
"description": "string",
"editors": {
"domainUsersCanEdit": false,
"groups": [
null
],
"users": [
null
]
},
"namedRangeId": "string",
"protectedRangeId": 0,
"range": {
"endColumnIndex": 0,
"endRowIndex": 0,
"sheetId": 0,
"startColumnIndex": 0,
"startRowIndex": 0
},
"requestingUserCanEdit": false,
"unprotectedRanges": [
{
"endColumnIndex": null,
"endRowIndex": null,
"sheetId": null,
"startColumnIndex": null,
"startRowIndex": null
}
],
"warningOnly": false
}
},
"addSheet": {
"properties": {
"dataSourceSheetProperties": {
"columns": [
null
],
"dataExecutionStatus": {
"errorCode": null,
"errorMessage": null,
"lastRefreshTime": null,
"state": null
},
"dataSourceId": "string"
},
"gridProperties": {
"columnCount": 0,
"columnGroupControlAfter": false,
"frozenColumnCount": 0,
"frozenRowCount": 0,
"hideGridlines": false,
"rowCount": 0,
"rowGroupControlAfter": false
},
"hidden": false,
"index": 0,
"rightToLeft": false,
"sheetId": 0,
"sheetType": "SHEET_TYPE_UNSPECIFIED",
"tabColor": {
"alpha": 0,
"blue": 0,
"green": 0,
"red": 0
},
"tabColorStyle": {
"rgbColor": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"themeColor": "THEME_COLOR_TYPE_UNSPECIFIED"
},
"title": "string"
}
},
"addSlicer": {
"slicer": {
"position": {
"newSheet": false,
"overlayPosition": {
"anchorCell": null,
"heightPixels": null,
"offsetXPixels": null,
"offsetYPixels": null,
"widthPixels": null
},
"sheetId": 0
},
"slicerId": 0,
"spec": {
"applyToPivotTables": false,
"backgroundColor": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"backgroundColorStyle": {
"rgbColor": null,
"themeColor": null
},
"columnIndex": 0,
"dataRange": {
"endColumnIndex": null,
"endRowIndex": null,
"sheetId": null,
"startColumnIndex": null,
"startRowIndex": null
},
"filterCriteria": {
"condition": null,
"hiddenValues": null,
"visibleBackgroundColor": null,
"visibleBackgroundColorStyle": null,
"visibleForegroundColor": null,
"visibleForegroundColorStyle": null
},
"horizontalAlignment": "HORIZONTAL_ALIGN_UNSPECIFIED",
"textFormat": {
"bold": null,
"fontFamily": null,
"fontSize": null,
"foregroundColor": null,
"foregroundColorStyle": null,
"italic": null,
"link": null,
"strikethrough": null,
"underline": null
},
"title": "string"
}
}
},
"createDeveloperMetadata": {
"developerMetadata": {
"location": {
"dimensionRange": {
"dimension": null,
"endIndex": null,
"sheetId": null,
"startIndex": null
},
"locationType": "DEVELOPER_METADATA_LOCATION_TYPE_UNSPECIFIED",
"sheetId": 0,
"spreadsheet": false
},
"metadataId": 0,
"metadataKey": "string",
"metadataValue": "string",
"visibility": "DEVELOPER_METADATA_VISIBILITY_UNSPECIFIED"
}
},
"deleteConditionalFormatRule": {
"rule": {
"booleanRule": {
"condition": {
"type": null,
"values": null
},
"format": {
"backgroundColor": null,
"backgroundColorStyle": null,
"borders": null,
"horizontalAlignment": null,
"hyperlinkDisplayType": null,
"numberFormat": null,
"padding": null,
"textDirection": null,
"textFormat": null,
"textRotation": null,
"verticalAlignment": null,
"wrapStrategy": null
}
},
"gradientRule": {
"maxpoint": {
"color": null,
"colorStyle": null,
"type": null,
"value": null
},
"midpoint": {
"color": null,
"colorStyle": null,
"type": null,
"value": null
},
"minpoint": {
"color": null,
"colorStyle": null,
"type": null,
"value": null
}
},
"ranges": [
{
"endColumnIndex": null,
"endRowIndex": null,
"sheetId": null,
"startColumnIndex": null,
"startRowIndex": null
}
]
}
},
"deleteDeveloperMetadata": {
"deletedDeveloperMetadata": [
{
"location": {
"dimensionRange": null,
"locationType": null,
"sheetId": null,
"spreadsheet": null
},
"metadataId": 0,
"metadataKey": "string",
"metadataValue": "string",
"visibility": "DEVELOPER_METADATA_VISIBILITY_UNSPECIFIED"
}
]
}
}
],
"spreadsheetId": "string",
"updatedSpreadsheet": {
"dataSourceSchedules": [
{
"dailySchedule": {
"startTime": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0
}
},
"enabled": false,
"monthlySchedule": {
"daysOfMonth": [
0
],
"startTime": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0
}
},
"nextRun": {
"endTime": "string",
"startTime": "string"
},
"refreshScope": "DATA_SOURCE_REFRESH_SCOPE_UNSPECIFIED",
"weeklySchedule": {
"daysOfWeek": [
"DAY_OF_WEEK_UNSPECIFIED"
],
"startTime": {
"hours": 0,
"minutes": 0,
"nanos": 0,
"seconds": 0
}
}
}
],
"dataSources": [
{
"calculatedColumns": [
{
"formula": "string",
"reference": {
"name": null
}
}
],
"dataSourceId": "string",
"sheetId": 0,
"spec": {
"bigQuery": {
"projectId": "string",
"querySpec": {
"rawQuery": null
},
"tableSpec": {
"datasetId": null,
"tableId": null,
"tableProjectId": null
}
},
"parameters": [
{
"name": null,
"namedRangeId": null,
"range": null
}
]
}
}
],
"developerMetadata": [
{
"location": {
"dimensionRange": {
"dimension": "DIMENSION_UNSPECIFIED",
"endIndex": 0,
"sheetId": 0,
"startIndex": 0
},
"locationType": "DEVELOPER_METADATA_LOCATION_TYPE_UNSPECIFIED",
"sheetId": 0,
"spreadsheet": false
},
"metadataId": 0,
"metadataKey": "string",
"metadataValue": "string",
"visibility": "DEVELOPER_METADATA_VISIBILITY_UNSPECIFIED"
}
],
"namedRanges": [
{
"name": "string",
"namedRangeId": "string",
"range": {
"endColumnIndex": 0,
"endRowIndex": 0,
"sheetId": 0,
"startColumnIndex": 0,
"startRowIndex": 0
}
}
],
"properties": {
"autoRecalc": "RECALCULATION_INTERVAL_UNSPECIFIED",
"defaultFormat": {
"backgroundColor": {
"alpha": 0,
"blue": 0,
"green": 0,
"red": 0
},
"backgroundColorStyle": {
"rgbColor": {
"alpha": 0,
"blue": 0,
"green": 0,
"red": 0
},
"themeColor": "THEME_COLOR_TYPE_UNSPECIFIED"
},
"borders": {
"bottom": {
"color": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"colorStyle": {
"rgbColor": null,
"themeColor": null
},
"style": "STYLE_UNSPECIFIED",
"width": 0
},
"left": {
"color": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"colorStyle": {
"rgbColor": null,
"themeColor": null
},
"style": "STYLE_UNSPECIFIED",
"width": 0
},
"right": {
"color": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"colorStyle": {
"rgbColor": null,
"themeColor": null
},
"style": "STYLE_UNSPECIFIED",
"width": 0
},
"top": {
"color": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"colorStyle": {
"rgbColor": null,
"themeColor": null
},
"style": "STYLE_UNSPECIFIED",
"width": 0
}
},
"horizontalAlignment": "HORIZONTAL_ALIGN_UNSPECIFIED",
"hyperlinkDisplayType": "HYPERLINK_DISPLAY_TYPE_UNSPECIFIED",
"numberFormat": {
"pattern": "string",
"type": "NUMBER_FORMAT_TYPE_UNSPECIFIED"
},
"padding": {
"bottom": 0,
"left": 0,
"right": 0,
"top": 0
},
"textDirection": "TEXT_DIRECTION_UNSPECIFIED",
"textFormat": {
"bold": false,
"fontFamily": "string",
"fontSize": 0,
"foregroundColor": {
"alpha": 0,
"blue": 0,
"green": 0,
"red": 0
},
"foregroundColorStyle": {
"rgbColor": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"themeColor": "THEME_COLOR_TYPE_UNSPECIFIED"
},
"italic": false,
"link": {
"uri": "string"
},
"strikethrough": false,
"underline": false
},
"textRotation": {
"angle": 0,
"vertical": false
},
"verticalAlignment": "VERTICAL_ALIGN_UNSPECIFIED",
"wrapStrategy": "WRAP_STRATEGY_UNSPECIFIED"
},
"iterativeCalculationSettings": {
"convergenceThreshold": 0,
"maxIterations": 0
},
"locale": "string",
"spreadsheetTheme": {
"primaryFontFamily": "string",
"themeColors": [
{
"color": {
"rgbColor": null,
"themeColor": null
},
"colorType": "THEME_COLOR_TYPE_UNSPECIFIED"
}
]
},
"timeZone": "string",
"title": "string"
},
"sheets": [
{
"bandedRanges": [
{
"bandedRangeId": 0,
"columnProperties": {
"firstBandColor": null,
"firstBandColorStyle": null,
"footerColor": null,
"footerColorStyle": null,
"headerColor": null,
"headerColorStyle": null,
"secondBandColor": null,
"secondBandColorStyle": null
},
"range": {
"endColumnIndex": null,
"endRowIndex": null,
"sheetId": null,
"startColumnIndex": null,
"startRowIndex": null
},
"rowProperties": {
"firstBandColor": null,
"firstBandColorStyle": null,
"footerColor": null,
"footerColorStyle": null,
"headerColor": null,
"headerColorStyle": null,
"secondBandColor": null,
"secondBandColorStyle": null
}
}
],
"basicFilter": {
"criteria": {},
"filterSpecs": [
{
"columnIndex": null,
"dataSourceColumnReference": null,
"filterCriteria": null
}
],
"range": {
"endColumnIndex": 0,
"endRowIndex": 0,
"sheetId": 0,
"startColumnIndex": 0,
"startRowIndex": 0
},
"sortSpecs": [
{
"backgroundColor": null,
"backgroundColorStyle": null,
"dataSourceColumnReference": null,
"dimensionIndex": null,
"foregroundColor": null,
"foregroundColorStyle": null,
"sortOrder": null
}
]
},
"charts": [
{
"border": {
"color": null,
"colorStyle": null
},
"chartId": 0,
"position": {
"newSheet": null,
"overlayPosition": null,
"sheetId": null
},
"spec": {
"altText": null,
"backgroundColor": null,
"backgroundColorStyle": null,
"basicChart": null,
"bubbleChart": null,
"candlestickChart": null,
"dataSourceChartProperties": null,
"filterSpecs": null,
"fontName": null,
"hiddenDimensionStrategy": null,
"histogramChart": null,
"maximized": null
}
}
],
"columnGroups": [
{
"collapsed": false,
"depth": 0,
"range": {
"dimension": null,
"endIndex": null,
"sheetId": null,
"startIndex": null
}
}
],
"conditionalFormats": [
{
"booleanRule": {
"condition": null,
"format": null
},
"gradientRule": {
"maxpoint": null,
"midpoint": null,
"minpoint": null
},
"ranges": [
null
]
}
],
"data": [
{
"columnMetadata": [
null
],
"rowData": [
null
],
"rowMetadata": [
null
],
"startColumn": 0,
"startRow": 0
}
],
"developerMetadata": [
{
"location": {
"dimensionRange": null,
"locationType": null,
"sheetId": null,
"spreadsheet": null
},
"metadataId": 0,
"metadataKey": "string",
"metadataValue": "string",
"visibility": "DEVELOPER_METADATA_VISIBILITY_UNSPECIFIED"
}
],
"filterViews": [
{
"criteria": {},
"filterSpecs": [
null
],
"filterViewId": 0,
"namedRangeId": "string",
"range": {
"endColumnIndex": null,
"endRowIndex": null,
"sheetId": null,
"startColumnIndex": null,
"startRowIndex": null
},
"sortSpecs": [
null
],
"title": "string"
}
],
"merges": [
{
"endColumnIndex": 0,
"endRowIndex": 0,
"sheetId": 0,
"startColumnIndex": 0,
"startRowIndex": 0
}
],
"properties": {
"dataSourceSheetProperties": {
"columns": [
null
],
"dataExecutionStatus": {
"errorCode": null,
"errorMessage": null,
"lastRefreshTime": null,
"state": null
},
"dataSourceId": "string"
},
"gridProperties": {
"columnCount": 0,
"columnGroupControlAfter": false,
"frozenColumnCount": 0,
"frozenRowCount": 0,
"hideGridlines": false,
"rowCount": 0,
"rowGroupControlAfter": false
},
"hidden": false,
"index": 0,
"rightToLeft": false,
"sheetId": 0,
"sheetType": "SHEET_TYPE_UNSPECIFIED",
"tabColor": {
"alpha": 0,
"blue": 0,
"green": 0,
"red": 0
},
"tabColorStyle": {
"rgbColor": {
"alpha": null,
"blue": null,
"green": null,
"red": null
},
"themeColor": "THEME_COLOR_TYPE_UNSPECIFIED"
},
"title": "string"
},
"protectedRanges": [
{
"description": "string",
"editors": {
"domainUsersCanEdit": null,
"groups": null,
"users": null
},
"namedRangeId": "string",
"protectedRangeId": 0,
"range": {
"endColumnIndex": null,
"endRowIndex": null,
"sheetId": null,
"startColumnIndex": null,
"startRowIndex": null
},
"requestingUserCanEdit": false,
"unprotectedRanges": [
null
],
"warningOnly": false
}
],
"rowGroups": [
{
"collapsed": false,
"depth": 0,
"range": {
"dimension": null,
"endIndex": null,
"sheetId": null,
"startIndex": null
}
}
]
}
],
"spreadsheetId": "string",
"spreadsheetUrl": "string"
}
}
Need more? See the Google Sheets guide for connection setup and behaviour shared by every action.