Skip to main content
Server path: /google-sheets | Type: Application | PCID required: Yes

Tools

ToolDescription
google-sheets_add_columnAdds a column to a sheet. If columnIndex is provided, inserts at that 0-based position; otherwise appends a column at the end.
google-sheets_append_valuesAppends values to a spreadsheet. The input range is used to search for existing data and find a “table” within that range. Values will be appended to the next row of the table, starting with the first column of the table. See the guide and sample code for specific details of how tables are detected and data is appended. The caller must specify the spreadsheet ID, range, and a valueInputOption. The valueInputOption only controls how the input data will be added to the sheet (column-wise or row-wise), it does not influence what cell the data starts being written to.
google-sheets_batch_clear_valuesClears one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more ranges. Only values are cleared — all other properties of the cell (such as formatting and data validation) are kept.
google-sheets_batch_get_valuesReturns one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more ranges.
google-sheets_batch_updateApplies 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.
google-sheets_batch_update_valuesSets values in one or more ranges of a spreadsheet. The caller must specify the spreadsheet ID, a valueInputOption, and one or more ValueRanges.
google-sheets_clear_cellClears the value of a single cell in a spreadsheet. Only the value is cleared — formatting, data validation, and other properties are kept.
google-sheets_clear_rowsClear content from a range of rows in a spreadsheet. Only clears values, not formatting.
google-sheets_clear_valuesClears values from a spreadsheet. The caller must specify the spreadsheet ID and range. Only values are cleared — all other properties of the cell (such as formatting, data validation, etc..) are kept.
google-sheets_copy_sheet_toCopies a single sheet from a spreadsheet to another spreadsheet. Returns the properties of the newly created sheet.
google-sheets_create_sheetCreates a new sheet (tab) in a spreadsheet with the given title.
google-sheets_create_spreadsheetCreates a spreadsheet, returning the newly created spreadsheet.
google-sheets_delete_sheetDeletes a sheet (tab) from a spreadsheet by its name.
google-sheets_delete_spreadsheetPermanently deletes a spreadsheet using the Google Drive API.
google-sheets_edit_cellEdits the value of a single cell in a spreadsheet. Specify the cell address in A1 notation (e.g. “A1”, “B5”).
google-sheets_edit_columnEdits values in a column of a spreadsheet. Specify the column letter, starting row, and an array of values to write down the column.
google-sheets_edit_rowEdits an entire row in a spreadsheet. Specify the 1-based row index and an array of values to set across the row.
google-sheets_find_rowSearches a column for rows matching a given value. Returns the row indices and optionally the full row data for each match.
google-sheets_get_sheet_row_column_countReturns the total row and column count for a sheet. If sheetName is not provided, returns counts for the first sheet.
google-sheets_get_spreadsheetReturns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. By default, data within grids is not returned. You can include grid data in one of 2 ways: * Specify a field mask listing your desired fields using the fields URL parameter in HTTP * Set the includeGridData URL parameter to true. If a field mask is set, the includeGridData parameter is ignored For large spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want. To retrieve only subsets of spreadsheet data, use the ranges URL parameter. Ranges are specified using A1 notation. You can define a single cell (for example, A1) or multiple cells (for example, A1:D5). You can also get cells from other sheets within the same spreadsheet (for example, Sheet2!A1:C4) or retrieve multiple ranges at once (for example, ?ranges=A1:D5&ranges=Sheet2!A1:C4). Limiting the range returns only the portions of the spreadsheet that intersect the requested ranges.
google-sheets_get_valuesReturns a range of values from a spreadsheet. The caller must specify the spreadsheet ID and a range.
google-sheets_insert_columnInserts a column into a sheet. If columnLetter is provided (e.g. “A”, “B”), inserts at that position and optionally fills with values. If no columnLetter and values are provided, appends a column with those values. If neither columnLetter nor values are provided, appends an empty column.
google-sheets_insert_commentInsert a comment on a specific cell in a spreadsheet. Uses the Google Drive API comments endpoint.
google-sheets_insert_rowInserts a row into a sheet. If rowIndex (1-based) is provided, inserts at that position and optionally fills with values. If no rowIndex and values are provided, appends a row with those values. If neither rowIndex nor values are provided, appends an empty row.
google-sheets_list_sheetsLists all sheets (tabs) in a spreadsheet, returning each sheet’s ID, title, and index.
google-sheets_read_col_headingsReads the column headings (first row) of a sheet. Returns an array of heading values from row 1.
google-sheets_read_columnsReads entire columns from a spreadsheet. Specify column letters (e.g. [“A”, “C”, “E”]) to read specific columns, or omit to read all columns.
google-sheets_read_rowsReads rows from a spreadsheet. By default reads from row 2 (skipping the header row) to the end of the sheet. Use startRow and endRow to control the range.
google-sheets_rename_sheetRenames a sheet (tab) in a spreadsheet. If sheetName is not provided, renames the first sheet.
google-sheets_rename_spreadsheetRenames a spreadsheet (changes its title).
google-sheets_update_formattingUpdates the formatting of a range of cells in a spreadsheet. Supports bold, italic, text color, and background color.
google-sheets_update_valuesSets values in a range of a spreadsheet. The caller must specify the spreadsheet ID, range, and a valueInputOption.

