openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 163 kB
JSON
{"openapi":"3.0.0","info":{"contact":{"name":"Google","url":"https://google.com"},"description":"Reads and writes Google Sheets.","title":"Google Sheets","version":"v4","x-apiClientRegistration":{"url":"https://console.developers.google.com"},"x-apisguru-categories":["cloud"],"x-logo":{"url":"https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png"},"x-origin":[{"converter":{"url":"https://github.com/lucybot/api-spec-converter","version":"2.7.18"},"format":"google","url":"https://sheets.googleapis.com/$discovery/rest?version=v4","version":"v1"}],"x-preferred":true,"x-providerName":"googleapis.com","x-serviceName":"sheets"},"externalDocs":{"url":"https://developers.google.com/sheets/"},"tags":[{"name":"spreadsheets"}],"paths":{"/v4/spreadsheets":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Creates a spreadsheet, returning the newly created spreadsheet.","operationId":"sheets.spreadsheets.create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Spreadsheet"}}}},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Spreadsheet"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive"]},{"Oauth2":["https://www.googleapis.com/auth/drive.file"]},{"Oauth2":["https://www.googleapis.com/auth/spreadsheets"]}],"tags":["spreadsheets"]}},"/v4/spreadsheets/{spreadsheetId}":{"get":{"description":"Returns the spreadsheet at the given ID.\nThe caller must specify the spreadsheet ID.\n\nBy default, data within grids will not be returned.\nYou can include grid data one of two ways:\n\n* Specify a field mask listing your desired fields using the `fields` URL\nparameter in HTTP\n\n* Set the includeGridData\nURL parameter to true. If a field mask is set, the `includeGridData`\nparameter is ignored\n\nFor large spreadsheets, it is recommended to retrieve only the specific\nfields of the spreadsheet that you want.\n\nTo retrieve only subsets of the spreadsheet, use the\nranges URL parameter.\nMultiple ranges can be specified. Limiting the range will\nreturn only the portions of the spreadsheet that intersect the requested\nranges. Ranges are specified using A1 notation.","operationId":"sheets.spreadsheets.get","parameters":[{"description":"True if grid data should be returned.\nThis parameter is ignored if a field mask was set in the request.","in":"query","name":"includeGridData","schema":{"type":"boolean"}},{"description":"The ranges to retrieve from the spreadsheet.","in":"query","name":"ranges","explode":true,"schema":{"type":"array","items":{"type":"string"}}},{"description":"The spreadsheet to request.","in":"path","name":"spreadsheetId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Spreadsheet"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive"]},{"Oauth2":["https://www.googleapis.com/auth/drive.file"]},{"Oauth2":["https://www.googleapis.com/auth/drive.readonly"]},{"Oauth2":["https://www.googleapis.com/auth/spreadsheets"]},{"Oauth2":["https://www.googleapis.com/auth/spreadsheets.readonly"]}],"tags":["spreadsheets"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}]},"/v4/spreadsheets/{spreadsheetId}/developerMetadata/{metadataId}":{"get":{"description":"Returns the developer metadata with the specified ID.\nThe caller must specify the spreadsheet ID and the developer metadata's\nunique metadataId.","operationId":"sheets.spreadsheets.developerMetadata.get","parameters":[{"description":"The ID of the developer metadata to retrieve.","in":"path","name":"metadataId","required":true,"schema":{"type":"integer"}},{"description":"The ID of the spreadsheet to retrieve metadata from.","in":"path","name":"spreadsheetId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DeveloperMetadata"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive"]},{"Oauth2":["https://www.googleapis.com/auth/drive.file"]},{"Oauth2":["https://www.googleapis.com/auth/spreadsheets"]}],"tags":["spreadsheets"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}]},"/v4/spreadsheets/{spreadsheetId}/developerMetadata:search":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Returns all developer metadata matching the specified DataFilter.\nIf the provided DataFilter represents a DeveloperMetadataLookup object,\nthis will return all DeveloperMetadata entries selected by it. If the\nDataFilter represents a location in a spreadsheet, this will return all\ndeveloper metadata associated with locations intersecting that region.","operationId":"sheets.spreadsheets.developerMetadata.search","parameters":[{"description":"The ID of the spreadsheet to retrieve metadata from.","in":"path","name":"spreadsheetId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchDeveloperMetadataRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SearchDeveloperMetadataResponse"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive"]},{"Oauth2":["https://www.googleapis.com/auth/drive.file"]},{"Oauth2":["https://www.googleapis.com/auth/spreadsheets"]}],"tags":["spreadsheets"]}},"/v4/spreadsheets/{spreadsheetId}/sheets/{sheetId}:copyTo":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Copies a single sheet from a spreadsheet to another spreadsheet.\nReturns the properties of the newly created sheet.","operationId":"sheets.spreadsheets.sheets.copyTo","parameters":[{"description":"The ID of the sheet to copy.","in":"path","name":"sheetId","required":true,"schema":{"type":"integer"}},{"description":"The ID of the spreadsheet containing the sheet to copy.","in":"path","name":"spreadsheetId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CopySheetToAnotherSpreadsheetRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SheetProperties"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive"]},{"Oauth2":["https://www.googleapis.com/auth/drive.file"]},{"Oauth2":["https://www.googleapis.com/auth/spreadsheets"]}],"tags":["spreadsheets"]}},"/v4/spreadsheets/{spreadsheetId}/values/{range}":{"get":{"description":"Returns a range of values from a spreadsheet.\nThe caller must specify the spreadsheet ID and a range.","operationId":"sheets.spreadsheets.values.get","parameters":[{"description":"How dates, times, and durations should be represented in the output.\nThis is ignored if value_render_option is\nFORMATTED_VALUE.\nThe default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].","in":"query","name":"dateTimeRenderOption","schema":{"type":"string","enum":["SERIAL_NUMBER","FORMATTED_STRING"]}},{"description":"The major dimension that results should use.\n\nFor example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,\nthen requesting `range=A1:B2,majorDimension=ROWS` will return\n`[[1,2],[3,4]]`,\nwhereas requesting `range=A1:B2,majorDimension=COLUMNS` will return\n`[[1,3],[2,4]]`.","in":"query","name":"majorDimension","schema":{"type":"string","enum":["DIMENSION_UNSPECIFIED","ROWS","COLUMNS"]}},{"description":"The A1 notation of the values to retrieve.","in":"path","name":"range","required":true,"schema":{"type":"string"}},{"description":"The ID of the spreadsheet to retrieve data from.","in":"path","name":"spreadsheetId","required":true,"schema":{"type":"string"}},{"description":"How values should be represented in the output.\nThe default render option is ValueRenderOption.FORMATTED_VALUE.","in":"query","name":"valueRenderOption","schema":{"type":"string","enum":["FORMATTED_VALUE","UNFORMATTED_VALUE","FORMULA"]}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValueRange"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive"]},{"Oauth2":["https://www.googleapis.com/auth/drive.file"]},{"Oauth2":["https://www.googleapis.com/auth/drive.readonly"]},{"Oauth2":["https://www.googleapis.com/auth/spreadsheets"]},{"Oauth2":["https://www.googleapis.com/auth/spreadsheets.readonly"]}],"tags":["spreadsheets"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"put":{"description":"Sets values in a range of a spreadsheet.\nThe caller must specify the spreadsheet ID, range, and\na valueInputOption.","operationId":"sheets.spreadsheets.values.update","parameters":[{"description":"Determines if the update response should include the values\nof the cells that were updated. By default, responses\ndo not include the updated values.\nIf the range to write was larger than than the range actually written,\nthe response will include all values in the requested range (excluding\ntrailing empty rows and columns).","in":"query","name":"includeValuesInResponse","schema":{"type":"boolean"}},{"description":"The A1 notation of the values to update.","in":"path","name":"range","required":true,"schema":{"type":"string"}},{"description":"Determines how dates, times, and durations in the response should be\nrendered. This is ignored if response_value_render_option is\nFORMATTED_VALUE.\nThe default dateTime render option is\nDateTimeRenderOption.SERIAL_NUMBER.","in":"query","name":"responseDateTimeRenderOption","schema":{"type":"string","enum":["SERIAL_NUMBER","FORMATTED_STRING"]}},{"description":"Determines how values in the response should be rendered.\nThe default render option is ValueRenderOption.FORMATTED_VALUE.","in":"query","name":"responseValueRenderOption","schema":{"type":"string","enum":["FORMATTED_VALUE","UNFORMATTED_VALUE","FORMULA"]}},{"description":"The ID of the spreadsheet to update.","in":"path","name":"spreadsheetId","required":true,"schema":{"type":"string"}},{"description":"How the input data should be interpreted.","in":"query","name":"valueInputOption","schema":{"type":"string","enum":["INPUT_VALUE_OPTION_UNSPECIFIED","RAW","USER_ENTERED"]}}],"requestBody":{"$ref":"#/components/requestBodies/ValueRange"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/UpdateValuesResponse"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive"]},{"Oauth2":["https://www.googleapis.com/auth/drive.file"]},{"Oauth2":["https://www.googleapis.com/auth/spreadsheets"]}],"tags":["spreadsheets"]}},"/v4/spreadsheets/{spreadsheetId}/values/{range}:append":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Appends values to a spreadsheet. The input range is used to search for\nexisting data and find a \"table\" within that range. Values will be\nappended to the next row of the table, starting with the first column of\nthe table. See the\n[guide](/sheets/api/guides/values#appending_values)\nand\n[sample code](/sheets/api/samples/writing#append_values)\nfor specific details of how tables are detected and data is appended.\n\nThe caller must specify the spreadsheet ID, range, and\na valueInputOption. The `valueInputOption` only\ncontrols how the input data will be added to the sheet (column-wise or\nrow-wise), it does not influence what cell the data starts being written\nto.","operationId":"sheets.spreadsheets.values.append","parameters":[{"description":"Determines if the update response should include the values\nof the cells that were appended. By default, responses\ndo not include the updated values.","in":"query","name":"includeValuesInResponse","schema":{"type":"boolean"}},{"description":"How the input data should be inserted.","in":"query","name":"insertDataOption","schema":{"type":"string","enum":["OVERWRITE","INSERT_ROWS"]}},{"description":"The A1 notation of a range to search for a logical table of data.\nValues will be appended after the last row of the table.","in":"path","name":"range","required":true,"schema":{"type":"string"}},{"description":"Determines how dates, times, and durations in the response should be\nrendered. This is ignored if response_value_render_option is\nFORMATTED_VALUE.\nThe default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].","in":"query","name":"responseDateTimeRenderOption","schema":{"type":"string","enum":["SERIAL_NUMBER","FORMATTED_STRING"]}},{"description":"Determines how values in the response should be rendered.\nThe default render option is ValueRenderOption.FORMATTED_VALUE.","in":"query","name":"responseValueRenderOption","schema":{"type":"string","enum":["FORMATTED_VALUE","UNFORMATTED_VALUE","FORMULA"]}},{"description":"The ID of the spreadsheet to update.","in":"path","name":"spreadsheetId","required":true,"schema":{"type":"string"}},{"description":"How the input data should be interpreted.","in":"query","name":"valueInputOption","schema":{"type":"string","enum":["INPUT_VALUE_OPTION_UNSPECIFIED","RAW","USER_ENTERED"]}}],"requestBody":{"$ref":"#/components/requestBodies/ValueRange"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AppendValuesResponse"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive"]},{"Oauth2":["https://www.googleapis.com/auth/drive.file"]},{"Oauth2":["https://www.googleapis.com/auth/spreadsheets"]}],"tags":["spreadsheets"]}},"/v4/spreadsheets/{spreadsheetId}/values/{range}:clear":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Clears values from a spreadsheet.\nThe caller must specify the spreadsheet ID and range.\nOnly values are cleared -- all other properties of the cell (such as\nformatting, data validation, etc..) are kept.","operationId":"sheets.spreadsheets.values.clear","parameters":[{"description":"The A1 notation of the values to clear.","in":"path","name":"range","required":true,"schema":{"type":"string"}},{"description":"The ID of the spreadsheet to update.","in":"path","name":"spreadsheetId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClearValuesRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ClearValuesResponse"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive"]},{"Oauth2":["https://www.googleapis.com/auth/drive.file"]},{"Oauth2":["https://www.googleapis.com/auth/spreadsheets"]}],"tags":["spreadsheets"]}},"/v4/spreadsheets/{spreadsheetId}/values:batchClear":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Clears one or more ranges of values from a spreadsheet.\nThe caller must specify the spreadsheet ID and one or more ranges.\nOnly values are cleared -- all other properties of the cell (such as\nformatting, data validation, etc..) are kept.","operationId":"sheets.spreadsheets.values.batchClear","parameters":[{"description":"The ID of the spreadsheet to update.","in":"path","name":"spreadsheetId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchClearValuesRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BatchClearValuesResponse"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive"]},{"Oauth2":["https://www.googleapis.com/auth/drive.file"]},{"Oauth2":["https://www.googleapis.com/auth/spreadsheets"]}],"tags":["spreadsheets"]}},"/v4/spreadsheets/{spreadsheetId}/values:batchClearByDataFilter":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Clears one or more ranges of values from a spreadsheet.\nThe caller must specify the spreadsheet ID and one or more\nDataFilters. Ranges matching any of the specified data\nfilters will be cleared. Only values are cleared -- all other properties\nof the cell (such as formatting, data validation, etc..) are kept.","operationId":"sheets.spreadsheets.values.batchClearByDataFilter","parameters":[{"description":"The ID of the spreadsheet to update.","in":"path","name":"spreadsheetId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchClearValuesByDataFilterRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BatchClearValuesByDataFilterResponse"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive"]},{"Oauth2":["https://www.googleapis.com/auth/drive.file"]},{"Oauth2":["https://www.googleapis.com/auth/spreadsheets"]}],"tags":["spreadsheets"]}},"/v4/spreadsheets/{spreadsheetId}/values:batchGet":{"get":{"description":"Returns one or more ranges of values from a spreadsheet.\nThe caller must specify the spreadsheet ID and one or more ranges.","operationId":"sheets.spreadsheets.values.batchGet","parameters":[{"description":"How dates, times, and durations should be represented in the output.\nThis is ignored if value_render_option is\nFORMATTED_VALUE.\nThe default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].","in":"query","name":"dateTimeRenderOption","schema":{"type":"string","enum":["SERIAL_NUMBER","FORMATTED_STRING"]}},{"description":"The major dimension that results should use.\n\nFor example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,\nthen requesting `range=A1:B2,majorDimension=ROWS` will return\n`[[1,2],[3,4]]`,\nwhereas requesting `range=A1:B2,majorDimension=COLUMNS` will return\n`[[1,3],[2,4]]`.","in":"query","name":"majorDimension","schema":{"type":"string","enum":["DIMENSION_UNSPECIFIED","ROWS","COLUMNS"]}},{"description":"The A1 notation of the values to retrieve.","in":"query","name":"ranges","explode":true,"schema":{"type":"array","items":{"type":"string"}}},{"description":"The ID of the spreadsheet to retrieve data from.","in":"path","name":"spreadsheetId","required":true,"schema":{"type":"string"}},{"description":"How values should be represented in the output.\nThe default render option is ValueRenderOption.FORMATTED_VALUE.","in":"query","name":"valueRenderOption","schema":{"type":"string","enum":["FORMATTED_VALUE","UNFORMATTED_VALUE","FORMULA"]}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BatchGetValuesResponse"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive"]},{"Oauth2":["https://www.googleapis.com/auth/drive.file"]},{"Oauth2":["https://www.googleapis.com/auth/drive.readonly"]},{"Oauth2":["https://www.googleapis.com/auth/spreadsheets"]},{"Oauth2":["https://www.googleapis.com/auth/spreadsheets.readonly"]}],"tags":["spreadsheets"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}]},"/v4/spreadsheets/{spreadsheetId}/values:batchGetByDataFilter":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Returns one or more ranges of values that match the specified data filters.\nThe caller must specify the spreadsheet ID and one or more\nDataFilters. Ranges that match any of the data filters in\nthe request will be returned.","operationId":"sheets.spreadsheets.values.batchGetByDataFilter","parameters":[{"description":"The ID of the spreadsheet to retrieve data from.","in":"path","name":"spreadsheetId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchGetValuesByDataFilterRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BatchGetValuesByDataFilterResponse"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive"]},{"Oauth2":["https://www.googleapis.com/auth/drive.file"]},{"Oauth2":["https://www.googleapis.com/auth/spreadsheets"]}],"tags":["spreadsheets"]}},"/v4/spreadsheets/{spreadsheetId}/values:batchUpdate":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Sets values in one or more ranges of a spreadsheet.\nThe caller must specify the spreadsheet ID,\na valueInputOption, and one or more\nValueRanges.","operationId":"sheets.spreadsheets.values.batchUpdate","parameters":[{"description":"The ID of the spreadsheet to update.","in":"path","name":"spreadsheetId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchUpdateValuesRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BatchUpdateValuesResponse"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive"]},{"Oauth2":["https://www.googleapis.com/auth/drive.file"]},{"Oauth2":["https://www.googleapis.com/auth/spreadsheets"]}],"tags":["spreadsheets"]}},"/v4/spreadsheets/{spreadsheetId}/values:batchUpdateByDataFilter":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Sets values in one or more ranges of a spreadsheet.\nThe caller must specify the spreadsheet ID,\na valueInputOption, and one or more\nDataFilterValueRanges.","operationId":"sheets.spreadsheets.values.batchUpdateByDataFilter","parameters":[{"description":"The ID of the spreadsheet to update.","in":"path","name":"spreadsheetId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchUpdateValuesByDataFilterRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BatchUpdateValuesByDataFilterResponse"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive"]},{"Oauth2":["https://www.googleapis.com/auth/drive.file"]},{"Oauth2":["https://www.googleapis.com/auth/spreadsheets"]}],"tags":["spreadsheets"]}},"/v4/spreadsheets/{spreadsheetId}:batchUpdate":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Applies one or more updates to the spreadsheet.\n\nEach request is validated before\nbeing applied. If any request is not valid then the entire request will\nfail and nothing will be applied.\n\nSome requests have replies to\ngive you some information about how\nthey are applied. The replies will mirror the requests. For example,\nif you applied 4 updates and the 3rd one had a reply, then the\nresponse will have 2 empty replies, the actual reply, and another empty\nreply, in that order.\n\nDue to the collaborative nature of spreadsheets, it is not guaranteed that\nthe spreadsheet will reflect exactly your changes after this completes,\nhowever it is guaranteed that the updates in the request will be\napplied together atomically. Your changes may be altered with respect to\ncollaborator changes. If there are no collaborators, the spreadsheet\nshould reflect your changes.","operationId":"sheets.spreadsheets.batchUpdate","parameters":[{"description":"The spreadsheet to apply the updates to.","in":"path","name":"spreadsheetId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchUpdateSpreadsheetRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/BatchUpdateSpreadsheetResponse"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive"]},{"Oauth2":["https://www.googleapis.com/auth/drive.file"]},{"Oauth2":["https://www.googleapis.com/auth/spreadsheets"]}],"tags":["spreadsheets"]}},"/v4/spreadsheets/{spreadsheetId}:getByDataFilter":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Returns the spreadsheet at the given ID.\nThe caller must specify the spreadsheet ID.\n\nThis method differs from GetSpreadsheet in that it allows selecting\nwhich subsets of spreadsheet data to return by specifying a\ndataFilters parameter.\nMultiple DataFilters can be specified. Specifying one or\nmore data filters will return the portions of the spreadsheet that\nintersect ranges matched by any of the filters.\n\nBy default, data within grids will not be returned.\nYou can include grid data one of two ways:\n\n* Specify a field mask listing your desired fields using the `fields` URL\nparameter in HTTP\n\n* Set the includeGridData\nparameter to true. If a field mask is set, the `includeGridData`\nparameter is ignored\n\nFor large spreadsheets, it is recommended to retrieve only the specific\nfields of the spreadsheet that you want.","operationId":"sheets.spreadsheets.getByDataFilter","parameters":[{"description":"The spreadsheet to request.","in":"path","name":"spreadsheetId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpreadsheetByDataFilterRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Spreadsheet"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/drive"]},{"Oauth2":["https://www.googleapis.com/auth/drive.file"]},{"Oauth2":["https://www.googleapis.com/auth/spreadsheets"]}],"tags":["spreadsheets"]}}},"servers":[{"url":"https://sheets.googleapis.com/"}],"components":{"parameters":{"access_token":{"description":"OAuth access token.","in":"query","name":"access_token","schema":{"type":"string"}},"alt":{"description":"Data format for response.","in":"query","name":"alt","schema":{"type":"string","enum":["json","media","proto"],"default":"json"}},"callback":{"description":"JSONP","in":"query","name":"callback","schema":{"type":"string"}},"fields":{"description":"Selector specifying which fields to include in a partial response.","in":"query","name":"fields","schema":{"type":"string"}},"key":{"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.","in":"query","name":"key","schema":{"type":"string"}},"oauth_token":{"description":"OAuth 2.0 token for the current user.","in":"query","name":"oauth_token","schema":{"type":"string"}},"prettyPrint":{"description":"Returns response with indentations and line breaks.","in":"query","name":"prettyPrint","schema":{"type":"boolean","default":true}},"quotaUser":{"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.","in":"query","name":"quotaUser","schema":{"type":"string"}},"uploadType":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","in":"query","name":"uploadType","schema":{"type":"string"}},"upload_protocol":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","in":"query","name":"upload_protocol","schema":{"type":"string"}},"_.xgafv":{"description":"V1 error format.","in":"query","name":"$.xgafv","schema":{"type":"string","enum":["1","2"]}}},"requestBodies":{"ValueRange":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValueRange"}}}}},"securitySchemes":{"Oauth2":{"description":"Oauth 2.0 authentication","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://accounts.google.com/o/oauth2/auth","scopes":{"https://www.googleapis.com/auth/drive":"See, edit, create, and delete all of your Google Drive files","https://www.googleapis.com/auth/drive.file":"View and manage Google Drive files and folders that you have opened or created with this app","https://www.googleapis.com/auth/drive.readonly":"See and download all your Google Drive files","https://www.googleapis.com/auth/spreadsheets":"See, edit, create, and delete your spreadsheets in Google Drive","https://www.googleapis.com/auth/spreadsheets.readonly":"View your Google Spreadsheets"}}}}},"schemas":{"AddBandingRequest":{"description":"Adds a new banded range to the spreadsheet.","properties":{"bandedRange":{"$ref":"#/components/schemas/BandedRange"}},"type":"object"},"AddBandingResponse":{"description":"The result of adding a banded range.","properties":{"bandedRange":{"$ref":"#/components/schemas/BandedRange"}},"type":"object"},"AddChartRequest":{"description":"Adds a chart to a sheet in the spreadsheet.","properties":{"chart":{"$ref":"#/components/schemas/EmbeddedChart"}},"type":"object"},"AddChartResponse":{"description":"The result of adding a chart to a spreadsheet.","properties":{"chart":{"$ref":"#/components/schemas/EmbeddedChart"}},"type":"object"},"AddConditionalFormatRuleRequest":{"description":"Adds a new conditional format rule at the given index.\nAll subsequent rules' indexes are incremented.","properties":{"index":{"description":"The zero-based index where the rule should be inserted.","format":"int32","type":"integer"},"rule":{"$ref":"#/components/schemas/ConditionalFormatRule"}},"type":"object"},"AddDimensionGroupRequest":{"description":"Creates a group over the specified range.\n\nIf the requested range is a superset of the range of an existing group G,\nthen the depth of G is incremented and this new group G' has the\ndepth of that group. For example, a group [C:D, depth 1] + [B:E] results in\ngroups [B:E, depth 1] and [C:D, depth 2].\nIf the requested range is a subset of the range of an existing group G,\nthen the depth of the new group G' becomes one greater than the depth of G.\nFor example, a group [B:E, depth 1] + [C:D] results in groups [B:E, depth 1]\nand [C:D, depth 2].\nIf the requested range starts before and ends within, or starts within and\nends after, the range of an existing group G, then the range of the existing\ngroup G becomes the union of the ranges, and the new group G' has\ndepth one greater than the depth of G and range as the intersection of the\nranges. For example, a group [B:D, depth 1] + [C:E] results in groups [B:E,\ndepth 1] and [C:D, depth 2].","properties":{"range":{"$ref":"#/components/schemas/DimensionRange"}},"type":"object"},"AddDimensionGroupResponse":{"description":"The result of adding a group.","properties":{"dimensionGroups":{"description":"All groups of a dimension after adding a group to that dimension.","items":{"$ref":"#/components/schemas/DimensionGroup"},"type":"array"}},"type":"object"},"AddFilterViewRequest":{"description":"Adds a filter view.","properties":{"filter":{"$ref":"#/components/schemas/FilterView"}},"type":"object"},"AddFilterViewResponse":{"description":"The result of adding a filter view.","properties":{"filter":{"$ref":"#/components/schemas/FilterView"}},"type":"object"},"AddNamedRangeRequest":{"description":"Adds a named range to the spreadsheet.","properties":{"namedRange":{"$ref":"#/components/schemas/NamedRange"}},"type":"object"},"AddNamedRangeResponse":{"description":"The result of adding a named range.","properties":{"namedRange":{"$ref":"#/components/schemas/NamedRange"}},"type":"object"},"AddProtectedRangeRequest":{"description":"Adds a new protected range.","properties":{"protectedRange":{"$ref":"#/components/schemas/ProtectedRange"}},"type":"object"},"AddProtectedRangeResponse":{"description":"The result of adding a new protected range.","properties":{"protectedRange":{"$ref":"#/components/schemas/ProtectedRange"}},"type":"object"},"AddSheetRequest":{"description":"Adds a new sheet.\nWhen a sheet is added at a given index,\nall subsequent sheets' indexes are incremented.\nTo add an object sheet, use AddChartRequest instead and specify\nEmbeddedObjectPosition.sheetId or\nEmbeddedObjectPosition.newSheet.","properties":{"properties":{"$ref":"#/components/schemas/SheetProperties"}},"type":"object"},"AddSheetResponse":{"description":"The result of adding a sheet.","properties":{"properties":{"$ref":"#/components/schemas/SheetProperties"}},"type":"object"},"AppendCellsRequest":{"description":"Adds new cells after the last row with data in a sheet,\ninserting new rows into the sheet if necessary.","properties":{"fields":{"description":"The fields of CellData that should be updated.\nAt least one field must be specified.\nThe root is the CellData; 'row.values.' should not be specified.\nA single `\"*\"` can be used as short-hand for listing every field.","format":"google-fieldmask","type":"string"},"rows":{"description":"The data to append.","items":{"$ref":"#/components/schemas/RowData"},"type":"array"},"sheetId":{"description":"The sheet ID to append the data to.","format":"int32","type":"integer"}},"type":"object"},"AppendDimensionRequest":{"description":"Appends rows or columns to the end of a sheet.","properties":{"dimension":{"description":"Whether rows or columns should be appended.","enum":["DIMENSION_UNSPECIFIED","ROWS","COLUMNS"],"type":"string"},"length":{"description":"The number of rows or columns to append.","format":"int32","type":"integer"},"sheetId":{"description":"The sheet to append rows or columns to.","format":"int32","type":"integer"}},"type":"object"},"AppendValuesResponse":{"description":"The response when updating a range of values in a spreadsheet.","properties":{"spreadsheetId":{"description":"The spreadsheet the updates were applied to.","type":"string"},"tableRange":{"description":"The range (in A1 notation) of the table that values are being appended to\n(before the values were appended).\nEmpty if no table was found.","type":"string"},"updates":{"$ref":"#/components/schemas/UpdateValuesResponse"}},"type":"object"},"AutoFillRequest":{"description":"Fills in more data based on existing data.","properties":{"range":{"$ref":"#/components/schemas/GridRange"},"sourceAndDestination":{"$ref":"#/components/schemas/SourceAndDestination"},"useAlternateSeries":{"description":"True if we should generate data with the \"alternate\" series.\nThis differs based on the type and amount of source data.","type":"boolean"}},"type":"object"},"AutoResizeDimensionsRequest":{"description":"Automatically resizes one or more dimensions based on the contents\nof the cells in that dimension.","properties":{"dimensions":{"$ref":"#/components/schemas/DimensionRange"}},"type":"object"},"BandedRange":{"description":"A banded (alternating colors) range in a sheet.","properties":{"bandedRangeId":{"description":"The id of the banded range.","format":"int32","type":"integer"},"columnProperties":{"$ref":"#/components/schemas/BandingProperties"},"range":{"$ref":"#/components/schemas/GridRange"},"rowProperties":{"$ref":"#/components/schemas/BandingProperties"}},"type":"object"},"BandingProperties":{"description":"Properties referring a single dimension (either row or column). If both\nBandedRange.row_properties and BandedRange.column_properties are\nset, the fill colors are applied to cells according to the following rules:\n\n* header_color and footer_color take priority over band colors.\n* first_band_color takes priority over second_band_color.\n* row_properties takes priority over column_properties.\n\nFor example, the first row color takes priority over the first column\ncolor, but the first column color takes priority over the second row color.\nSimilarly, the row header takes priority over the column header in the\ntop left cell, but the column header takes priority over the first row\ncolor if the row header is not set.","properties":{"firstBandColor":{"$ref":"#/components/schemas/Color"},"footerColor":{"$ref":"#/components/schemas/Color"},"headerColor":{"$ref":"#/components/schemas/Color"},"secondBandColor":{"$ref":"#/components/schemas/Color"}},"type":"object"},"BasicChartAxis":{"description":"An axis of the chart.\nA chart may not have more than one axis per\naxis position.","properties":{"format":{"$ref":"#/components/schemas/TextFormat"},"position":{"description":"The position of this axis.","enum":["BASIC_CHART_AXIS_POSITION_UNSPECIFIED","BOTTOM_AXIS","LEFT_AXIS","RIGHT_AXIS"],"type":"string"},"title":{"description":"The title of this axis. If set, this overrides any title inferred\nfrom headers of the data.","type":"string"},"titleTextPosition":{"$ref":"#/components/schemas/TextPosition"}},"type":"object"},"BasicChartDomain":{"description":"The domain of a chart.\nFor example, if charting stock prices over time, this would be the date.","properties":{"domain":{"$ref":"#/components/schemas/ChartData"},"reversed":{"description":"True to reverse the order of the domain values (horizontal axis).","type":"boolean"}},"type":"object"},"BasicChartSeries":{"description":"A single series of data in a chart.\nFor example, if charting stock prices over time, multiple series may exist,\none for the \"Open Price\", \"High Price\", \"Low Price\" and \"Close Price\".","properties":{"color":{"$ref":"#/components/schemas/Color"},"lineStyle":{"$ref":"#/components/schemas/LineStyle"},"series":{"$ref":"#/components/schemas/ChartData"},"targetAxis":{"description":"The minor axis that will specify the range of values for this series.\nFor example, if charting stocks over time, the \"Volume\" series\nmay want to be pinned to the right with the prices pinned to the left,\nbecause the scale of trading volume is different than the scale of\nprices.\nIt is an error to specify an axis that isn't a valid minor axis\nfor the chart's type.","enum":["BASIC_CHART_AXIS_POSITION_UNSPECIFIED","BOTTOM_AXIS","LEFT_AXIS","RIGHT_AXIS"],"type":"string"},"type":{"description":"The type of this series. Valid only if the\nchartType is\nCOMBO.\nDifferent types will change the way the series is visualized.\nOnly LINE, AREA,\nand COLUMN are supported.","enum":["BASIC_CHART_TYPE_UNSPECIFIED","BAR","LINE","AREA","COLUMN","SCATTER","COMBO","STEPPED_AREA"],"type":"string"}},"type":"object"},"BasicChartSpec":{"description":"The specification for a basic chart. See BasicChartType for the list\nof charts this supports.","properties":{"axis":{"description":"The axis on the chart.","items":{"$ref":"#/components/schemas/BasicChartAxis"},"type":"array"},"chartType":{"description":"The type of the chart.","enum":["BASIC_CHART_TYPE_UNSPECIFIED","BAR","LINE","AREA","COLUMN","SCATTER","COMBO","STEPPED_AREA"],"type":"string"},"compareMode":{"description":"The behavior of tooltips and data highlighting when hovering on data and\nchart area.","enum":["BASIC_CHART_COMPARE_MODE_UNSPECIFIED","DATUM","CATEGORY"],"type":"string"},"domains":{"description":"The domain of data this is charting.\nOnly a single domain is supported.","items":{"$ref":"#/components/schemas/BasicChartDomain"},"type":"array"},"headerCount":{"description":"The number of rows or columns in the data that are \"headers\".\nIf not set, Google Sheets will guess how many rows are headers based\non the data.\n\n(Note that BasicChartAxis.title may override the axis title\n inferred from the header values.)","format":"int32","type":"integer"},"interpolateNulls":{"description":"If some values in a series are missing, gaps may appear in the chart (e.g,\nsegments of lines in a line chart will be missing). To eliminate these\ngaps set this to true.\nApplies to Line, Area, and Combo charts.","type":"boolean"},"legendPosition":{"description":"The position of the chart legend.","enum":["BASIC_CHART_LEGEND_POSITION_UNSPECIFIED","BOTTOM_LEGEND","LEFT_LEGEND","RIGHT_LEGEND","TOP_LEGEND","NO_LEGEND"],"type":"string"},"lineSmoothing":{"description":"Gets whether all lines should be rendered smooth or straight by default.\nApplies to Line charts.","type":"boolean"},"series":{"description":"The data this chart is visualizing.","items":{"$ref":"#/components/schemas/BasicChartSeries"},"type":"array"},"stackedType":{"description":"The stacked type for charts that support vertical stacking.\nApplies to Area, Bar, Column, Combo, and Stepped Area charts.","enum":["BASIC_CHART_STACKED_TYPE_UNSPECIFIED","NOT_STACKED","STACKED","PERCENT_STACKED"],"type":"string"},"threeDimensional":{"description":"True to make the chart 3D.\nApplies to Bar and Column charts.","type":"boolean"}},"type":"object"},"BasicFilter":{"description":"The default filter associated with a sheet.","properties":{"criteria":{"additionalProperties":{"$ref":"#/components/schemas/FilterCriteria"},"description":"The criteria for showing/hiding values per column.\nThe map's key is the column index, and the value is the criteria for\nthat column.","type":"object"},"range":{"$ref":"#/components/schemas/GridRange"},"sortSpecs":{"description":"The sort order per column. Later specifications are used when values\nare equal in the earlier specifications.","items":{"$ref":"#/components/schemas/SortSpec"},"type":"array"}},"type":"object"},"BatchClearValuesByDataFilterRequest":{"description":"The request for clearing more than one range selected by a\nDataFilter in a spreadsheet.","properties":{"dataFilters":{"description":"The DataFilters used to determine which ranges to clear.","items":{"$ref":"#/components/schemas/DataFilter"},"type":"array"}},"type":"object"},"BatchClearValuesByDataFilterResponse":{"description":"The response when clearing a range of values selected with\nDataFilters in a spreadsheet.","properties":{"clearedRanges":{"description":"The ranges that were cleared, in A1 notation.\n(If the requests were for an unbounded range or a ranger larger\n than the bounds of the sheet, this will be the actual ranges\n that were cleared, bounded to the sheet's limits.)","items":{"type":"string"},"type":"array"},"spreadsheetId":{"description":"The spreadsheet the updates were applied to.","type":"string"}},"type":"object"},"BatchClearValuesRequest":{"description":"The request for clearing more than one range of values in a spreadsheet.","properties":{"ranges":{"description":"The ranges to clear, in A1 notation.","items":{"type":"string"},"type":"array"}},"type":"object"},"BatchClearValuesResponse":{"description":"The response when clearing a range of values in a spreadsheet.","properties":{"clearedRanges":{"description":"The ranges that were cleared, in A1 notation.\n(If the requests were for an unbounded range or a ranger larger\n than the bounds of the sheet, this will be the actual ranges\n that were cleared, bounded to the sheet's limits.)","items":{"type":"string"},"type":"array"},"spreadsheetId":{"description":"The spreadsheet the updates were applied to.","type":"string"}},"type":"object"},"BatchGetValuesByDataFilterRequest":{"description":"The request for retrieving a range of values in a spreadsheet selected by a\nset of DataFilters.","properties":{"dataFilters":{"description":"The data filters used to match the ranges of values to retrieve. Ranges\nthat match any of the specified data filters will be included in the\nresponse.","items":{"$ref":"#/components/schemas/DataFilter"}