google-sheets_add_column

Adds a column to a sheet. If columnIndex is provided, inserts at that 0-based position; otherwise appends a column at the end. Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe ID of the spreadsheet.
sheetNamestringYesThe name of the sheet to add the column to.
columnIndexintegerNoThe 0-based index at which to insert the column. If omitted, a column is appended at the end.

google-sheets_append_values

Appends values to a spreadsheet. The input range is used to search for existing data and find a “table” within that range. Values will be appended to the next row of the table, starting with the first column of the table. See the guide and sample code for specific details of how tables are detected and data is appended. The caller must specify the spreadsheet ID, range, and a valueInputOption. The valueInputOption only controls how the input data will be added to the sheet (column-wise or row-wise), it does not influence what cell the data starts being written to. Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe ID of the spreadsheet to update.
rangestringYesThe A1 notation of a range to search for a logical table of data. Values are appended after the last row of the table.
includeValuesInResponsebooleanNoDetermines if the update response should include the values of the cells that were appended. By default, responses do not include the updated values.
insertDataOptionstringNoHow the input data should be inserted.
responseDateTimeRenderOptionstringNoDetermines how dates, times, and durations in the response should be rendered. This is ignored if response_value_render_option is FORMATTED_VALUE. The default dateTime render option is SERIAL_NUMBER.
responseValueRenderOptionstringNoDetermines how values in the response should be rendered. The default render option is FORMATTED_VALUE.
valueInputOptionstringYesHow the input data should be interpreted.
majorDimensionstringNoThe major dimension of the values. For output, if the spreadsheet data is: A1=1,B1=2,A2=3,B2=4, then requesting range=A1:B2,majorDimension=ROWS will return [[1,2],[3,4]], whereas requesting range=A1:B2,majorDimension=COLUMNS will return [[1,3],[2,4]]. For input, with range=A1:B2,majorDimension=ROWS then [[1,2],[3,4]] will set A1=1,B1=2,A2=3,B2=4. With range=A1:B2,majorDimension=COLUMNS then [[1,2],[3,4]] will set A1=1,B1=3,A2=2,B2=4. When writing, if this field is not set, it defaults to ROWS.
valuesany[][]NoThe data that was read or to be written. This is an array of arrays, the outer array representing all the data and each inner array representing a major dimension. Each item in the inner array corresponds with one cell. For output, empty trailing rows and columns will not be included. For input, supported value types are: bool, string, and double. Null values will be skipped. To set a cell to an empty value, set the string value to an empty string.

google-sheets_batch_clear_values

Clears one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more ranges. Only values are cleared — all other properties of the cell (such as formatting and data validation) are kept. Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe ID of the spreadsheet to update.
rangesstring[]NoThe ranges to clear, in A1 notation or R1C1 notation.

google-sheets_batch_get_values

Returns one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more ranges. Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe ID of the spreadsheet to retrieve data from.
dateTimeRenderOptionstringNoHow dates, times, and durations should be represented in the output. This is ignored if value_render_option is FORMATTED_VALUE. The default dateTime render option is SERIAL_NUMBER.
majorDimensionstringNoThe major dimension that results should use. For example, if the spreadsheet data is: A1=1,B1=2,A2=3,B2=4, then requesting ranges=["A1:B2"],majorDimension=ROWS returns [[1,2],[3,4]], whereas requesting ranges=["A1:B2"],majorDimension=COLUMNS returns [[1,3],[2,4]].
rangesstring[]NoThe A1 notation or R1C1 notation of the range to retrieve values from.
valueRenderOptionstringNoHow values should be represented in the output. The default render option is ValueRenderOption.FORMATTED_VALUE.

google-sheets_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. Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe spreadsheet to apply the updates to.
includeSpreadsheetInResponsebooleanNoDetermines if the update response should include the spreadsheet resource.
requestsobject[]NoA list of updates to apply to the spreadsheet. Requests will be applied in the order they are specified. If any request is not valid, no requests will be applied.
responseIncludeGridDatabooleanNoTrue if grid data should be returned. Meaningful only if include_spreadsheet_in_response is ‘true’. This parameter is ignored if a field mask was set in the request.
responseRangesstring[]NoLimits the ranges included in the response spreadsheet. Meaningful only if include_spreadsheet_in_response is ‘true’.

google-sheets_batch_update_values

Sets values in one or more ranges of a spreadsheet. The caller must specify the spreadsheet ID, a valueInputOption, and one or more ValueRanges. Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe ID of the spreadsheet to update.
dataobject[]NoThe new values to apply to the spreadsheet.
includeValuesInResponsebooleanNoDetermines if the update response should include the values of the cells that were updated. By default, responses do not include the updated values. The updatedData field within each of the BatchUpdateValuesResponse.responses contains the updated values. If the range to write was larger than the range actually written, the response includes all values in the requested range (excluding trailing empty rows and columns).
responseDateTimeRenderOptionstringNoDetermines how dates, times, and durations in the response should be rendered. This is ignored if response_value_render_option is FORMATTED_VALUE. The default dateTime render option is SERIAL_NUMBER.
responseValueRenderOptionstringNoDetermines how values in the response should be rendered. The default render option is FORMATTED_VALUE.
valueInputOptionstringNoHow the input data should be interpreted.

google-sheets_clear_cell

Clears the value of a single cell in a spreadsheet. Only the value is cleared — formatting, data validation, and other properties are kept. Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe ID of the spreadsheet to update.
sheetNamestringYesThe name of the sheet containing the cell.
cellstringYesThe cell address in A1 notation (e.g. “A1”, “B5”).

google-sheets_clear_rows

Clear content from a range of rows in a spreadsheet. Only clears values, not formatting. Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe ID of the spreadsheet.
sheetNamestringYesName of the worksheet.
startRowintegerYesStarting row number (1-based).
endRowintegerYesEnding row number (1-based, inclusive).

google-sheets_clear_values

Clears values from a spreadsheet. The caller must specify the spreadsheet ID and range. Only values are cleared — all other properties of the cell (such as formatting, data validation, etc..) are kept. Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe ID of the spreadsheet to update.
rangestringYesThe A1 notation or R1C1 notation of the values to clear.

google-sheets_copy_sheet_to

Copies a single sheet from a spreadsheet to another spreadsheet. Returns the properties of the newly created sheet. Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe ID of the spreadsheet containing the sheet to copy.
sheetIdintegerYesThe ID of the sheet to copy.
destinationSpreadsheetIdstringNoThe ID of the spreadsheet to copy the sheet to.

google-sheets_create_sheet

Creates a new sheet (tab) in a spreadsheet with the given title. Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe ID of the spreadsheet.
titlestringYesThe title for the new sheet.

google-sheets_create_spreadsheet

Creates a spreadsheet, returning the newly created spreadsheet. Parameters:
ParameterTypeRequiredDefaultDescription
dataSourcesobject[]NoA list of external data sources connected with the spreadsheet.
dataSourceSchedulesobject[]NoOutput only. A list of data source refresh schedules.
developerMetadataobject[]NoThe developer metadata associated with a spreadsheet.
namedRangesobject[]NoThe named ranges defined in a spreadsheet.
propertiesobjectNoProperties of a spreadsheet.
sheetsobject[]NoThe sheets that are part of a spreadsheet.
spreadsheetIdstringNoThe ID of the spreadsheet. This field is read-only.
spreadsheetUrlstringNoThe url of the spreadsheet. This field is read-only.

google-sheets_delete_sheet

Deletes a sheet (tab) from a spreadsheet by its name. Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe ID of the spreadsheet.
sheetNamestringYesThe name (title) of the sheet to delete.

google-sheets_delete_spreadsheet

Permanently deletes a spreadsheet using the Google Drive API. Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe ID of the spreadsheet to delete.

google-sheets_edit_cell

Edits the value of a single cell in a spreadsheet. Specify the cell address in A1 notation (e.g. “A1”, “B5”). Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe ID of the spreadsheet to update.
sheetNamestringYesThe name of the sheet to update.
cellAddressstringYesThe cell address in A1 notation (e.g. “A1”, “B5”).
valuestringYesThe value to set in the cell.

google-sheets_edit_column

Edits values in a column of a spreadsheet. Specify the column letter, starting row, and an array of values to write down the column. Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe ID of the spreadsheet to update.
sheetNamestringYesThe name of the sheet to update.
columnLetterstringYesThe column letter to edit (e.g. “A”, “B”, “AA”).
valuesstring[]YesArray of values to write down the column starting from startRow.
startRownumberNo1-based row number to start writing from. Defaults to 1.

google-sheets_edit_row

Edits an entire row in a spreadsheet. Specify the 1-based row index and an array of values to set across the row. Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe ID of the spreadsheet to update.
sheetNamestringYesThe name of the sheet to update.
rowIndexnumberYesThe 1-based row number to edit.
valuesstring[]YesArray of values to set across the row, starting from column A.

google-sheets_find_row

Searches a column for rows matching a given value. Returns the row indices and optionally the full row data for each match. Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe ID of the spreadsheet to search.
sheetNamestringYesThe name of the sheet to search in.
columnstringYesThe column letter to search (e.g. “A”, “B”).
valuestringYesThe value to search for in the specified column.
exportRowbooleanNoIf true, also returns the full row data for each match. Defaults to false.

google-sheets_get_sheet_row_column_count

Returns the total row and column count for a sheet. If sheetName is not provided, returns counts for the first sheet. Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe ID of the spreadsheet.
sheetNamestringNoThe name of the sheet. Defaults to the first sheet if not provided.

google-sheets_get_spreadsheet

Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. By default, data within grids is not returned. You can include grid data in one of 2 ways: * Specify a field mask listing your desired fields using the fields URL parameter in HTTP * Set the includeGridData URL parameter to true. If a field mask is set, the includeGridData parameter is ignored For large spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want. To retrieve only subsets of spreadsheet data, use the ranges URL parameter. Ranges are specified using A1 notation. You can define a single cell (for example, A1) or multiple cells (for example, A1:D5). You can also get cells from other sheets within the same spreadsheet (for example, Sheet2!A1:C4) or retrieve multiple ranges at once (for example, ?ranges=A1:D5&ranges=Sheet2!A1:C4). Limiting the range returns only the portions of the spreadsheet that intersect the requested ranges. Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe spreadsheet to request.
includeGridDatabooleanNoTrue if grid data should be returned. This parameter is ignored if a field mask was set in the request.
rangesstring[]NoThe ranges to retrieve from the spreadsheet.

google-sheets_get_values

Returns a range of values from a spreadsheet. The caller must specify the spreadsheet ID and a range. Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe ID of the spreadsheet to retrieve data from.
rangestringYesThe A1 notation or R1C1 notation of the range to retrieve values from.
dateTimeRenderOptionstringNoHow dates, times, and durations should be represented in the output. This is ignored if value_render_option is FORMATTED_VALUE. The default dateTime render option is SERIAL_NUMBER.
majorDimensionstringNoThe major dimension that results should use. For example, if the spreadsheet data in Sheet1 is: A1=1,B1=2,A2=3,B2=4, then requesting range=Sheet1!A1:B2?majorDimension=ROWS returns [[1,2],[3,4]], whereas requesting range=Sheet1!A1:B2?majorDimension=COLUMNS returns [[1,3],[2,4]].
valueRenderOptionstringNoHow values should be represented in the output. The default render option is FORMATTED_VALUE.

google-sheets_insert_column

Inserts a column into a sheet. If columnLetter is provided (e.g. “A”, “B”), inserts at that position and optionally fills with values. If no columnLetter and values are provided, appends a column with those values. If neither columnLetter nor values are provided, appends an empty column. Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe ID of the spreadsheet.
sheetNamestringNoThe name of the sheet. Defaults to the first sheet if not provided.
columnLetterstringNoThe column letter at which to insert (e.g. “A”, “B”, “AA”). If omitted, the column is appended.
valuesstring[]NoOptional array of string values to fill the inserted column (one per row).

google-sheets_insert_comment

Insert a comment on a specific cell in a spreadsheet. Uses the Google Drive API comments endpoint. Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesGoogle Spreadsheet ID
sheetNamestringYesName of the worksheet
cellstringYesCell reference in A1 notation (e.g., “A1”, “B5”)
commentstringYesComment text to add

google-sheets_insert_row

Inserts a row into a sheet. If rowIndex (1-based) is provided, inserts at that position and optionally fills with values. If no rowIndex and values are provided, appends a row with those values. If neither rowIndex nor values are provided, appends an empty row. Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe ID of the spreadsheet.
sheetNamestringNoThe name of the sheet. Defaults to the first sheet if not provided.
rowIndexintegerNoThe 1-based row position at which to insert the row.
valuesstring[]NoOptional array of string values to fill the inserted row.

google-sheets_list_sheets

Lists all sheets (tabs) in a spreadsheet, returning each sheet’s ID, title, and index. Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe ID of the spreadsheet.

google-sheets_read_col_headings

Reads the column headings (first row) of a sheet. Returns an array of heading values from row 1. Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe ID of the spreadsheet to read from.
sheetNamestringYesThe name of the sheet to read from.

google-sheets_read_columns

Reads entire columns from a spreadsheet. Specify column letters (e.g. [“A”, “C”, “E”]) to read specific columns, or omit to read all columns. Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe ID of the spreadsheet to read from.
sheetNamestringYesThe name of the sheet to read from.
columnsstring[]NoArray of column letters to read (e.g. [“A”, “C”, “E”]). If not provided, reads all columns.

google-sheets_read_rows

Reads rows from a spreadsheet. By default reads from row 2 (skipping the header row) to the end of the sheet. Use startRow and endRow to control the range. Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe ID of the spreadsheet to read from.
sheetNamestringYesThe name of the sheet to read from.
startRownumberNo1-based row number to start reading from. Defaults to 2 (skipping the header row).
endRownumberNo1-based row number to stop reading at (inclusive). If not specified, reads to the end of the sheet.

google-sheets_rename_sheet

Renames a sheet (tab) in a spreadsheet. If sheetName is not provided, renames the first sheet. Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe ID of the spreadsheet.
sheetNamestringNoThe current name of the sheet to rename. Defaults to the first sheet if not provided.
newNamestringYesThe new name for the sheet.

google-sheets_rename_spreadsheet

Renames a spreadsheet (changes its title). Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe ID of the spreadsheet.
newNamestringYesThe new title for the spreadsheet.

google-sheets_update_formatting

Updates the formatting of a range of cells in a spreadsheet. Supports bold, italic, text color, and background color. Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe ID of the spreadsheet to update.
sheetNamestringYesThe name of the sheet containing the range to format.
rangestringYesThe range in A1 notation to format (e.g. “A1:B5”).
boldbooleanNoWhether to make the text bold.
italicbooleanNoWhether to make the text italic.
backgroundColorstringNoBackground color as a hex string (e.g. “#FF0000” for red).
textColorstringNoText color as a hex string (e.g. “#000000” for black).

google-sheets_update_values

Sets values in a range of a spreadsheet. The caller must specify the spreadsheet ID, range, and a valueInputOption. Parameters:
ParameterTypeRequiredDefaultDescription
spreadsheetIdstringYesThe ID of the spreadsheet to update.
rangestringYesThe A1 notation of the values to update.
includeValuesInResponsebooleanNoDetermines if the update response should include the values of the cells that were updated. By default, responses do not include the updated values. If the range to write was larger than the range actually written, the response includes all values in the requested range (excluding trailing empty rows and columns).
responseDateTimeRenderOptionstringNoDetermines how dates, times, and durations in the response should be rendered. This is ignored if response_value_render_option is FORMATTED_VALUE. The default dateTime render option is SERIAL_NUMBER.
responseValueRenderOptionstringNoDetermines how values in the response should be rendered. The default render option is FORMATTED_VALUE.
valueInputOptionstringNoHow the input data should be interpreted.
majorDimensionstringNoThe major dimension of the values. For output, if the spreadsheet data is: A1=1,B1=2,A2=3,B2=4, then requesting range=A1:B2,majorDimension=ROWS will return [[1,2],[3,4]], whereas requesting range=A1:B2,majorDimension=COLUMNS will return [[1,3],[2,4]]. For input, with range=A1:B2,majorDimension=ROWS then [[1,2],[3,4]] will set A1=1,B1=2,A2=3,B2=4. With range=A1:B2,majorDimension=COLUMNS then [[1,2],[3,4]] will set A1=1,B1=3,A2=2,B2=4. When writing, if this field is not set, it defaults to ROWS.
valuesany[][]NoThe data that was read or to be written. This is an array of arrays, the outer array representing all the data and each inner array representing a major dimension. Each item in the inner array corresponds with one cell. For output, empty trailing rows and columns will not be included. For input, supported value types are: bool, string, and double. Null values will be skipped. To set a cell to an empty value, set the string value to an empty string.