{"openapi":"3.1.0","info":{"title":"Google Sheets API","version":"v4","description":"Reads and writes Google Sheets."},"servers":[{"url":"https://www.googleapis.com/"}],"paths":{"/v4/spreadsheets":{"post":{"operationId":"sheets.spreadsheets.create","x-executor-toolPath":"sheets.spreadsheets.create","x-executor-pathTemplate":"/v4/spreadsheets","tags":["Google Sheets API"],"description":"Creates a spreadsheet, returning the newly created spreadsheet.","servers":[{"url":"https://sheets.googleapis.com/"}],"parameters":[{"name":"key","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_Spreadsheet"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_Spreadsheet"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/spreadsheets"]},{"googleOAuth2":["https://www.googleapis.com/auth/drive.file"]}],"x-google-scopes":["https://www.googleapis.com/auth/spreadsheets","https://www.googleapis.com/auth/drive.file"]}},"/v4/spreadsheets/{spreadsheetId}":{"get":{"operationId":"sheets.spreadsheets.get","x-executor-toolPath":"sheets.spreadsheets.get","x-executor-pathTemplate":"/v4/spreadsheets/{spreadsheetId}","tags":["Google Sheets API"],"description":"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](https://developers.google.com/workspace/sheets/api/guides/field-masks) 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](https://developers.google.com/workspace/sheets/api/guides/concepts#cell). 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.","servers":[{"url":"https://sheets.googleapis.com/"}],"parameters":[{"name":"key","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"includeGridData","in":"query","required":false,"description":"True if grid data should be returned. This parameter is ignored if a field mask was set in the request.","schema":{"description":"True if grid data should be returned. This parameter is ignored if a field mask was set in the request.","type":"boolean"},"style":"form","explode":false},{"name":"ranges","in":"query","required":false,"description":"The ranges to retrieve from the spreadsheet.","schema":{"type":"array","items":{"description":"The ranges to retrieve from the spreadsheet.","type":"string"}},"style":"form","explode":true},{"name":"excludeTablesInBandedRanges","in":"query","required":false,"description":"True if tables should be excluded in the banded ranges. False if not set.","schema":{"description":"True if tables should be excluded in the banded ranges. False if not set.","type":"boolean"},"style":"form","explode":false},{"name":"spreadsheetId","in":"path","required":true,"description":"The spreadsheet to request.","schema":{"description":"The spreadsheet to request.","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_Spreadsheet"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/spreadsheets"]},{"googleOAuth2":["https://www.googleapis.com/auth/drive.file"]}],"x-google-scopes":["https://www.googleapis.com/auth/spreadsheets","https://www.googleapis.com/auth/drive.file"]}},"/v4/spreadsheets/{spreadsheetId}:batchUpdate":{"post":{"operationId":"sheets.spreadsheets.batchUpdate","x-executor-toolPath":"sheets.spreadsheets.batchUpdate","x-executor-pathTemplate":"/v4/spreadsheets/{spreadsheetId}:batchUpdate","tags":["Google Sheets API"],"description":"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.","servers":[{"url":"https://sheets.googleapis.com/"}],"parameters":[{"name":"key","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"spreadsheetId","in":"path","required":true,"description":"The spreadsheet to apply the updates to.","schema":{"description":"The spreadsheet to apply the updates to.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_BatchUpdateSpreadsheetRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_BatchUpdateSpreadsheetResponse"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/spreadsheets"]},{"googleOAuth2":["https://www.googleapis.com/auth/drive.file"]}],"x-google-scopes":["https://www.googleapis.com/auth/spreadsheets","https://www.googleapis.com/auth/drive.file"]}},"/v4/spreadsheets/{spreadsheetId}:getByDataFilter":{"post":{"operationId":"sheets.spreadsheets.getByDataFilter","x-executor-toolPath":"sheets.spreadsheets.getByDataFilter","x-executor-pathTemplate":"/v4/spreadsheets/{spreadsheetId}:getByDataFilter","tags":["Google Sheets API"],"description":"Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. For more information, see [Read, write, and search metadata](https://developers.google.com/workspace/sheets/api/guides/metadata). This method differs from GetSpreadsheet in that it allows selecting which subsets of spreadsheet data to return by specifying a dataFilters parameter. Multiple DataFilters can be specified. Specifying one or more data filters returns the portions of the spreadsheet that intersect ranges matched by any of the filters. By default, data within grids is not returned. You can include grid data in one of two ways: * Specify a [field mask](https://developers.google.com/workspace/sheets/api/guides/field-masks) listing your desired fields using the `fields` URL parameter in HTTP. * Set the includeGridData 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.","servers":[{"url":"https://sheets.googleapis.com/"}],"parameters":[{"name":"key","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"spreadsheetId","in":"path","required":true,"description":"The spreadsheet to request.","schema":{"description":"The spreadsheet to request.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_GetSpreadsheetByDataFilterRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_Spreadsheet"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/spreadsheets"]},{"googleOAuth2":["https://www.googleapis.com/auth/drive.file"]}],"x-google-scopes":["https://www.googleapis.com/auth/spreadsheets","https://www.googleapis.com/auth/drive.file"]}},"/v4/spreadsheets/{spreadsheetId}/values/{range}:append":{"post":{"operationId":"sheets.spreadsheets.values.append","x-executor-toolPath":"sheets.spreadsheets.values.append","x-executor-pathTemplate":"/v4/spreadsheets/{spreadsheetId}/values/{range}:append","tags":["Google Sheets API"],"description":"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](https://developers.google.com/workspace/sheets/api/guides/values#appending_values) and [sample code](https://developers.google.com/workspace/sheets/api/samples/writing#append_values) 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.","servers":[{"url":"https://sheets.googleapis.com/"}],"parameters":[{"name":"key","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"spreadsheetId","in":"path","required":true,"description":"The ID of the spreadsheet to update.","schema":{"description":"The ID of the spreadsheet to update.","type":"string"}},{"name":"insertDataOption","in":"query","required":false,"description":"How the input data should be inserted.","schema":{"description":"How the input data should be inserted.","enum":["OVERWRITE","INSERT_ROWS"],"type":"string"},"style":"form","explode":false},{"name":"valueInputOption","in":"query","required":false,"description":"How the input data should be interpreted.","schema":{"description":"How the input data should be interpreted.","enum":["INPUT_VALUE_OPTION_UNSPECIFIED","RAW","USER_ENTERED"],"type":"string"},"style":"form","explode":false},{"name":"includeValuesInResponse","in":"query","required":false,"description":"Determines if the update response should include the values of the cells that were appended. By default, responses do not include the updated values.","schema":{"description":"Determines if the update response should include the values of the cells that were appended. By default, responses do not include the updated values.","type":"boolean"},"style":"form","explode":false},{"name":"range","in":"path","required":true,"description":"The [A1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell) of a range to search for a logical table of data. Values are appended after the last row of the table.","schema":{"description":"The [A1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell) of a range to search for a logical table of data. Values are appended after the last row of the table.","type":"string"}},{"name":"responseValueRenderOption","in":"query","required":false,"description":"Determines how values in the response should be rendered. The default render option is FORMATTED_VALUE.","schema":{"description":"Determines how values in the response should be rendered. The default render option is FORMATTED_VALUE.","enum":["FORMATTED_VALUE","UNFORMATTED_VALUE","FORMULA"],"type":"string"},"style":"form","explode":false},{"name":"responseDateTimeRenderOption","in":"query","required":false,"description":"Determines 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.","schema":{"description":"Determines 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.","enum":["SERIAL_NUMBER","FORMATTED_STRING"],"type":"string"},"style":"form","explode":false}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_ValueRange"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_AppendValuesResponse"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/spreadsheets"]},{"googleOAuth2":["https://www.googleapis.com/auth/drive.file"]}],"x-google-scopes":["https://www.googleapis.com/auth/spreadsheets","https://www.googleapis.com/auth/drive.file"]}},"/v4/spreadsheets/{spreadsheetId}/values:batchGetByDataFilter":{"post":{"operationId":"sheets.spreadsheets.values.batchGetByDataFilter","x-executor-toolPath":"sheets.spreadsheets.values.batchGetByDataFilter","x-executor-pathTemplate":"/v4/spreadsheets/{spreadsheetId}/values:batchGetByDataFilter","tags":["Google Sheets API"],"description":"Returns one or more ranges of values that match the specified data filters. For more information, see [Read, write, and search metadata](https://developers.google.com/workspace/sheets/api/guides/metadata). The caller must specify the spreadsheet ID and one or more DataFilters. Ranges that match any of the data filters in the request will be returned.","servers":[{"url":"https://sheets.googleapis.com/"}],"parameters":[{"name":"key","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"spreadsheetId","in":"path","required":true,"description":"The ID of the spreadsheet to retrieve data from.","schema":{"description":"The ID of the spreadsheet to retrieve data from.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_BatchGetValuesByDataFilterRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_BatchGetValuesByDataFilterResponse"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/spreadsheets"]},{"googleOAuth2":["https://www.googleapis.com/auth/drive.file"]}],"x-google-scopes":["https://www.googleapis.com/auth/spreadsheets","https://www.googleapis.com/auth/drive.file"]}},"/v4/spreadsheets/{spreadsheetId}/values:batchClear":{"post":{"operationId":"sheets.spreadsheets.values.batchClear","x-executor-toolPath":"sheets.spreadsheets.values.batchClear","x-executor-pathTemplate":"/v4/spreadsheets/{spreadsheetId}/values:batchClear","tags":["Google Sheets API"],"description":"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.","servers":[{"url":"https://sheets.googleapis.com/"}],"parameters":[{"name":"key","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"spreadsheetId","in":"path","required":true,"description":"The ID of the spreadsheet to update.","schema":{"description":"The ID of the spreadsheet to update.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_BatchClearValuesRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_BatchClearValuesResponse"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/spreadsheets"]},{"googleOAuth2":["https://www.googleapis.com/auth/drive.file"]}],"x-google-scopes":["https://www.googleapis.com/auth/spreadsheets","https://www.googleapis.com/auth/drive.file"]}},"/v4/spreadsheets/{spreadsheetId}/values/{range}":{"get":{"operationId":"sheets.spreadsheets.values.get","x-executor-toolPath":"sheets.spreadsheets.values.get","x-executor-pathTemplate":"/v4/spreadsheets/{spreadsheetId}/values/{range}","tags":["Google Sheets API"],"description":"Returns a range of values from a spreadsheet. The caller must specify the spreadsheet ID and a range.","servers":[{"url":"https://sheets.googleapis.com/"}],"parameters":[{"name":"key","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"majorDimension","in":"query","required":false,"description":"The 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]]`.","schema":{"description":"The 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]]`.","enum":["DIMENSION_UNSPECIFIED","ROWS","COLUMNS"],"type":"string"},"style":"form","explode":false},{"name":"dateTimeRenderOption","in":"query","required":false,"description":"How 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.","schema":{"description":"How 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.","enum":["SERIAL_NUMBER","FORMATTED_STRING"],"type":"string"},"style":"form","explode":false},{"name":"spreadsheetId","in":"path","required":true,"description":"The ID of the spreadsheet to retrieve data from.","schema":{"description":"The ID of the spreadsheet to retrieve data from.","type":"string"}},{"name":"valueRenderOption","in":"query","required":false,"description":"How values should be represented in the output. The default render option is FORMATTED_VALUE.","schema":{"description":"How values should be represented in the output. The default render option is FORMATTED_VALUE.","enum":["FORMATTED_VALUE","UNFORMATTED_VALUE","FORMULA"],"type":"string"},"style":"form","explode":false},{"name":"range","in":"path","required":true,"description":"The [A1 notation or R1C1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell) of the range to retrieve values from.","schema":{"description":"The [A1 notation or R1C1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell) of the range to retrieve values from.","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_ValueRange"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/spreadsheets"]},{"googleOAuth2":["https://www.googleapis.com/auth/drive.file"]}],"x-google-scopes":["https://www.googleapis.com/auth/spreadsheets","https://www.googleapis.com/auth/drive.file"]},"put":{"operationId":"sheets.spreadsheets.values.update","x-executor-toolPath":"sheets.spreadsheets.values.update","x-executor-pathTemplate":"/v4/spreadsheets/{spreadsheetId}/values/{range}","tags":["Google Sheets API"],"description":"Sets values in a range of a spreadsheet. The caller must specify the spreadsheet ID, range, and a valueInputOption.","servers":[{"url":"https://sheets.googleapis.com/"}],"parameters":[{"name":"key","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"responseDateTimeRenderOption","in":"query","required":false,"description":"Determines 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.","schema":{"description":"Determines 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.","enum":["SERIAL_NUMBER","FORMATTED_STRING"],"type":"string"},"style":"form","explode":false},{"name":"responseValueRenderOption","in":"query","required":false,"description":"Determines how values in the response should be rendered. The default render option is FORMATTED_VALUE.","schema":{"description":"Determines how values in the response should be rendered. The default render option is FORMATTED_VALUE.","enum":["FORMATTED_VALUE","UNFORMATTED_VALUE","FORMULA"],"type":"string"},"style":"form","explode":false},{"name":"valueInputOption","in":"query","required":false,"description":"How the input data should be interpreted.","schema":{"description":"How the input data should be interpreted.","enum":["INPUT_VALUE_OPTION_UNSPECIFIED","RAW","USER_ENTERED"],"type":"string"},"style":"form","explode":false},{"name":"includeValuesInResponse","in":"query","required":false,"description":"Determines 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).","schema":{"description":"Determines 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).","type":"boolean"},"style":"form","explode":false},{"name":"range","in":"path","required":true,"description":"The [A1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell) of the values to update.","schema":{"description":"The [A1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell) of the values to update.","type":"string"}},{"name":"spreadsheetId","in":"path","required":true,"description":"The ID of the spreadsheet to update.","schema":{"description":"The ID of the spreadsheet to update.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_ValueRange"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_UpdateValuesResponse"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/spreadsheets"]},{"googleOAuth2":["https://www.googleapis.com/auth/drive.file"]}],"x-google-scopes":["https://www.googleapis.com/auth/spreadsheets","https://www.googleapis.com/auth/drive.file"]}},"/v4/spreadsheets/{spreadsheetId}/values:batchGet":{"get":{"operationId":"sheets.spreadsheets.values.batchGet","x-executor-toolPath":"sheets.spreadsheets.values.batchGet","x-executor-pathTemplate":"/v4/spreadsheets/{spreadsheetId}/values:batchGet","tags":["Google Sheets API"],"description":"Returns one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more ranges.","servers":[{"url":"https://sheets.googleapis.com/"}],"parameters":[{"name":"key","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"ranges","in":"query","required":false,"description":"The [A1 notation or R1C1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell) of the range to retrieve values from.","schema":{"type":"array","items":{"description":"The [A1 notation or R1C1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell) of the range to retrieve values from.","type":"string"}},"style":"form","explode":true},{"name":"dateTimeRenderOption","in":"query","required":false,"description":"How 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.","schema":{"description":"How 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.","enum":["SERIAL_NUMBER","FORMATTED_STRING"],"type":"string"},"style":"form","explode":false},{"name":"valueRenderOption","in":"query","required":false,"description":"How values should be represented in the output. The default render option is ValueRenderOption.FORMATTED_VALUE.","schema":{"description":"How values should be represented in the output. The default render option is ValueRenderOption.FORMATTED_VALUE.","enum":["FORMATTED_VALUE","UNFORMATTED_VALUE","FORMULA"],"type":"string"},"style":"form","explode":false},{"name":"majorDimension","in":"query","required":false,"description":"The 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]]`.","schema":{"description":"The 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]]`.","enum":["DIMENSION_UNSPECIFIED","ROWS","COLUMNS"],"type":"string"},"style":"form","explode":false},{"name":"spreadsheetId","in":"path","required":true,"description":"The ID of the spreadsheet to retrieve data from.","schema":{"description":"The ID of the spreadsheet to retrieve data from.","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_BatchGetValuesResponse"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/spreadsheets"]},{"googleOAuth2":["https://www.googleapis.com/auth/drive.file"]}],"x-google-scopes":["https://www.googleapis.com/auth/spreadsheets","https://www.googleapis.com/auth/drive.file"]}},"/v4/spreadsheets/{spreadsheetId}/values:batchUpdateByDataFilter":{"post":{"operationId":"sheets.spreadsheets.values.batchUpdateByDataFilter","x-executor-toolPath":"sheets.spreadsheets.values.batchUpdateByDataFilter","x-executor-pathTemplate":"/v4/spreadsheets/{spreadsheetId}/values:batchUpdateByDataFilter","tags":["Google Sheets API"],"description":"Sets values in one or more ranges of a spreadsheet. For more information, see [Read, write, and search metadata](https://developers.google.com/workspace/sheets/api/guides/metadata). The caller must specify the spreadsheet ID, a valueInputOption, and one or more DataFilterValueRanges.","servers":[{"url":"https://sheets.googleapis.com/"}],"parameters":[{"name":"key","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"spreadsheetId","in":"path","required":true,"description":"The ID of the spreadsheet to update.","schema":{"description":"The ID of the spreadsheet to update.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_BatchUpdateValuesByDataFilterRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_BatchUpdateValuesByDataFilterResponse"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/spreadsheets"]},{"googleOAuth2":["https://www.googleapis.com/auth/drive.file"]}],"x-google-scopes":["https://www.googleapis.com/auth/spreadsheets","https://www.googleapis.com/auth/drive.file"]}},"/v4/spreadsheets/{spreadsheetId}/values:batchUpdate":{"post":{"operationId":"sheets.spreadsheets.values.batchUpdate","x-executor-toolPath":"sheets.spreadsheets.values.batchUpdate","x-executor-pathTemplate":"/v4/spreadsheets/{spreadsheetId}/values:batchUpdate","tags":["Google Sheets API"],"description":"Sets values in one or more ranges of a spreadsheet. The caller must specify the spreadsheet ID, a valueInputOption, and one or more ValueRanges.","servers":[{"url":"https://sheets.googleapis.com/"}],"parameters":[{"name":"key","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"spreadsheetId","in":"path","required":true,"description":"The ID of the spreadsheet to update.","schema":{"description":"The ID of the spreadsheet to update.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_BatchUpdateValuesRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_BatchUpdateValuesResponse"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/spreadsheets"]},{"googleOAuth2":["https://www.googleapis.com/auth/drive.file"]}],"x-google-scopes":["https://www.googleapis.com/auth/spreadsheets","https://www.googleapis.com/auth/drive.file"]}},"/v4/spreadsheets/{spreadsheetId}/values:batchClearByDataFilter":{"post":{"operationId":"sheets.spreadsheets.values.batchClearByDataFilter","x-executor-toolPath":"sheets.spreadsheets.values.batchClearByDataFilter","x-executor-pathTemplate":"/v4/spreadsheets/{spreadsheetId}/values:batchClearByDataFilter","tags":["Google Sheets API"],"description":"Clears one or more ranges of values from a spreadsheet. For more information, see [Read, write, and search metadata](https://developers.google.com/workspace/sheets/api/guides/metadata). The caller must specify the spreadsheet ID and one or more DataFilters. Ranges matching any of the specified data filters will be cleared. Only values are cleared -- all other properties of the cell (such as formatting, data validation, etc.) are kept.","servers":[{"url":"https://sheets.googleapis.com/"}],"parameters":[{"name":"key","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"spreadsheetId","in":"path","required":true,"description":"The ID of the spreadsheet to update.","schema":{"description":"The ID of the spreadsheet to update.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_BatchClearValuesByDataFilterRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_BatchClearValuesByDataFilterResponse"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/spreadsheets"]},{"googleOAuth2":["https://www.googleapis.com/auth/drive.file"]}],"x-google-scopes":["https://www.googleapis.com/auth/spreadsheets","https://www.googleapis.com/auth/drive.file"]}},"/v4/spreadsheets/{spreadsheetId}/values/{range}:clear":{"post":{"operationId":"sheets.spreadsheets.values.clear","x-executor-toolPath":"sheets.spreadsheets.values.clear","x-executor-pathTemplate":"/v4/spreadsheets/{spreadsheetId}/values/{range}:clear","tags":["Google Sheets API"],"description":"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.","servers":[{"url":"https://sheets.googleapis.com/"}],"parameters":[{"name":"key","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"range","in":"path","required":true,"description":"The [A1 notation or R1C1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell) of the values to clear.","schema":{"description":"The [A1 notation or R1C1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell) of the values to clear.","type":"string"}},{"name":"spreadsheetId","in":"path","required":true,"description":"The ID of the spreadsheet to update.","schema":{"description":"The ID of the spreadsheet to update.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_ClearValuesRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_ClearValuesResponse"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/spreadsheets"]},{"googleOAuth2":["https://www.googleapis.com/auth/drive.file"]}],"x-google-scopes":["https://www.googleapis.com/auth/spreadsheets","https://www.googleapis.com/auth/drive.file"]}},"/v4/spreadsheets/{spreadsheetId}/sheets/{sheetId}:copyTo":{"post":{"operationId":"sheets.spreadsheets.sheets.copyTo","x-executor-toolPath":"sheets.spreadsheets.sheets.copyTo","x-executor-pathTemplate":"/v4/spreadsheets/{spreadsheetId}/sheets/{sheetId}:copyTo","tags":["Google Sheets API"],"description":"Copies a single sheet from a spreadsheet to another spreadsheet. Returns the properties of the newly created sheet.","servers":[{"url":"https://sheets.googleapis.com/"}],"parameters":[{"name":"key","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"spreadsheetId","in":"path","required":true,"description":"The ID of the spreadsheet containing the sheet to copy.","schema":{"description":"The ID of the spreadsheet containing the sheet to copy.","type":"string"}},{"name":"sheetId","in":"path","required":true,"description":"The ID of the sheet to copy.","schema":{"description":"The ID of the sheet to copy.","format":"int32","type":"integer"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_CopySheetToAnotherSpreadsheetRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_SheetProperties"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/spreadsheets"]},{"googleOAuth2":["https://www.googleapis.com/auth/drive.file"]}],"x-google-scopes":["https://www.googleapis.com/auth/spreadsheets","https://www.googleapis.com/auth/drive.file"]}},"/v4/spreadsheets/{spreadsheetId}/developerMetadata/{metadataId}":{"get":{"operationId":"sheets.spreadsheets.developerMetadata.get","x-executor-toolPath":"sheets.spreadsheets.developerMetadata.get","x-executor-pathTemplate":"/v4/spreadsheets/{spreadsheetId}/developerMetadata/{metadataId}","tags":["Google Sheets API"],"description":"Returns the developer metadata with the specified ID. The caller must specify the spreadsheet ID and the developer metadata's unique metadataId. For more information, see [Read, write, and search metadata](https://developers.google.com/workspace/sheets/api/guides/metadata).","servers":[{"url":"https://sheets.googleapis.com/"}],"parameters":[{"name":"key","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"metadataId","in":"path","required":true,"description":"The ID of the developer metadata to retrieve.","schema":{"description":"The ID of the developer metadata to retrieve.","format":"int32","type":"integer"}},{"name":"spreadsheetId","in":"path","required":true,"description":"The ID of the spreadsheet to retrieve metadata from.","schema":{"description":"The ID of the spreadsheet to retrieve metadata from.","type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_DeveloperMetadata"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/spreadsheets"]},{"googleOAuth2":["https://www.googleapis.com/auth/drive.file"]}],"x-google-scopes":["https://www.googleapis.com/auth/spreadsheets","https://www.googleapis.com/auth/drive.file"]}},"/v4/spreadsheets/{spreadsheetId}/developerMetadata:search":{"post":{"operationId":"sheets.spreadsheets.developerMetadata.search","x-executor-toolPath":"sheets.spreadsheets.developerMetadata.search","x-executor-pathTemplate":"/v4/spreadsheets/{spreadsheetId}/developerMetadata:search","tags":["Google Sheets API"],"description":"Returns all developer metadata matching the specified DataFilter. For more information, see [Read, write, and search metadata](https://developers.google.com/workspace/sheets/api/guides/metadata). If the provided DataFilter represents a DeveloperMetadataLookup object, this will return all DeveloperMetadata entries selected by it. If the DataFilter represents a location in a spreadsheet, this will return all developer metadata associated with locations intersecting that region.","servers":[{"url":"https://sheets.googleapis.com/"}],"parameters":[{"name":"key","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"upload_protocol","in":"query","required":false,"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","schema":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"uploadType","in":"query","required":false,"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","schema":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","type":"string"},"style":"form","explode":false},{"name":"alt","in":"query","required":false,"description":"Data format for response.","schema":{"description":"Data format for response.","default":"json","enum":["json","media","proto"],"type":"string"},"style":"form","explode":false},{"name":"fields","in":"query","required":false,"description":"Selector specifying which fields to include in a partial response.","schema":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"style":"form","explode":false},{"name":"oauth_token","in":"query","required":false,"description":"OAuth 2.0 token for the current user.","schema":{"description":"OAuth 2.0 token for the current user.","type":"string"},"style":"form","explode":false},{"name":"callback","in":"query","required":false,"description":"JSONP","schema":{"description":"JSONP","type":"string"},"style":"form","explode":false},{"name":"$.xgafv","in":"query","required":false,"description":"V1 error format.","schema":{"description":"V1 error format.","enum":["1","2"],"type":"string"},"style":"form","explode":false},{"name":"access_token","in":"query","required":false,"description":"OAuth access token.","schema":{"description":"OAuth access token.","type":"string"},"style":"form","explode":false},{"name":"prettyPrint","in":"query","required":false,"description":"Returns response with indentations and line breaks.","schema":{"description":"Returns response with indentations and line breaks.","default":"true","type":"boolean"},"style":"form","explode":false},{"name":"quotaUser","in":"query","required":false,"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.","schema":{"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.","type":"string"},"style":"form","explode":false},{"name":"spreadsheetId","in":"path","required":true,"description":"The ID of the spreadsheet to retrieve metadata from.","schema":{"description":"The ID of the spreadsheet to retrieve metadata from.","type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_SearchDeveloperMetadataRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/sheets_v4_SearchDeveloperMetadataResponse"}}}}},"security":[{"googleOAuth2":["https://www.googleapis.com/auth/spreadsheets"]},{"googleOAuth2":["https://www.googleapis.com/auth/drive.file"]}],"x-google-scopes":["https://www.googleapis.com/auth/spreadsheets","https://www.googleapis.com/auth/drive.file"]}}},"components":{"schemas":{"sheets_v4_UpdateEmbeddedObjectPositionResponse":{"description":"The result of updating an embedded object's position.","type":"object","properties":{"position":{"$ref":"#/components/schemas/sheets_v4_EmbeddedObjectPosition"}}},"sheets_v4_BasicSeriesDataPointStyleOverride":{"description":"Style override settings for a single series data point.","type":"object","properties":{"colorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"},"index":{"description":"The zero-based index of the series data point.","format":"int32","type":"integer"},"color":{"$ref":"#/components/schemas/sheets_v4_Color"},"pointStyle":{"$ref":"#/components/schemas/sheets_v4_PointStyle"}}},"sheets_v4_BooleanCondition":{"description":"A condition that can evaluate to true or false. BooleanConditions are used by conditional formatting, data validation, and the criteria in filters.","type":"object","properties":{"type":{"description":"The type of condition.","enum":["CONDITION_TYPE_UNSPECIFIED","NUMBER_GREATER","NUMBER_GREATER_THAN_EQ","NUMBER_LESS","NUMBER_LESS_THAN_EQ","NUMBER_EQ","NUMBER_NOT_EQ","NUMBER_BETWEEN","NUMBER_NOT_BETWEEN","TEXT_CONTAINS","TEXT_NOT_CONTAINS","TEXT_STARTS_WITH","TEXT_ENDS_WITH","TEXT_EQ","TEXT_IS_EMAIL","TEXT_IS_URL","DATE_EQ","DATE_BEFORE","DATE_AFTER","DATE_ON_OR_BEFORE","DATE_ON_OR_AFTER","DATE_BETWEEN","DATE_NOT_BETWEEN","DATE_IS_VALID","ONE_OF_RANGE","ONE_OF_LIST","BLANK","NOT_BLANK","CUSTOM_FORMULA","BOOLEAN","TEXT_NOT_EQ","DATE_NOT_EQ","FILTER_EXPRESSION"],"type":"string"},"values":{"description":"The values of the condition. The number of supported values depends on the condition type. Some support zero values, others one or two values, and ConditionType.ONE_OF_LIST supports an arbitrary number of values.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_ConditionValue"}}}},"sheets_v4_BasicChartSeries":{"description":"A single series of data in a chart. For example, if charting stock prices over time, multiple series may exist, one for the \"Open Price\", \"High Price\", \"Low Price\" and \"Close Price\".","type":"object","properties":{"lineStyle":{"$ref":"#/components/schemas/sheets_v4_LineStyle"},"colorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"},"series":{"$ref":"#/components/schemas/sheets_v4_ChartData"},"type":{"description":"The type of this series. Valid only if the chartType is COMBO. Different types will change the way the series is visualized. Only LINE, AREA, and COLUMN are supported.","enum":["BASIC_CHART_TYPE_UNSPECIFIED","BAR","LINE","AREA","COLUMN","SCATTER","COMBO","STEPPED_AREA"],"type":"string"},"pointStyle":{"$ref":"#/components/schemas/sheets_v4_PointStyle"},"color":{"$ref":"#/components/schemas/sheets_v4_Color"},"dataLabel":{"$ref":"#/components/schemas/sheets_v4_DataLabel"},"targetAxis":{"description":"The minor axis that will specify the range of values for this series. For example, if charting stocks over time, the \"Volume\" series may want to be pinned to the right with the prices pinned to the left, because the scale of trading volume is different than the scale of prices. It is an error to specify an axis that isn't a valid minor axis for the chart's type.","enum":["BASIC_CHART_AXIS_POSITION_UNSPECIFIED","BOTTOM_AXIS","LEFT_AXIS","RIGHT_AXIS"],"type":"string"},"styleOverrides":{"description":"Style override settings for series data points.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_BasicSeriesDataPointStyleOverride"}}}},"sheets_v4_UpdateValuesByDataFilterResponse":{"description":"The response when updating a range of values by a data filter in a spreadsheet.","type":"object","properties":{"updatedRange":{"description":"The range (in [A1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell)) that updates were applied to.","type":"string"},"updatedCells":{"description":"The number of cells updated.","format":"int32","type":"integer"},"dataFilter":{"$ref":"#/components/schemas/sheets_v4_DataFilter"},"updatedColumns":{"description":"The number of columns where at least one cell in the column was updated.","format":"int32","type":"integer"},"updatedRows":{"description":"The number of rows where at least one cell in the row was updated.","format":"int32","type":"integer"},"updatedData":{"$ref":"#/components/schemas/sheets_v4_ValueRange"}}},"sheets_v4_ChartSpec":{"description":"The specifications of a chart.","type":"object","properties":{"titleTextPosition":{"$ref":"#/components/schemas/sheets_v4_TextPosition"},"treemapChart":{"$ref":"#/components/schemas/sheets_v4_TreemapChartSpec"},"filterSpecs":{"description":"The filters applied to the source data of the chart. Only supported for data source charts.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_FilterSpec"}},"pieChart":{"$ref":"#/components/schemas/sheets_v4_PieChartSpec"},"hiddenDimensionStrategy":{"description":"Determines how the charts will use hidden rows or columns.","enum":["CHART_HIDDEN_DIMENSION_STRATEGY_UNSPECIFIED","SKIP_HIDDEN_ROWS_AND_COLUMNS","SKIP_HIDDEN_ROWS","SKIP_HIDDEN_COLUMNS","SHOW_ALL"],"type":"string"},"sortSpecs":{"description":"The order to sort the chart data by. Only a single sort spec is supported. Only supported for data source charts.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_SortSpec"}},"orgChart":{"$ref":"#/components/schemas/sheets_v4_OrgChartSpec"},"title":{"description":"The title of the chart.","type":"string"},"titleTextFormat":{"$ref":"#/components/schemas/sheets_v4_TextFormat"},"backgroundColor":{"$ref":"#/components/schemas/sheets_v4_Color"},"candlestickChart":{"$ref":"#/components/schemas/sheets_v4_CandlestickChartSpec"},"histogramChart":{"$ref":"#/components/schemas/sheets_v4_HistogramChartSpec"},"fontName":{"description":"The name of the font to use by default for all chart text (e.g. title, axis labels, legend). If a font is specified for a specific part of the chart it will override this font name.","type":"string"},"dataSourceChartProperties":{"$ref":"#/components/schemas/sheets_v4_DataSourceChartProperties"},"bubbleChart":{"$ref":"#/components/schemas/sheets_v4_BubbleChartSpec"},"backgroundColorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"},"subtitleTextPosition":{"$ref":"#/components/schemas/sheets_v4_TextPosition"},"waterfallChart":{"$ref":"#/components/schemas/sheets_v4_WaterfallChartSpec"},"maximized":{"description":"True to make a chart fill the entire space in which it's rendered with minimum padding. False to use the default padding. (Not applicable to Geo and Org charts.)","type":"boolean"},"subtitle":{"description":"The subtitle of the chart.","type":"string"},"scorecardChart":{"$ref":"#/components/schemas/sheets_v4_ScorecardChartSpec"},"subtitleTextFormat":{"$ref":"#/components/schemas/sheets_v4_TextFormat"},"basicChart":{"$ref":"#/components/schemas/sheets_v4_BasicChartSpec"},"altText":{"description":"The alternative text that describes the chart. This is often used for accessibility.","type":"string"}}},"sheets_v4_DeleteRangeRequest":{"description":"Deletes a range of cells, shifting other cells into the deleted area.","type":"object","properties":{"shiftDimension":{"description":"The dimension from which deleted cells will be replaced with. If ROWS, existing cells will be shifted upward to replace the deleted cells. If COLUMNS, existing cells will be shifted left to replace the deleted cells.","enum":["DIMENSION_UNSPECIFIED","ROWS","COLUMNS"],"type":"string"},"range":{"$ref":"#/components/schemas/sheets_v4_GridRange"}}},"sheets_v4_BubbleChartSpec":{"description":"A bubble chart.","type":"object","properties":{"groupIds":{"$ref":"#/components/schemas/sheets_v4_ChartData"},"bubbleSizes":{"$ref":"#/components/schemas/sheets_v4_ChartData"},"series":{"$ref":"#/components/schemas/sheets_v4_ChartData"},"bubbleMinRadiusSize":{"description":"The minimum radius size of the bubbles, in pixels. If specific, the field must be a positive value.","format":"int32","type":"integer"},"domain":{"$ref":"#/components/schemas/sheets_v4_ChartData"},"bubbleMaxRadiusSize":{"description":"The max radius size of the bubbles, in pixels. If specified, the field must be a positive value.","format":"int32","type":"integer"},"bubbleBorderColor":{"$ref":"#/components/schemas/sheets_v4_Color"},"legendPosition":{"description":"Where the legend of the chart should be drawn.","enum":["BUBBLE_CHART_LEGEND_POSITION_UNSPECIFIED","BOTTOM_LEGEND","LEFT_LEGEND","RIGHT_LEGEND","TOP_LEGEND","NO_LEGEND","INSIDE_LEGEND"],"type":"string"},"bubbleBorderColorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"},"bubbleLabels":{"$ref":"#/components/schemas/sheets_v4_ChartData"},"bubbleOpacity":{"description":"The opacity of the bubbles between 0 and 1.0. 0 is fully transparent and 1 is fully opaque.","format":"float","type":"number"},"bubbleTextStyle":{"$ref":"#/components/schemas/sheets_v4_TextFormat"}}},"sheets_v4_CreateDeveloperMetadataResponse":{"description":"The response from creating developer metadata.","type":"object","properties":{"developerMetadata":{"$ref":"#/components/schemas/sheets_v4_DeveloperMetadata"}}},"sheets_v4_PivotGroup":{"description":"A single grouping (either row or column) in a pivot table.","type":"object","properties":{"valueBucket":{"$ref":"#/components/schemas/sheets_v4_PivotGroupSortValueBucket"},"groupLimit":{"$ref":"#/components/schemas/sheets_v4_PivotGroupLimit"},"label":{"description":"The labels to use for the row/column groups which can be customized. For example, in the following pivot table, the row label is `Region` (which could be renamed to `State`) and the column label is `Product` (which could be renamed `Item`). Pivot tables created before December 2017 do not have header labels. If you'd like to add header labels to an existing pivot table, please delete the existing pivot table and then create a new pivot table with same parameters. +--------------+---------+-------+ | SUM of Units | Product | | | Region | Pen | Paper | +--------------+---------+-------+ | New York | 345 | 98 | | Oregon | 234 | 123 | | Tennessee | 531 | 415 | +--------------+---------+-------+ | Grand Total | 1110 | 636 | +--------------+---------+-------+","type":"string"},"sortOrder":{"description":"The order the values in this group should be sorted.","enum":["SORT_ORDER_UNSPECIFIED","ASCENDING","DESCENDING"],"type":"string"},"repeatHeadings":{"description":"True if the headings in this pivot group should be repeated. This is only valid for row groupings and is ignored by columns. By default, we minimize repetition of headings by not showing higher level headings where they are the same. For example, even though the third row below corresponds to \"Q1 Mar\", \"Q1\" is not shown because it is redundant with previous rows. Setting repeat_headings to true would cause \"Q1\" to be repeated for \"Feb\" and \"Mar\". +--------------+ | Q1 | Jan | | | Feb | | | Mar | +--------+-----+ | Q1 Total | +--------------+","type":"boolean"},"valueMetadata":{"description":"Metadata about values in the grouping.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_PivotGroupValueMetadata"}},"showTotals":{"description":"True if the pivot table should include the totals for this grouping.","type":"boolean"},"groupRule":{"$ref":"#/components/schemas/sheets_v4_PivotGroupRule"},"sourceColumnOffset":{"description":"The column offset of the source range that this grouping is based on. For example, if the source was `C10:E15`, a `sourceColumnOffset` of `0` means this group refers to column `C`, whereas the offset `1` would refer to column `D`.","format":"int32","type":"integer"},"dataSourceColumnReference":{"$ref":"#/components/schemas/sheets_v4_DataSourceColumnReference"}}},"sheets_v4_DeleteDeveloperMetadataRequest":{"description":"A request to delete developer metadata.","type":"object","properties":{"dataFilter":{"$ref":"#/components/schemas/sheets_v4_DataFilter"}}},"sheets_v4_AppendValuesResponse":{"description":"The response when updating a range of values in a spreadsheet.","type":"object","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 (before the values were appended). Empty if no table was found.","type":"string"},"updates":{"$ref":"#/components/schemas/sheets_v4_UpdateValuesResponse"}}},"sheets_v4_UpdateDimensionPropertiesRequest":{"description":"Updates properties of dimensions within the specified range.","type":"object","properties":{"fields":{"description":"The fields that should be updated. At least one field must be specified. The root `properties` is implied and should not be specified. A single `\"*\"` can be used as short-hand for listing every field.","format":"google-fieldmask","type":"string"},"range":{"$ref":"#/components/schemas/sheets_v4_DimensionRange"},"properties":{"$ref":"#/components/schemas/sheets_v4_DimensionProperties"},"dataSourceSheetRange":{"$ref":"#/components/schemas/sheets_v4_DataSourceSheetDimensionRange"}}},"sheets_v4_ClearValuesResponse":{"description":"The response when clearing a range of values in a spreadsheet.","type":"object","properties":{"clearedRange":{"description":"The range (in A1 notation) that was cleared. (If the request was for an unbounded range or a range larger than the bounds of the sheet, this will be the actual range that was cleared, bounded to the sheet's limits.)","type":"string"},"spreadsheetId":{"description":"The spreadsheet the updates were applied to.","type":"string"}}},"sheets_v4_Padding":{"description":"The amount of padding around the cell, in pixels. When updating padding, every field must be specified.","type":"object","properties":{"left":{"description":"The left padding of the cell.","format":"int32","type":"integer"},"bottom":{"description":"The bottom padding of the cell.","format":"int32","type":"integer"},"top":{"description":"The top padding of the cell.","format":"int32","type":"integer"},"right":{"description":"The right padding of the cell.","format":"int32","type":"integer"}}},"sheets_v4_DeleteEmbeddedObjectRequest":{"description":"Deletes the embedded object with the given ID.","type":"object","properties":{"objectId":{"description":"The ID of the embedded object to delete.","format":"int32","type":"integer"}}},"sheets_v4_CandlestickData":{"description":"The Candlestick chart data, each containing the low, open, close, and high values for a series.","type":"object","properties":{"highSeries":{"$ref":"#/components/schemas/sheets_v4_CandlestickSeries"},"openSeries":{"$ref":"#/components/schemas/sheets_v4_CandlestickSeries"},"lowSeries":{"$ref":"#/components/schemas/sheets_v4_CandlestickSeries"},"closeSeries":{"$ref":"#/components/schemas/sheets_v4_CandlestickSeries"}}},"sheets_v4_ClearBasicFilterRequest":{"description":"Clears the basic filter, if any exists on the sheet.","type":"object","properties":{"sheetId":{"description":"The sheet ID on which the basic filter should be cleared.","format":"int32","type":"integer"}}},"sheets_v4_BasicFilter":{"description":"The default filter associated with a sheet. For more information, see [Manage data visibility with filters](https://developers.google.com/workspace/sheets/api/guides/filters).","type":"object","properties":{"filterSpecs":{"description":"The filter criteria per column. Both criteria and filter_specs are populated in responses. If both fields are specified in an update request, this field takes precedence.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_FilterSpec"}},"criteria":{"description":"The criteria for showing/hiding values per column. The map's key is the column index, and the value is the criteria for that column. This field is deprecated in favor of filter_specs.","type":"object","additionalProperties":{"$ref":"#/components/schemas/sheets_v4_FilterCriteria"}},"range":{"$ref":"#/components/schemas/sheets_v4_GridRange"},"sortSpecs":{"description":"The sort order per column. Later specifications are used when values are equal in the earlier specifications.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_SortSpec"}},"tableId":{"description":"The table this filter is backed by, if any. When writing, only one of range or table_id may be set.","type":"string"}}},"sheets_v4_BasicChartAxis":{"description":"An axis of the chart. A chart may not have more than one axis per axis position.","type":"object","properties":{"viewWindowOptions":{"$ref":"#/components/schemas/sheets_v4_ChartAxisViewWindowOptions"},"position":{"description":"The position of this axis.","enum":["BASIC_CHART_AXIS_POSITION_UNSPECIFIED","BOTTOM_AXIS","LEFT_AXIS","RIGHT_AXIS"],"type":"string"},"titleTextPosition":{"$ref":"#/components/schemas/sheets_v4_TextPosition"},"format":{"$ref":"#/components/schemas/sheets_v4_TextFormat"},"title":{"description":"The title of this axis. If set, this overrides any title inferred from headers of the data.","type":"string"}}},"sheets_v4_UpdateBordersRequest":{"description":"Updates the borders of a range. If a field is not set in the request, that means the border remains as-is. For example, with two subsequent UpdateBordersRequest: 1. range: A1:A5 `{ top: RED, bottom: WHITE }` 2. range: A1:A5 `{ left: BLUE }` That would result in A1:A5 having a borders of `{ top: RED, bottom: WHITE, left: BLUE }`. If you want to clear a border, explicitly set the style to NONE.","type":"object","properties":{"bottom":{"$ref":"#/components/schemas/sheets_v4_Border"},"left":{"$ref":"#/components/schemas/sheets_v4_Border"},"right":{"$ref":"#/components/schemas/sheets_v4_Border"},"top":{"$ref":"#/components/schemas/sheets_v4_Border"},"innerHorizontal":{"$ref":"#/components/schemas/sheets_v4_Border"},"range":{"$ref":"#/components/schemas/sheets_v4_GridRange"},"innerVertical":{"$ref":"#/components/schemas/sheets_v4_Border"}}},"sheets_v4_DateTimeRule":{"description":"Allows you to organize the date-time values in a source data column into buckets based on selected parts of their date or time values. For example, consider a pivot table showing sales transactions by date: +----------+--------------+ | Date | SUM of Sales | +----------+--------------+ | 1/1/2017 | $621.14 | | 2/3/2017 | $708.84 | | 5/8/2017 | $326.84 | ... +----------+--------------+ Applying a date-time group rule with a DateTimeRuleType of YEAR_MONTH results in the following pivot table. +--------------+--------------+ | Grouped Date | SUM of Sales | +--------------+--------------+ | 2017-Jan | $53,731.78 | | 2017-Feb | $83,475.32 | | 2017-Mar | $94,385.05 | ... +--------------+--------------+","type":"object","properties":{"type":{"description":"The type of date-time grouping to apply.","enum":["DATE_TIME_RULE_TYPE_UNSPECIFIED","SECOND","MINUTE","HOUR","HOUR_MINUTE","HOUR_MINUTE_AMPM","DAY_OF_WEEK","DAY_OF_YEAR","DAY_OF_MONTH","DAY_MONTH","MONTH","QUARTER","YEAR","YEAR_MONTH","YEAR_QUARTER","YEAR_MONTH_DAY"],"type":"string"}}},"sheets_v4_AddBandingRequest":{"description":"Adds a new banded range to the spreadsheet.","type":"object","properties":{"bandedRange":{"$ref":"#/components/schemas/sheets_v4_BandedRange"}}},"sheets_v4_KeyValueFormat":{"description":"Formatting options for key value.","type":"object","properties":{"position":{"$ref":"#/components/schemas/sheets_v4_TextPosition"},"textFormat":{"$ref":"#/components/schemas/sheets_v4_TextFormat"}}},"sheets_v4_FilterView":{"description":"A filter view. For more information, see [Manage data visibility with filters](https://developers.google.com/workspace/sheets/api/guides/filters).","type":"object","properties":{"filterViewId":{"description":"The ID of the filter view.","format":"int32","type":"integer"},"sortSpecs":{"description":"The sort order per column. Later specifications are used when values are equal in the earlier specifications.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_SortSpec"}},"tableId":{"description":"The table this filter view is backed by, if any. When writing, only one of range, named_range_id, or table_id may be set.","type":"string"},"range":{"$ref":"#/components/schemas/sheets_v4_GridRange"},"filterSpecs":{"description":"The filter criteria for showing or hiding values per column. Both criteria and filter_specs are populated in responses. If both fields are specified in an update request, this field takes precedence.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_FilterSpec"}},"namedRangeId":{"description":"The named range this filter view is backed by, if any. When writing, only one of range, named_range_id, or table_id may be set.","type":"string"},"criteria":{"description":"The criteria for showing/hiding values per column. The map's key is the column index, and the value is the criteria for that column. This field is deprecated in favor of filter_specs.","type":"object","additionalProperties":{"$ref":"#/components/schemas/sheets_v4_FilterCriteria"}},"title":{"description":"The name of the filter view.","type":"string"}}},"sheets_v4_AddChartRequest":{"description":"Adds a chart to a sheet in the spreadsheet.","type":"object","properties":{"chart":{"$ref":"#/components/schemas/sheets_v4_EmbeddedChart"}}},"sheets_v4_BasicChartSpec":{"description":"The specification for a basic chart. See BasicChartType for the list of charts this supports.","type":"object","properties":{"chartType":{"description":"The type of the chart.","enum":["BASIC_CHART_TYPE_UNSPECIFIED","BAR","LINE","AREA","COLUMN","SCATTER","COMBO","STEPPED_AREA"],"type":"string"},"interpolateNulls":{"description":"If some values in a series are missing, gaps may appear in the chart (e.g, segments of lines in a line chart will be missing). To eliminate these gaps set this to true. Applies to Line, Area, and Combo charts.","type":"boolean"},"series":{"description":"The data this chart is visualizing.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_BasicChartSeries"}},"stackedType":{"description":"The stacked type for charts that support vertical stacking. Applies to Area, Bar, Column, Combo, and Stepped Area charts.","enum":["BASIC_CHART_STACKED_TYPE_UNSPECIFIED","NOT_STACKED","STACKED","PERCENT_STACKED"],"type":"string"},"axis":{"description":"The axis on the chart.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_BasicChartAxis"}},"compareMode":{"description":"The behavior of tooltips and data highlighting when hovering on data and chart area.","enum":["BASIC_CHART_COMPARE_MODE_UNSPECIFIED","DATUM","CATEGORY"],"type":"string"},"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"},"totalDataLabel":{"$ref":"#/components/schemas/sheets_v4_DataLabel"},"threeDimensional":{"description":"True to make the chart 3D. Applies to Bar and Column charts.","type":"boolean"},"headerCount":{"description":"The number of rows or columns in the data that are \"headers\". If not set, Google Sheets will guess how many rows are headers based on the data. (Note that BasicChartAxis.title may override the axis title inferred from the header values.)","format":"int32","type":"integer"},"domains":{"description":"The domain of data this is charting. Only a single domain is supported.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_BasicChartDomain"}},"lineSmoothing":{"description":"Gets whether all lines should be rendered smooth or straight by default. Applies to Line charts.","type":"boolean"}}},"sheets_v4_BooleanRule":{"description":"A rule that may or may not match, depending on the condition.","type":"object","properties":{"condition":{"$ref":"#/components/schemas/sheets_v4_BooleanCondition"},"format":{"$ref":"#/components/schemas/sheets_v4_CellFormat"}}},"sheets_v4_RepeatCellRequest":{"description":"Updates all cells in the range to the values in the given Cell object. Only the fields listed in the fields field are updated; others are unchanged. If writing a cell with a formula, the formula's ranges will automatically increment for each field in the range. For example, if writing a cell with formula `=A1` into range B2:C4, B2 would be `=A1`, B3 would be `=A2`, B4 would be `=A3`, C2 would be `=B1`, C3 would be `=B2`, C4 would be `=B3`. To keep the formula's ranges static, use the `$` indicator. For example, use the formula `=$A$1` to prevent both the row and the column from incrementing.","type":"object","properties":{"cell":{"$ref":"#/components/schemas/sheets_v4_CellData"},"range":{"$ref":"#/components/schemas/sheets_v4_GridRange"},"fields":{"description":"The fields that should be updated. At least one field must be specified. The root `cell` is implied and should not be specified. A single `\"*\"` can be used as short-hand for listing every field.","format":"google-fieldmask","type":"string"}}},"sheets_v4_PointStyle":{"description":"The style of a point on the chart.","type":"object","properties":{"size":{"description":"The point size. If empty, a default size is used.","format":"double","type":"number"},"shape":{"description":"The point shape. If empty or unspecified, a default shape is used.","enum":["POINT_SHAPE_UNSPECIFIED","CIRCLE","DIAMOND","HEXAGON","PENTAGON","SQUARE","STAR","TRIANGLE","X_MARK"],"type":"string"}}},"sheets_v4_AddFilterViewRequest":{"description":"Adds a filter view.","type":"object","properties":{"filter":{"$ref":"#/components/schemas/sheets_v4_FilterView"}}},"sheets_v4_CandlestickSeries":{"description":"The series of a CandlestickData.","type":"object","properties":{"data":{"$ref":"#/components/schemas/sheets_v4_ChartData"}}},"sheets_v4_DeveloperMetadataLocation":{"description":"A location where metadata may be associated in a spreadsheet.","type":"object","properties":{"sheetId":{"description":"The ID of the sheet when metadata is associated with an entire sheet.","format":"int32","type":"integer"},"dimensionRange":{"$ref":"#/components/schemas/sheets_v4_DimensionRange"},"locationType":{"description":"The type of location this object represents. This field is read-only.","enum":["DEVELOPER_METADATA_LOCATION_TYPE_UNSPECIFIED","ROW","COLUMN","SHEET","SPREADSHEET"],"type":"string"},"spreadsheet":{"description":"True when metadata is associated with an entire spreadsheet.","type":"boolean"}}},"sheets_v4_ConditionValue":{"description":"The value of the condition.","type":"object","properties":{"relativeDate":{"description":"A relative date (based on the current date). Valid only if the type is DATE_BEFORE, DATE_AFTER, DATE_ON_OR_BEFORE or DATE_ON_OR_AFTER. Relative dates are not supported in data validation. They are supported only in conditional formatting and conditional filters.","enum":["RELATIVE_DATE_UNSPECIFIED","PAST_YEAR","PAST_MONTH","PAST_WEEK","YESTERDAY","TODAY","TOMORROW"],"type":"string"},"userEnteredValue":{"description":"A value the condition is based on. The value is parsed as if the user typed into a cell. Formulas are supported (and must begin with an `=` or a '+').","type":"string"}}},"sheets_v4_SpreadsheetProperties":{"description":"Properties of a spreadsheet.","type":"object","properties":{"autoRecalc":{"description":"The amount of time to wait before volatile functions are recalculated.","enum":["RECALCULATION_INTERVAL_UNSPECIFIED","ON_CHANGE","MINUTE","HOUR"],"type":"string"},"title":{"description":"The title of the spreadsheet.","type":"string"},"importFunctionsExternalUrlAccessAllowed":{"description":"Whether to allow external URL access for image and import functions. Read only when true. When false, you can set to true. This value will be bypassed and always return true if the admin has enabled the [allowlisting feature](https://support.google.com/a?p=url_allowlist).","type":"boolean"},"locale":{"description":"The locale of the spreadsheet in one of the following formats: * an ISO 639-1 language code such as `en` * an ISO 639-2 language code such as `fil`, if no 639-1 code exists * a combination of the ISO language code and country code, such as `en_US` Note: when updating this field, not all locales/languages are supported.","type":"string"},"spreadsheetTheme":{"$ref":"#/components/schemas/sheets_v4_SpreadsheetTheme"},"iterativeCalculationSettings":{"$ref":"#/components/schemas/sheets_v4_IterativeCalculationSettings"},"timeZone":{"description":"The time zone of the spreadsheet, in CLDR format such as `America/New_York`. If the time zone isn't recognized, this may be a custom time zone such as `GMT-07:00`.","type":"string"},"defaultFormat":{"$ref":"#/components/schemas/sheets_v4_CellFormat"}}},"sheets_v4_WaterfallChartColumnStyle":{"description":"Styles for a waterfall chart column.","type":"object","properties":{"label":{"description":"The label of the column's legend.","type":"string"},"color":{"$ref":"#/components/schemas/sheets_v4_Color"},"colorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"}}},"sheets_v4_UpdateValuesResponse":{"description":"The response when updating a range of values in a spreadsheet.","type":"object","properties":{"updatedData":{"$ref":"#/components/schemas/sheets_v4_ValueRange"},"updatedRows":{"description":"The number of rows where at least one cell in the row was updated.","format":"int32","type":"integer"},"spreadsheetId":{"description":"The spreadsheet the updates were applied to.","type":"string"},"updatedColumns":{"description":"The number of columns where at least one cell in the column was updated.","format":"int32","type":"integer"},"updatedRange":{"description":"The range (in A1 notation) that updates were applied to.","type":"string"},"updatedCells":{"description":"The number of cells updated.","format":"int32","type":"integer"}}},"sheets_v4_EmbeddedChart":{"description":"A chart embedded in a sheet.","type":"object","properties":{"chartId":{"description":"The ID of the chart.","format":"int32","type":"integer"},"position":{"$ref":"#/components/schemas/sheets_v4_EmbeddedObjectPosition"},"spec":{"$ref":"#/components/schemas/sheets_v4_ChartSpec"},"border":{"$ref":"#/components/schemas/sheets_v4_EmbeddedObjectBorder"}}},"sheets_v4_IterativeCalculationSettings":{"description":"Settings to control how circular dependencies are resolved with iterative calculation.","type":"object","properties":{"convergenceThreshold":{"description":"When iterative calculation is enabled and successive results differ by less than this threshold value, the calculation rounds stop.","format":"double","type":"number"},"maxIterations":{"description":"When iterative calculation is enabled, the maximum number of calculation rounds to perform.","format":"int32","type":"integer"}}},"sheets_v4_Sheet":{"description":"A sheet in a spreadsheet.","type":"object","properties":{"bandedRanges":{"description":"The banded (alternating colors) ranges on this sheet.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_BandedRange"}},"developerMetadata":{"description":"The developer metadata associated with a sheet.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_DeveloperMetadata"}},"filterViews":{"description":"The filter views in this sheet.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_FilterView"}},"properties":{"$ref":"#/components/schemas/sheets_v4_SheetProperties"},"rowGroups":{"description":"All row groups on this sheet, ordered by increasing range start index, then by group depth.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_DimensionGroup"}},"data":{"description":"Data in the grid, if this is a grid sheet. The number of GridData objects returned is dependent on the number of ranges requested on this sheet. For example, if this is representing `Sheet1`, and the spreadsheet was requested with ranges `Sheet1!A1:C10` and `Sheet1!D15:E20`, then the first GridData will have a startRow/startColumn of `0`, while the second one will have `startRow 14` (zero-based row 15), and `startColumn 3` (zero-based column D). For a DATA_SOURCE sheet, you can not request a specific range, the GridData contains all the values.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_GridData"}},"columnGroups":{"description":"All column groups on this sheet, ordered by increasing range start index, then by group depth.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_DimensionGroup"}},"slicers":{"description":"The slicers on this sheet.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_Slicer"}},"tables":{"description":"The tables on this sheet.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_Table"}},"conditionalFormats":{"description":"The conditional format rules in this sheet.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_ConditionalFormatRule"}},"charts":{"description":"The specifications of every chart on this sheet.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_EmbeddedChart"}},"merges":{"description":"The ranges that are merged together.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_GridRange"}},"basicFilter":{"$ref":"#/components/schemas/sheets_v4_BasicFilter"},"protectedRanges":{"description":"The protected ranges in this sheet.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_ProtectedRange"}}}},"sheets_v4_CancelDataSourceRefreshResponse":{"description":"The response from cancelling one or multiple data source object refreshes.","type":"object","properties":{"statuses":{"description":"The cancellation statuses of refreshes of all data source objects specified in the request. If is_all is specified, the field contains only those in failure status. Refreshing and canceling refresh the same data source object is also not allowed in the same `batchUpdate`.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_CancelDataSourceRefreshStatus"}}}},"sheets_v4_DimensionGroup":{"description":"A group over an interval of rows or columns on a sheet, which can contain or be contained within other groups. A group can be collapsed or expanded as a unit on the sheet.","type":"object","properties":{"collapsed":{"description":"This field is true if this group is collapsed. A collapsed group remains collapsed if an overlapping group at a shallower depth is expanded. A true value does not imply that all dimensions within the group are hidden, since a dimension's visibility can change independently from this group property. However, when this property is updated, all dimensions within it are set to hidden if this field is true, or set to visible if this field is false.","type":"boolean"},"depth":{"description":"The depth of the group, representing how many groups have a range that wholly contains the range of this group.","format":"int32","type":"integer"},"range":{"$ref":"#/components/schemas/sheets_v4_DimensionRange"}}},"sheets_v4_DeleteDuplicatesResponse":{"description":"The result of removing duplicates in a range.","type":"object","properties":{"duplicatesRemovedCount":{"description":"The number of duplicate rows removed.","format":"int32","type":"integer"}}},"sheets_v4_ValueRange":{"description":"Data within a range of the spreadsheet.","type":"object","properties":{"range":{"description":"The range the values cover, in [A1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell). For output, this range indicates the entire requested range, even though the values will exclude trailing rows and columns. When appending values, this field represents the range to search for a table, after which values will be appended.","type":"string"},"majorDimension":{"description":"The 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.","enum":["DIMENSION_UNSPECIFIED","ROWS","COLUMNS"],"type":"string"},"values":{"description":"The 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.","type":"array","items":{"type":"array","items":{}}}}},"sheets_v4_BatchUpdateSpreadsheetRequest":{"description":"The request for updating any aspect of a spreadsheet.","type":"object","properties":{"responseIncludeGridData":{"description":"True 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.","type":"boolean"},"responseRanges":{"description":"Limits the ranges included in the response spreadsheet. Meaningful only if include_spreadsheet_in_response is 'true'.","type":"array","items":{"type":"string"}},"requests":{"description":"A 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.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_Request"}},"includeSpreadsheetInResponse":{"description":"Determines if the update response should include the spreadsheet resource.","type":"boolean"}}},"sheets_v4_BaselineValueFormat":{"description":"Formatting options for baseline value.","type":"object","properties":{"positiveColorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"},"negativeColor":{"$ref":"#/components/schemas/sheets_v4_Color"},"positiveColor":{"$ref":"#/components/schemas/sheets_v4_Color"},"textFormat":{"$ref":"#/components/schemas/sheets_v4_TextFormat"},"position":{"$ref":"#/components/schemas/sheets_v4_TextPosition"},"description":{"description":"Description which is appended after the baseline value. This field is optional.","type":"string"},"comparisonType":{"description":"The comparison type of key value with baseline value.","enum":["COMPARISON_TYPE_UNDEFINED","ABSOLUTE_DIFFERENCE","PERCENTAGE_DIFFERENCE"],"type":"string"},"negativeColorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"}}},"sheets_v4_BatchClearValuesRequest":{"description":"The request for clearing more than one range of values in a spreadsheet.","type":"object","properties":{"ranges":{"description":"The ranges to clear, in [A1 notation or R1C1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell).","type":"array","items":{"type":"string"}}}},"sheets_v4_TreemapChartSpec":{"description":"A Treemap chart.","type":"object","properties":{"labels":{"$ref":"#/components/schemas/sheets_v4_ChartData"},"colorScale":{"$ref":"#/components/schemas/sheets_v4_TreemapChartColorScale"},"minValue":{"description":"The minimum possible data value. Cells with values less than this will have the same color as cells with this value. If not specified, defaults to the actual minimum value from color_data, or the minimum value from size_data if color_data is not specified.","format":"double","type":"number"},"colorData":{"$ref":"#/components/schemas/sheets_v4_ChartData"},"hintedLevels":{"description":"The number of additional data levels beyond the labeled levels to be shown on the treemap chart. These levels are not interactive and are shown without their labels. Defaults to 0 if not specified.","format":"int32","type":"integer"},"sizeData":{"$ref":"#/components/schemas/sheets_v4_ChartData"},"parentLabels":{"$ref":"#/components/schemas/sheets_v4_ChartData"},"levels":{"description":"The number of data levels to show on the treemap chart. These levels are interactive and are shown with their labels. Defaults to 2 if not specified.","format":"int32","type":"integer"},"headerColorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"},"maxValue":{"description":"The maximum possible data value. Cells with values greater than this will have the same color as cells with this value. If not specified, defaults to the actual maximum value from color_data, or the maximum value from size_data if color_data is not specified.","format":"double","type":"number"},"textFormat":{"$ref":"#/components/schemas/sheets_v4_TextFormat"},"hideTooltips":{"description":"True to hide tooltips.","type":"boolean"},"headerColor":{"$ref":"#/components/schemas/sheets_v4_Color"}}},"sheets_v4_Table":{"description":"A table.","type":"object","properties":{"columnProperties":{"description":"The table column properties.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_TableColumnProperties"}},"tableId":{"description":"The id of the table.","type":"string"},"name":{"description":"The table name. This is unique to all tables in the same spreadsheet.","type":"string"},"range":{"$ref":"#/components/schemas/sheets_v4_GridRange"},"rowsProperties":{"$ref":"#/components/schemas/sheets_v4_TableRowsProperties"}}},"sheets_v4_DuplicateFilterViewRequest":{"description":"Duplicates a particular filter view.","type":"object","properties":{"filterId":{"description":"The ID of the filter being duplicated.","format":"int32","type":"integer"}}},"sheets_v4_SourceAndDestination":{"description":"A combination of a source range and how to extend that source.","type":"object","properties":{"dimension":{"description":"The dimension that data should be filled into.","enum":["DIMENSION_UNSPECIFIED","ROWS","COLUMNS"],"type":"string"},"fillLength":{"description":"The number of rows or columns that data should be filled into. Positive numbers expand beyond the last row or last column of the source. Negative numbers expand before the first row or first column of the source.","format":"int32","type":"integer"},"source":{"$ref":"#/components/schemas/sheets_v4_GridRange"}}},"sheets_v4_CellFormat":{"description":"The format of a cell.","type":"object","properties":{"textDirection":{"description":"The direction of the text in the cell.","enum":["TEXT_DIRECTION_UNSPECIFIED","LEFT_TO_RIGHT","RIGHT_TO_LEFT"],"type":"string"},"wrapStrategy":{"description":"The wrap strategy for the value in the cell.","enum":["WRAP_STRATEGY_UNSPECIFIED","OVERFLOW_CELL","LEGACY_WRAP","CLIP","WRAP"],"type":"string"},"borders":{"$ref":"#/components/schemas/sheets_v4_Borders"},"numberFormat":{"$ref":"#/components/schemas/sheets_v4_NumberFormat"},"verticalAlignment":{"description":"The vertical alignment of the value in the cell.","enum":["VERTICAL_ALIGN_UNSPECIFIED","TOP","MIDDLE","BOTTOM"],"type":"string"},"backgroundColorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"},"textFormat":{"$ref":"#/components/schemas/sheets_v4_TextFormat"},"hyperlinkDisplayType":{"description":"If one exists, how a hyperlink should be displayed in the cell.","enum":["HYPERLINK_DISPLAY_TYPE_UNSPECIFIED","LINKED","PLAIN_TEXT"],"type":"string"},"textRotation":{"$ref":"#/components/schemas/sheets_v4_TextRotation"},"backgroundColor":{"$ref":"#/components/schemas/sheets_v4_Color"},"horizontalAlignment":{"description":"The horizontal alignment of the value in the cell.","enum":["HORIZONTAL_ALIGN_UNSPECIFIED","LEFT","CENTER","RIGHT"],"type":"string"},"padding":{"$ref":"#/components/schemas/sheets_v4_Padding"}}},"sheets_v4_UpdateChartSpecRequest":{"description":"Updates a chart's specifications. (This does not move or resize a chart. To move or resize a chart, use UpdateEmbeddedObjectPositionRequest.)","type":"object","properties":{"chartId":{"description":"The ID of the chart to update.","format":"int32","type":"integer"},"spec":{"$ref":"#/components/schemas/sheets_v4_ChartSpec"}}},"sheets_v4_DataSourceRefreshMonthlySchedule":{"description":"A monthly schedule for data to refresh on specific days in the month in a given time interval.","type":"object","properties":{"daysOfMonth":{"description":"Days of the month to refresh. Only 1-28 are supported, mapping to the 1st to the 28th day. At least one day must be specified.","type":"array","items":{"format":"int32","type":"integer"}},"startTime":{"$ref":"#/components/schemas/sheets_v4_TimeOfDay"}}},"sheets_v4_ConditionalFormatRule":{"description":"A rule describing a conditional format.","type":"object","properties":{"ranges":{"description":"The ranges that are formatted if the condition is true. All the ranges must be on the same grid.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_GridRange"}},"gradientRule":{"$ref":"#/components/schemas/sheets_v4_GradientRule"},"booleanRule":{"$ref":"#/components/schemas/sheets_v4_BooleanRule"}}},"sheets_v4_DataSourceFormula":{"description":"A data source formula.","type":"object","properties":{"dataExecutionStatus":{"$ref":"#/components/schemas/sheets_v4_DataExecutionStatus"},"dataSourceId":{"description":"The ID of the data source the formula is associated with.","type":"string"}}},"sheets_v4_BandedRange":{"description":"A banded (alternating colors) range in a sheet.","type":"object","properties":{"bandedRangeReference":{"description":"Output only. The reference of the banded range, used to identify the ID that is not supported by the banded_range_id.","readOnly":true,"type":"string"},"range":{"$ref":"#/components/schemas/sheets_v4_GridRange"},"bandedRangeId":{"description":"The ID of the banded range. If unset, refer to banded_range_reference.","format":"int32","type":"integer"},"rowProperties":{"$ref":"#/components/schemas/sheets_v4_BandingProperties"},"columnProperties":{"$ref":"#/components/schemas/sheets_v4_BandingProperties"}}},"sheets_v4_UpdateConditionalFormatRuleResponse":{"description":"The result of updating a conditional format rule.","type":"object","properties":{"newRule":{"$ref":"#/components/schemas/sheets_v4_ConditionalFormatRule"},"newIndex":{"description":"The index of the new rule.","format":"int32","type":"integer"},"oldRule":{"$ref":"#/components/schemas/sheets_v4_ConditionalFormatRule"},"oldIndex":{"description":"The old index of the rule. Not set if a rule was replaced (because it is the same as new_index).","format":"int32","type":"integer"}}},"sheets_v4_AddSheetResponse":{"description":"The result of adding a sheet.","type":"object","properties":{"properties":{"$ref":"#/components/schemas/sheets_v4_SheetProperties"}}},"sheets_v4_AddNamedRangeResponse":{"description":"The result of adding a named range.","type":"object","properties":{"namedRange":{"$ref":"#/components/schemas/sheets_v4_NamedRange"}}},"sheets_v4_TrimWhitespaceResponse":{"description":"The result of trimming whitespace in cells.","type":"object","properties":{"cellsChangedCount":{"description":"The number of cells that were trimmed of whitespace.","format":"int32","type":"integer"}}},"sheets_v4_Color":{"description":"Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page doesn't have information about the absolute color space that should be used to interpret the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most `1e-5`. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ...","type":"object","properties":{"blue":{"description":"The amount of blue in the color as a value in the interval [0, 1].","format":"float","type":"number"},"red":{"description":"The amount of red in the color as a value in the interval [0, 1].","format":"float","type":"number"},"green":{"description":"The amount of green in the color as a value in the interval [0, 1].","format":"float","type":"number"},"alpha":{"description":"The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by the equation: `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color. This uses a wrapper message rather than a simple float scalar so that it is possible to distinguish between a default value and the value being unset. If omitted, this color object is rendered as a solid color (as if the alpha value had been explicitly given a value of 1.0).","format":"float","type":"number"}}},"sheets_v4_ErrorValue":{"description":"An error in a cell.","type":"object","properties":{"type":{"description":"The type of error.","enum":["ERROR_TYPE_UNSPECIFIED","ERROR","NULL_VALUE","DIVIDE_BY_ZERO","VALUE","REF","NAME","NUM","N_A","LOADING"],"type":"string"},"message":{"description":"A message with more information about the error (in the spreadsheet's locale).","type":"string"}}},"sheets_v4_BatchUpdateValuesRequest":{"description":"The request for updating more than one range of values in a spreadsheet.","type":"object","properties":{"responseDateTimeRenderOption":{"description":"Determines 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.","enum":["SERIAL_NUMBER","FORMATTED_STRING"],"type":"string"},"responseValueRenderOption":{"description":"Determines how values in the response should be rendered. The default render option is FORMATTED_VALUE.","enum":["FORMATTED_VALUE","UNFORMATTED_VALUE","FORMULA"],"type":"string"},"includeValuesInResponse":{"description":"Determines 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).","type":"boolean"},"data":{"description":"The new values to apply to the spreadsheet.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_ValueRange"}},"valueInputOption":{"description":"How the input data should be interpreted.","enum":["INPUT_VALUE_OPTION_UNSPECIFIED","RAW","USER_ENTERED"],"type":"string"}}},"sheets_v4_OrgChartSpec":{"description":"An org chart. Org charts require a unique set of labels in labels and may optionally include parent_labels and tooltips. parent_labels contain, for each node, the label identifying the parent node. tooltips contain, for each node, an optional tooltip. For example, to describe an OrgChart with Alice as the CEO, Bob as the President (reporting to Alice) and Cathy as VP of Sales (also reporting to Alice), have labels contain \"Alice\", \"Bob\", \"Cathy\", parent_labels contain \"\", \"Alice\", \"Alice\" and tooltips contain \"CEO\", \"President\", \"VP Sales\".","type":"object","properties":{"nodeColorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"},"labels":{"$ref":"#/components/schemas/sheets_v4_ChartData"},"nodeColor":{"$ref":"#/components/schemas/sheets_v4_Color"},"selectedNodeColorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"},"selectedNodeColor":{"$ref":"#/components/schemas/sheets_v4_Color"},"tooltips":{"$ref":"#/components/schemas/sheets_v4_ChartData"},"nodeSize":{"description":"The size of the org chart nodes.","enum":["ORG_CHART_LABEL_SIZE_UNSPECIFIED","SMALL","MEDIUM","LARGE"],"type":"string"},"parentLabels":{"$ref":"#/components/schemas/sheets_v4_ChartData"}}},"sheets_v4_CancelDataSourceRefreshStatus":{"description":"The status of cancelling a single data source object refresh.","type":"object","properties":{"reference":{"$ref":"#/components/schemas/sheets_v4_DataSourceObjectReference"},"refreshCancellationStatus":{"$ref":"#/components/schemas/sheets_v4_RefreshCancellationStatus"}}},"sheets_v4_DeleteFilterViewRequest":{"description":"Deletes a particular filter view.","type":"object","properties":{"filterId":{"description":"The ID of the filter to delete.","format":"int32","type":"integer"}}},"sheets_v4_DataSourceRefreshDailySchedule":{"description":"A schedule for data to refresh every day in a given time interval.","type":"object","properties":{"startTime":{"$ref":"#/components/schemas/sheets_v4_TimeOfDay"}}},"sheets_v4_HistogramRule":{"description":"Allows you to organize the numeric values in a source data column into buckets of a constant size. All values from HistogramRule.start to HistogramRule.end are placed into groups of size HistogramRule.interval. In addition, all values below HistogramRule.start are placed in one group, and all values above HistogramRule.end are placed in another. Only HistogramRule.interval is required, though if HistogramRule.start and HistogramRule.end are both provided, HistogramRule.start must be less than HistogramRule.end. For example, a pivot table showing average purchase amount by age that has 50+ rows: +-----+-------------------+ | Age | AVERAGE of Amount | +-----+-------------------+ | 16 | $27.13 | | 17 | $5.24 | | 18 | $20.15 | ... +-----+-------------------+ could be turned into a pivot table that looks like the one below by applying a histogram group rule with a HistogramRule.start of 25, an HistogramRule.interval of 20, and an HistogramRule.end of 65. +-------------+-------------------+ | Grouped Age | AVERAGE of Amount | +-------------+-------------------+ | < 25 | $19.34 | | 25-45 | $31.43 | | 45-65 | $35.87 | | > 65 | $27.55 | +-------------+-------------------+ | Grand Total | $29.12 | +-------------+-------------------+","type":"object","properties":{"start":{"description":"The minimum value at which items are placed into buckets of constant size. Values below start are lumped into a single bucket. This field is optional.","format":"double","type":"number"},"end":{"description":"The maximum value at which items are placed into buckets of constant size. Values above end are lumped into a single bucket. This field is optional.","format":"double","type":"number"},"interval":{"description":"The size of the buckets that are created. Must be positive.","format":"double","type":"number"}}},"sheets_v4_WaterfallChartDomain":{"description":"The domain of a waterfall chart.","type":"object","properties":{"reversed":{"description":"True to reverse the order of the domain values (horizontal axis).","type":"boolean"},"data":{"$ref":"#/components/schemas/sheets_v4_ChartData"}}},"sheets_v4_DataSourceChartProperties":{"description":"Properties of a data source chart.","type":"object","properties":{"dataSourceId":{"description":"ID of the data source that the chart is associated with.","type":"string"},"dataExecutionStatus":{"$ref":"#/components/schemas/sheets_v4_DataExecutionStatus"}}},"sheets_v4_BatchGetValuesResponse":{"description":"The response when retrieving more than one range of values in a spreadsheet.","type":"object","properties":{"valueRanges":{"description":"The requested values. The order of the ValueRanges is the same as the order of the requested ranges.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_ValueRange"}},"spreadsheetId":{"description":"The ID of the spreadsheet the data was retrieved from.","type":"string"}}},"sheets_v4_SpreadsheetTheme":{"description":"Represents spreadsheet theme","type":"object","properties":{"primaryFontFamily":{"description":"Name of the primary font family.","type":"string"},"themeColors":{"description":"The spreadsheet theme color pairs. To update you must provide all theme color pairs.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_ThemeColorPair"}}}},"sheets_v4_TableColumnProperties":{"description":"The table column.","type":"object","properties":{"columnType":{"description":"The column type.","enum":["COLUMN_TYPE_UNSPECIFIED","DOUBLE","CURRENCY","PERCENT","DATE","TIME","DATE_TIME","TEXT","BOOLEAN","DROPDOWN","FILES_CHIP","PEOPLE_CHIP","FINANCE_CHIP","PLACE_CHIP","RATINGS_CHIP"],"type":"string"},"dataValidationRule":{"$ref":"#/components/schemas/sheets_v4_TableColumnDataValidationRule"},"columnIndex":{"description":"The 0-based column index. This index is relative to its position in the table and is not necessarily the same as the column index in the sheet.","format":"int32","type":"integer"},"columnName":{"description":"The column name.","type":"string"}}},"sheets_v4_FindReplaceResponse":{"description":"The result of the find/replace.","type":"object","properties":{"valuesChanged":{"description":"The number of non-formula cells changed.","format":"int32","type":"integer"},"rowsChanged":{"description":"The number of rows changed.","format":"int32","type":"integer"},"formulasChanged":{"description":"The number of formula cells changed.","format":"int32","type":"integer"},"occurrencesChanged":{"description":"The number of occurrences (possibly multiple within a cell) changed. For example, if replacing `\"e\"` with `\"o\"` in `\"Google Sheets\"`, this would be `\"3\"` because `\"Google Sheets\"` -> `\"Googlo Shoots\"`.","format":"int32","type":"integer"},"sheetsChanged":{"description":"The number of sheets changed.","format":"int32","type":"integer"}}},"sheets_v4_ManualRule":{"description":"Allows you to manually organize the values in a source data column into buckets with names of your choosing. For example, a pivot table that aggregates population by state: +-------+-------------------+ | State | SUM of Population | +-------+-------------------+ | AK | 0.7 | | AL | 4.8 | | AR | 2.9 | ... +-------+-------------------+ could be turned into a pivot table that aggregates population by time zone by providing a list of groups (for example, groupName = 'Central', items = ['AL', 'AR', 'IA', ...]) to a manual group rule. Note that a similar effect could be achieved by adding a time zone column to the source data and adjusting the pivot table. +-----------+-------------------+ | Time Zone | SUM of Population | +-----------+-------------------+ | Central | 106.3 | | Eastern | 151.9 | | Mountain | 17.4 | ... +-----------+-------------------+","type":"object","properties":{"groups":{"description":"The list of group names and the corresponding items from the source data that map to each group name.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_ManualRuleGroup"}}}},"sheets_v4_MatchedValueRange":{"description":"A value range that was matched by one or more data filers.","type":"object","properties":{"valueRange":{"$ref":"#/components/schemas/sheets_v4_ValueRange"},"dataFilters":{"description":"The DataFilters from the request that matched the range of values.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_DataFilter"}}}},"sheets_v4_RefreshDataSourceRequest":{"description":"Refreshes one or multiple data source objects in the spreadsheet by the specified references. The request requires an additional `bigquery.readonly` OAuth scope if you are refreshing a BigQuery data source. If there are multiple refresh requests referencing the same data source objects in one batch, only the last refresh request is processed, and all those requests will have the same response accordingly.","type":"object","properties":{"force":{"description":"Refreshes the data source objects regardless of the current state. If not set and a referenced data source object was in error state, the refresh will fail immediately.","type":"boolean"},"dataSourceId":{"description":"Reference to a DataSource. If specified, refreshes all associated data source objects for the data source.","type":"string"},"references":{"$ref":"#/components/schemas/sheets_v4_DataSourceObjectReferences"},"isAll":{"description":"Refreshes all existing data source objects in the spreadsheet.","type":"boolean"}}},"sheets_v4_UpdateDimensionGroupRequest":{"description":"Updates the state of the specified group.","type":"object","properties":{"fields":{"description":"The fields that should be updated. At least one field must be specified. The root `dimensionGroup` is implied and should not be specified. A single `\"*\"` can be used as short-hand for listing every field.","format":"google-fieldmask","type":"string"},"dimensionGroup":{"$ref":"#/components/schemas/sheets_v4_DimensionGroup"}}},"sheets_v4_SearchDeveloperMetadataResponse":{"description":"A reply to a developer metadata search request.","type":"object","properties":{"matchedDeveloperMetadata":{"description":"The metadata matching the criteria of the search request.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_MatchedDeveloperMetadata"}}}},"sheets_v4_GridProperties":{"description":"Properties of a grid.","type":"object","properties":{"rowGroupControlAfter":{"description":"True if the row grouping control toggle is shown after the group.","type":"boolean"},"frozenRowCount":{"description":"The number of rows that are frozen in the grid.","format":"int32","type":"integer"},"rowCount":{"description":"The number of rows in the grid.","format":"int32","type":"integer"},"hideGridlines":{"description":"True if the grid isn't showing gridlines in the UI.","type":"boolean"},"columnGroupControlAfter":{"description":"True if the column grouping control toggle is shown after the group.","type":"boolean"},"columnCount":{"description":"The number of columns in the grid.","format":"int32","type":"integer"},"frozenColumnCount":{"description":"The number of columns that are frozen in the grid.","format":"int32","type":"integer"}}},"sheets_v4_DataSourceRefreshSchedule":{"description":"Schedule for refreshing the data source. Data sources in the spreadsheet are refreshed within a time interval. You can specify the start time by clicking the Scheduled Refresh button in the Sheets editor, but the interval is fixed at 4 hours. For example, if you specify a start time of 8 AM , the refresh will take place between 8 AM and 12 PM every day.","type":"object","properties":{"refreshScope":{"description":"The scope of the refresh. Must be ALL_DATA_SOURCES.","enum":["DATA_SOURCE_REFRESH_SCOPE_UNSPECIFIED","ALL_DATA_SOURCES"],"type":"string"},"weeklySchedule":{"$ref":"#/components/schemas/sheets_v4_DataSourceRefreshWeeklySchedule"},"monthlySchedule":{"$ref":"#/components/schemas/sheets_v4_DataSourceRefreshMonthlySchedule"},"dailySchedule":{"$ref":"#/components/schemas/sheets_v4_DataSourceRefreshDailySchedule"},"enabled":{"description":"True if the refresh schedule is enabled, or false otherwise.","type":"boolean"},"nextRun":{"$ref":"#/components/schemas/sheets_v4_Interval"}}},"sheets_v4_AddSlicerResponse":{"description":"The result of adding a slicer to a spreadsheet.","type":"object","properties":{"slicer":{"$ref":"#/components/schemas/sheets_v4_Slicer"}}},"sheets_v4_CandlestickChartSpec":{"description":"A candlestick chart.","type":"object","properties":{"domain":{"$ref":"#/components/schemas/sheets_v4_CandlestickDomain"},"data":{"description":"The Candlestick chart data. Only one CandlestickData is supported.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_CandlestickData"}}}},"sheets_v4_SortRangeRequest":{"description":"Sorts data in rows based on a sort order per column.","type":"object","properties":{"sortSpecs":{"description":"The sort order per column. Later specifications are used when values are equal in the earlier specifications.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_SortSpec"}},"range":{"$ref":"#/components/schemas/sheets_v4_GridRange"}}},"sheets_v4_BigQueryQuerySpec":{"description":"Specifies a custom BigQuery query.","type":"object","properties":{"rawQuery":{"description":"The raw query string.","type":"string"}}},"sheets_v4_BasicChartDomain":{"description":"The domain of a chart. For example, if charting stock prices over time, this would be the date.","type":"object","properties":{"reversed":{"description":"True to reverse the order of the domain values (horizontal axis).","type":"boolean"},"domain":{"$ref":"#/components/schemas/sheets_v4_ChartData"}}},"sheets_v4_WaterfallChartCustomSubtotal":{"description":"A custom subtotal column for a waterfall chart series.","type":"object","properties":{"label":{"description":"A label for the subtotal column.","type":"string"},"dataIsSubtotal":{"description":"True if the data point at subtotal_index is the subtotal. If false, the subtotal will be computed and appear after the data point.","type":"boolean"},"subtotalIndex":{"description":"The zero-based index of a data point within the series. If data_is_subtotal is true, the data point at this index is the subtotal. Otherwise, the subtotal appears after the data point with this index. A series can have multiple subtotals at arbitrary indices, but subtotals do not affect the indices of the data points. For example, if a series has three data points, their indices will always be 0, 1, and 2, regardless of how many subtotals exist on the series or what data points they are associated with.","format":"int32","type":"integer"}}},"sheets_v4_WaterfallChartSeries":{"description":"A single series of data for a waterfall chart.","type":"object","properties":{"subtotalColumnsStyle":{"$ref":"#/components/schemas/sheets_v4_WaterfallChartColumnStyle"},"customSubtotals":{"description":"Custom subtotal columns appearing in this series. The order in which subtotals are defined is not significant. Only one subtotal may be defined for each data point.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_WaterfallChartCustomSubtotal"}},"data":{"$ref":"#/components/schemas/sheets_v4_ChartData"},"positiveColumnsStyle":{"$ref":"#/components/schemas/sheets_v4_WaterfallChartColumnStyle"},"dataLabel":{"$ref":"#/components/schemas/sheets_v4_DataLabel"},"hideTrailingSubtotal":{"description":"True to hide the subtotal column from the end of the series. By default, a subtotal column will appear at the end of each series. Setting this field to true will hide that subtotal column for this series.","type":"boolean"},"negativeColumnsStyle":{"$ref":"#/components/schemas/sheets_v4_WaterfallChartColumnStyle"}}},"sheets_v4_RandomizeRangeRequest":{"description":"Randomizes the order of the rows in a range.","type":"object","properties":{"range":{"$ref":"#/components/schemas/sheets_v4_GridRange"}}},"sheets_v4_WaterfallChartSpec":{"description":"A waterfall chart.","type":"object","properties":{"domain":{"$ref":"#/components/schemas/sheets_v4_WaterfallChartDomain"},"series":{"description":"The data this waterfall chart is visualizing.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_WaterfallChartSeries"}},"hideConnectorLines":{"description":"True to hide connector lines between columns.","type":"boolean"},"connectorLineStyle":{"$ref":"#/components/schemas/sheets_v4_LineStyle"},"totalDataLabel":{"$ref":"#/components/schemas/sheets_v4_DataLabel"},"stackedType":{"description":"The stacked type.","enum":["WATERFALL_STACKED_TYPE_UNSPECIFIED","STACKED","SEQUENTIAL"],"type":"string"},"firstValueIsTotal":{"description":"True to interpret the first value as a total.","type":"boolean"}}},"sheets_v4_BatchGetValuesByDataFilterRequest":{"description":"The request for retrieving a range of values in a spreadsheet selected by a set of DataFilters.","type":"object","properties":{"dataFilters":{"description":"The data filters used to match the ranges of values to retrieve. Ranges that match any of the specified data filters are included in the response.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_DataFilter"}},"dateTimeRenderOption":{"description":"How 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.","enum":["SERIAL_NUMBER","FORMATTED_STRING"],"type":"string"},"valueRenderOption":{"description":"How values should be represented in the output. The default render option is FORMATTED_VALUE.","enum":["FORMATTED_VALUE","UNFORMATTED_VALUE","FORMULA"],"type":"string"},"majorDimension":{"description":"The major dimension that results should use. For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, then a request that selects that range and sets `majorDimension=ROWS` returns `[[1,2],[3,4]]`, whereas a request that sets `majorDimension=COLUMNS` returns `[[1,3],[2,4]]`.","enum":["DIMENSION_UNSPECIFIED","ROWS","COLUMNS"],"type":"string"}}},"sheets_v4_UpdateDeveloperMetadataResponse":{"description":"The response from updating developer metadata.","type":"object","properties":{"developerMetadata":{"description":"The updated developer metadata.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_DeveloperMetadata"}}}},"sheets_v4_MoveDimensionRequest":{"description":"Moves one or more rows or columns.","type":"object","properties":{"source":{"$ref":"#/components/schemas/sheets_v4_DimensionRange"},"destinationIndex":{"description":"The zero-based start index of where to move the source data to, based on the coordinates *before* the source data is removed from the grid. Existing data will be shifted down or right (depending on the dimension) to make room for the moved dimensions. The source dimensions are removed from the grid, so the the data may end up in a different index than specified. For example, given `A1..A5` of `0, 1, 2, 3, 4` and wanting to move `\"1\"` and `\"2\"` to between `\"3\"` and `\"4\"`, the source would be `ROWS [1..3)`,and the destination index would be `\"4\"` (the zero-based index of row 5). The end result would be `A1..A5` of `0, 3, 1, 2, 4`.","format":"int32","type":"integer"}}},"sheets_v4_InsertRangeRequest":{"description":"Inserts cells into a range, shifting the existing cells over or down.","type":"object","properties":{"shiftDimension":{"description":"The dimension which will be shifted when inserting cells. If ROWS, existing cells will be shifted down. If COLUMNS, existing cells will be shifted right.","enum":["DIMENSION_UNSPECIFIED","ROWS","COLUMNS"],"type":"string"},"range":{"$ref":"#/components/schemas/sheets_v4_GridRange"}}},"sheets_v4_AddProtectedRangeResponse":{"description":"The result of adding a new protected range.","type":"object","properties":{"protectedRange":{"$ref":"#/components/schemas/sheets_v4_ProtectedRange"}}},"sheets_v4_AddDimensionGroupResponse":{"description":"The result of adding a group.","type":"object","properties":{"dimensionGroups":{"description":"All groups of a dimension after adding a group to that dimension.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_DimensionGroup"}}}},"sheets_v4_CellData":{"description":"Data about a specific cell.","type":"object","properties":{"userEnteredFormat":{"$ref":"#/components/schemas/sheets_v4_CellFormat"},"textFormatRuns":{"description":"Runs of rich text applied to subsections of the cell. Runs are only valid on user entered strings, not formulas, bools, or numbers. Properties of a run start at a specific index in the text and continue until the next run. Runs will inherit the properties of the cell unless explicitly changed. When writing, the new runs will overwrite any prior runs. When writing a new user_entered_value, previous runs are erased.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_TextFormatRun"}},"dataSourceTable":{"$ref":"#/components/schemas/sheets_v4_DataSourceTable"},"chipRuns":{"description":"Optional. Runs of chips applied to subsections of the cell. Properties of a run start at a specific index in the text and continue until the next run. When reading, all chipped and non-chipped runs are included. Non-chipped runs will have an empty Chip. When writing, only runs with chips are included. Runs containing chips are of length 1 and are represented in the user-entered text by an “@” placeholder symbol. New runs will overwrite any prior runs. Writing a new user_entered_value will erase previous runs.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_ChipRun"}},"hyperlink":{"description":"A hyperlink this cell points to, if any. If the cell contains multiple hyperlinks, this field will be empty. This field is read-only. To set it, use a `=HYPERLINK` formula in the userEnteredValue.formulaValue field. A cell-level link can also be set from the userEnteredFormat.textFormat field. Alternatively, set a hyperlink in the textFormatRun.format.link field that spans the entire cell.","type":"string"},"dataSourceFormula":{"$ref":"#/components/schemas/sheets_v4_DataSourceFormula"},"note":{"description":"Any note on the cell.","type":"string"},"effectiveFormat":{"$ref":"#/components/schemas/sheets_v4_CellFormat"},"formattedValue":{"description":"The formatted value of the cell. This is the value as it's shown to the user. This field is read-only.","type":"string"},"effectiveValue":{"$ref":"#/components/schemas/sheets_v4_ExtendedValue"},"pivotTable":{"$ref":"#/components/schemas/sheets_v4_PivotTable"},"dataValidation":{"$ref":"#/components/schemas/sheets_v4_DataValidationRule"},"userEnteredValue":{"$ref":"#/components/schemas/sheets_v4_ExtendedValue"}}},"sheets_v4_BigQueryDataSourceSpec":{"description":"The specification of a BigQuery data source that's connected to a sheet.","type":"object","properties":{"tableSpec":{"$ref":"#/components/schemas/sheets_v4_BigQueryTableSpec"},"querySpec":{"$ref":"#/components/schemas/sheets_v4_BigQueryQuerySpec"},"projectId":{"description":"The ID of a BigQuery enabled Google Cloud project with a billing account attached. For any queries executed against the data source, the project is charged.","type":"string"}}},"sheets_v4_PivotGroupSortValueBucket":{"description":"Information about which values in a pivot group should be used for sorting.","type":"object","properties":{"valuesIndex":{"description":"The offset in the PivotTable.values list which the values in this grouping should be sorted by.","format":"int32","type":"integer"},"buckets":{"description":"Determines the bucket from which values are chosen to sort. For example, in a pivot table with one row group & two column groups, the row group can list up to two values. The first value corresponds to a value within the first column group, and the second value corresponds to a value in the second column group. If no values are listed, this would indicate that the row should be sorted according to the \"Grand Total\" over the column groups. If a single value is listed, this would correspond to using the \"Total\" of that bucket.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_ExtendedValue"}}}},"sheets_v4_TimeOfDay":{"description":"Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.","type":"object","properties":{"hours":{"description":"Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.","format":"int32","type":"integer"},"nanos":{"description":"Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.","format":"int32","type":"integer"},"minutes":{"description":"Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.","format":"int32","type":"integer"},"seconds":{"description":"Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.","format":"int32","type":"integer"}}},"sheets_v4_TextFormat":{"description":"The format of a run of text in a cell. Absent values indicate that the field isn't specified.","type":"object","properties":{"fontFamily":{"description":"The font family.","type":"string"},"strikethrough":{"description":"True if the text has a strikethrough.","type":"boolean"},"fontSize":{"description":"The size of the font.","format":"int32","type":"integer"},"italic":{"description":"True if the text is italicized.","type":"boolean"},"bold":{"description":"True if the text is bold.","type":"boolean"},"link":{"$ref":"#/components/schemas/sheets_v4_Link"},"foregroundColor":{"$ref":"#/components/schemas/sheets_v4_Color"},"underline":{"description":"True if the text is underlined.","type":"boolean"},"foregroundColorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"}}},"sheets_v4_DuplicateSheetResponse":{"description":"The result of duplicating a sheet.","type":"object","properties":{"properties":{"$ref":"#/components/schemas/sheets_v4_SheetProperties"}}},"sheets_v4_DataValidationRule":{"description":"A data validation rule.","type":"object","properties":{"strict":{"description":"True if invalid data should be rejected.","type":"boolean"},"inputMessage":{"description":"A message to show the user when adding data to the cell.","type":"string"},"condition":{"$ref":"#/components/schemas/sheets_v4_BooleanCondition"},"showCustomUi":{"description":"True if the UI should be customized based on the kind of condition. If true, \"List\" conditions will show a dropdown.","type":"boolean"}}},"sheets_v4_AddFilterViewResponse":{"description":"The result of adding a filter view.","type":"object","properties":{"filter":{"$ref":"#/components/schemas/sheets_v4_FilterView"}}},"sheets_v4_PivotGroupLimit":{"description":"The count limit on rows or columns in the pivot group.","type":"object","properties":{"countLimit":{"description":"The count limit.","format":"int32","type":"integer"},"applyOrder":{"description":"The order in which the group limit is applied to the pivot table. Pivot group limits are applied from lower to higher order number. Order numbers are normalized to consecutive integers from 0. For write request, to fully customize the applying orders, all pivot group limits should have this field set with an unique number. Otherwise, the order is determined by the index in the PivotTable.rows list and then the PivotTable.columns list.","format":"int32","type":"integer"}}},"sheets_v4_GridData":{"description":"Data in the grid, as well as metadata about the dimensions.","type":"object","properties":{"startRow":{"description":"The first row this GridData refers to, zero-based.","format":"int32","type":"integer"},"rowMetadata":{"description":"Metadata about the requested rows in the grid, starting with the row in start_row.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_DimensionProperties"}},"rowData":{"description":"The data in the grid, one entry per row, starting with the row in startRow. The values in RowData will correspond to columns starting at start_column.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_RowData"}},"startColumn":{"description":"The first column this GridData refers to, zero-based.","format":"int32","type":"integer"},"columnMetadata":{"description":"Metadata about the requested columns in the grid, starting with the column in start_column.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_DimensionProperties"}}}},"sheets_v4_DataSourceSpec":{"description":"This specifies the details of the data source. For example, for BigQuery, this specifies information about the BigQuery source.","type":"object","properties":{"looker":{"$ref":"#/components/schemas/sheets_v4_LookerDataSourceSpec"},"parameters":{"description":"The parameters of the data source, used when querying the data source.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_DataSourceParameter"}},"bigQuery":{"$ref":"#/components/schemas/sheets_v4_BigQueryDataSourceSpec"}}},"sheets_v4_AutoResizeDimensionsRequest":{"description":"Automatically resizes one or more dimensions based on the contents of the cells in that dimension.","type":"object","properties":{"dataSourceSheetDimensions":{"$ref":"#/components/schemas/sheets_v4_DataSourceSheetDimensionRange"},"dimensions":{"$ref":"#/components/schemas/sheets_v4_DimensionRange"}}},"sheets_v4_DeleteBandingRequest":{"description":"Removes the banded range with the given ID from the spreadsheet.","type":"object","properties":{"bandedRangeId":{"description":"The ID of the banded range to delete.","format":"int32","type":"integer"}}},"sheets_v4_FilterCriteria":{"description":"Criteria for showing or hiding rows in a filter or filter view.","type":"object","properties":{"condition":{"$ref":"#/components/schemas/sheets_v4_BooleanCondition"},"visibleForegroundColorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"},"visibleBackgroundColorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"},"visibleBackgroundColor":{"$ref":"#/components/schemas/sheets_v4_Color"},"visibleForegroundColor":{"$ref":"#/components/schemas/sheets_v4_Color"},"hiddenValues":{"description":"Values that should be hidden.","type":"array","items":{"type":"string"}}}},"sheets_v4_SearchDeveloperMetadataRequest":{"description":"A request to retrieve all developer metadata matching the set of specified criteria.","type":"object","properties":{"dataFilters":{"description":"The data filters describing the criteria used to determine which DeveloperMetadata entries to return. DeveloperMetadata matching any of the specified filters are included in the response.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_DataFilter"}}}},"sheets_v4_DataSourceObjectReferences":{"description":"A list of references to data source objects.","type":"object","properties":{"references":{"description":"The references.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_DataSourceObjectReference"}}}},"sheets_v4_DimensionRange":{"description":"A range along a single dimension on a sheet. All indexes are zero-based. Indexes are half open: the start index is inclusive and the end index is exclusive. Missing indexes indicate the range is unbounded on that side.","type":"object","properties":{"endIndex":{"description":"The end (exclusive) of the span, or not set if unbounded.","format":"int32","type":"integer"},"sheetId":{"description":"The sheet this span is on.","format":"int32","type":"integer"},"startIndex":{"description":"The start (inclusive) of the span, or not set if unbounded.","format":"int32","type":"integer"},"dimension":{"description":"The dimension of the span.","enum":["DIMENSION_UNSPECIFIED","ROWS","COLUMNS"],"type":"string"}}},"sheets_v4_ProtectedRange":{"description":"A protected range.","type":"object","properties":{"requestingUserCanEdit":{"description":"True if the user who requested this protected range can edit the protected area. This field is read-only.","type":"boolean"},"warningOnly":{"description":"True if this protected range will show a warning when editing. Warning-based protection means that every user can edit data in the protected range, except editing will prompt a warning asking the user to confirm the edit. When writing: if this field is true, then editors are ignored. Additionally, if this field is changed from true to false and the `editors` field is not set (nor included in the field mask), then the editors will be set to all the editors in the document.","type":"boolean"},"range":{"$ref":"#/components/schemas/sheets_v4_GridRange"},"tableId":{"description":"The table this protected range is backed by, if any. When writing, only one of range or named_range_id or table_id may be set.","type":"string"},"namedRangeId":{"description":"The named range this protected range is backed by, if any. When writing, only one of range or named_range_id or table_id may be set.","type":"string"},"unprotectedRanges":{"description":"The list of unprotected ranges within a protected sheet. Unprotected ranges are only supported on protected sheets.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_GridRange"}},"editors":{"$ref":"#/components/schemas/sheets_v4_Editors"},"protectedRangeId":{"description":"The ID of the protected range. This field is read-only.","format":"int32","type":"integer"},"description":{"description":"The description of this protected range.","type":"string"}}},"sheets_v4_TextPosition":{"description":"Position settings for text.","type":"object","properties":{"horizontalAlignment":{"description":"Horizontal alignment setting for the piece of text.","enum":["HORIZONTAL_ALIGN_UNSPECIFIED","LEFT","CENTER","RIGHT"],"type":"string"}}},"sheets_v4_UpdateEmbeddedObjectBorderRequest":{"description":"Updates an embedded object's border property.","type":"object","properties":{"border":{"$ref":"#/components/schemas/sheets_v4_EmbeddedObjectBorder"},"objectId":{"description":"The ID of the embedded object to update.","format":"int32","type":"integer"},"fields":{"description":"The fields that should be updated. At least one field must be specified. The root `border` is implied and should not be specified. A single `\"*\"` can be used as short-hand for listing every field.","format":"google-fieldmask","type":"string"}}},"sheets_v4_DataSourceParameter":{"description":"A parameter in a data source's query. The parameter allows the user to pass in values from the spreadsheet into a query.","type":"object","properties":{"name":{"description":"Named parameter. Must be a legitimate identifier for the DataSource that supports it. For example, [BigQuery identifier](https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical#identifiers).","type":"string"},"namedRangeId":{"description":"ID of a NamedRange. Its size must be 1x1.","type":"string"},"range":{"$ref":"#/components/schemas/sheets_v4_GridRange"}}},"sheets_v4_Link":{"description":"An external or local reference.","type":"object","properties":{"uri":{"description":"The link identifier.","type":"string"}}},"sheets_v4_DeveloperMetadata":{"description":"Developer metadata associated with a location or object in a spreadsheet. For more information, see [Read, write, and search metadata](https://developers.google.com/workspace/sheets/api/guides/metadata). Developer metadata may be used to associate arbitrary data with various parts of a spreadsheet and it will remain associated at those locations as they move around and the spreadsheet is edited. For example, if developer metadata is associated with row 5 and another row is then subsequently inserted above row 5, that original metadata is still associated with the row it was first associated with (what is now row 6). If the associated object is deleted then its metadata is deleted too.","type":"object","properties":{"metadataValue":{"description":"Data associated with the metadata's key.","type":"string"},"location":{"$ref":"#/components/schemas/sheets_v4_DeveloperMetadataLocation"},"metadataKey":{"description":"The metadata key. There may be multiple metadata in a spreadsheet with the same key. Developer metadata must always have a key specified.","type":"string"},"visibility":{"description":"The metadata visibility. Developer metadata must always have visibility specified.","enum":["DEVELOPER_METADATA_VISIBILITY_UNSPECIFIED","DOCUMENT","PROJECT"],"type":"string"},"metadataId":{"description":"The spreadsheet-scoped unique ID that identifies the metadata. IDs may be specified when metadata is created, otherwise one will be randomly generated and assigned. Must be positive.","format":"int32","type":"integer"}}},"sheets_v4_ChipRun":{"description":"The run of a chip. The chip continues until the start index of the next run.","type":"object","properties":{"startIndex":{"description":"Required. The zero-based character index where this run starts, in UTF-16 code units.","format":"int32","type":"integer"},"chip":{"$ref":"#/components/schemas/sheets_v4_Chip"}}},"sheets_v4_AddNamedRangeRequest":{"description":"Adds a named range to the spreadsheet.","type":"object","properties":{"namedRange":{"$ref":"#/components/schemas/sheets_v4_NamedRange"}}},"sheets_v4_AddChartResponse":{"description":"The result of adding a chart to a spreadsheet.","type":"object","properties":{"chart":{"$ref":"#/components/schemas/sheets_v4_EmbeddedChart"}}},"sheets_v4_BatchGetValuesByDataFilterResponse":{"description":"The response when retrieving more than one range of values in a spreadsheet selected by DataFilters.","type":"object","properties":{"valueRanges":{"description":"The requested values with the list of data filters that matched them.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_MatchedValueRange"}},"spreadsheetId":{"description":"The ID of the spreadsheet the data was retrieved from.","type":"string"}}},"sheets_v4_TrimWhitespaceRequest":{"description":"Trims the whitespace (such as spaces, tabs, or new lines) in every cell in the specified range. This request removes all whitespace from the start and end of each cell's text, and reduces any subsequence of remaining whitespace characters to a single space. If the resulting trimmed text starts with a '+' or '=' character, the text remains as a string value and isn't interpreted as a formula.","type":"object","properties":{"range":{"$ref":"#/components/schemas/sheets_v4_GridRange"}}},"sheets_v4_BandingProperties":{"description":"Properties referring a single dimension (either row or column). If both BandedRange.row_properties and BandedRange.column_properties are set, the fill colors are applied to cells according to the following rules: * header_color and footer_color take priority over band colors. * first_band_color takes priority over second_band_color. * row_properties takes priority over column_properties. For example, the first row color takes priority over the first column color, but the first column color takes priority over the second row color. Similarly, the row header takes priority over the column header in the top left cell, but the column header takes priority over the first row color if the row header is not set.","type":"object","properties":{"headerColor":{"$ref":"#/components/schemas/sheets_v4_Color"},"footerColor":{"$ref":"#/components/schemas/sheets_v4_Color"},"secondBandColorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"},"firstBandColor":{"$ref":"#/components/schemas/sheets_v4_Color"},"firstBandColorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"},"headerColorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"},"secondBandColor":{"$ref":"#/components/schemas/sheets_v4_Color"},"footerColorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"}}},"sheets_v4_UpdateDataSourceResponse":{"description":"The response from updating data source.","type":"object","properties":{"dataSource":{"$ref":"#/components/schemas/sheets_v4_DataSource"},"dataExecutionStatus":{"$ref":"#/components/schemas/sheets_v4_DataExecutionStatus"}}},"sheets_v4_CandlestickDomain":{"description":"The domain of a CandlestickChart.","type":"object","properties":{"data":{"$ref":"#/components/schemas/sheets_v4_ChartData"},"reversed":{"description":"True to reverse the order of the domain values (horizontal axis).","type":"boolean"}}},"sheets_v4_BatchUpdateValuesByDataFilterRequest":{"description":"The request for updating more than one range of values in a spreadsheet.","type":"object","properties":{"valueInputOption":{"description":"How the input data should be interpreted.","enum":["INPUT_VALUE_OPTION_UNSPECIFIED","RAW","USER_ENTERED"],"type":"string"},"responseDateTimeRenderOption":{"description":"Determines 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.","enum":["SERIAL_NUMBER","FORMATTED_STRING"],"type":"string"},"data":{"description":"The new values to apply to the spreadsheet. If more than one range is matched by the specified DataFilter the specified values are applied to all of those ranges.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_DataFilterValueRange"}},"includeValuesInResponse":{"description":"Determines 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).","type":"boolean"},"responseValueRenderOption":{"description":"Determines how values in the response should be rendered. The default render option is FORMATTED_VALUE.","enum":["FORMATTED_VALUE","UNFORMATTED_VALUE","FORMULA"],"type":"string"}}},"sheets_v4_GradientRule":{"description":"A rule that applies a gradient color scale format, based on the interpolation points listed. The format of a cell will vary based on its contents as compared to the values of the interpolation points.","type":"object","properties":{"minpoint":{"$ref":"#/components/schemas/sheets_v4_InterpolationPoint"},"midpoint":{"$ref":"#/components/schemas/sheets_v4_InterpolationPoint"},"maxpoint":{"$ref":"#/components/schemas/sheets_v4_InterpolationPoint"}}},"sheets_v4_Request":{"description":"A single kind of update to apply to a spreadsheet.","type":"object","properties":{"deleteDimension":{"$ref":"#/components/schemas/sheets_v4_DeleteDimensionRequest"},"insertDimension":{"$ref":"#/components/schemas/sheets_v4_InsertDimensionRequest"},"clearBasicFilter":{"$ref":"#/components/schemas/sheets_v4_ClearBasicFilterRequest"},"createDeveloperMetadata":{"$ref":"#/components/schemas/sheets_v4_CreateDeveloperMetadataRequest"},"addNamedRange":{"$ref":"#/components/schemas/sheets_v4_AddNamedRangeRequest"},"addFilterView":{"$ref":"#/components/schemas/sheets_v4_AddFilterViewRequest"},"updateSlicerSpec":{"$ref":"#/components/schemas/sheets_v4_UpdateSlicerSpecRequest"},"appendCells":{"$ref":"#/components/schemas/sheets_v4_AppendCellsRequest"},"duplicateFilterView":{"$ref":"#/components/schemas/sheets_v4_DuplicateFilterViewRequest"},"addBanding":{"$ref":"#/components/schemas/sheets_v4_AddBandingRequest"},"deleteConditionalFormatRule":{"$ref":"#/components/schemas/sheets_v4_DeleteConditionalFormatRuleRequest"},"trimWhitespace":{"$ref":"#/components/schemas/sheets_v4_TrimWhitespaceRequest"},"updateDeveloperMetadata":{"$ref":"#/components/schemas/sheets_v4_UpdateDeveloperMetadataRequest"},"updateDimensionGroup":{"$ref":"#/components/schemas/sheets_v4_UpdateDimensionGroupRequest"},"appendDimension":{"$ref":"#/components/schemas/sheets_v4_AppendDimensionRequest"},"addProtectedRange":{"$ref":"#/components/schemas/sheets_v4_AddProtectedRangeRequest"},"autoResizeDimensions":{"$ref":"#/components/schemas/sheets_v4_AutoResizeDimensionsRequest"},"repeatCell":{"$ref":"#/components/schemas/sheets_v4_RepeatCellRequest"},"updateFilterView":{"$ref":"#/components/schemas/sheets_v4_UpdateFilterViewRequest"},"addSlicer":{"$ref":"#/components/schemas/sheets_v4_AddSlicerRequest"},"deleteDataSource":{"$ref":"#/components/schemas/sheets_v4_DeleteDataSourceRequest"},"updateSpreadsheetProperties":{"$ref":"#/components/schemas/sheets_v4_UpdateSpreadsheetPropertiesRequest"},"textToColumns":{"$ref":"#/components/schemas/sheets_v4_TextToColumnsRequest"},"cutPaste":{"$ref":"#/components/schemas/sheets_v4_CutPasteRequest"},"duplicateSheet":{"$ref":"#/components/schemas/sheets_v4_DuplicateSheetRequest"},"addDimensionGroup":{"$ref":"#/components/schemas/sheets_v4_AddDimensionGroupRequest"},"updateConditionalFormatRule":{"$ref":"#/components/schemas/sheets_v4_UpdateConditionalFormatRuleRequest"},"setDataValidation":{"$ref":"#/components/schemas/sheets_v4_SetDataValidationRequest"},"pasteData":{"$ref":"#/components/schemas/sheets_v4_PasteDataRequest"},"updateBanding":{"$ref":"#/components/schemas/sheets_v4_UpdateBandingRequest"},"moveDimension":{"$ref":"#/components/schemas/sheets_v4_MoveDimensionRequest"},"updateNamedRange":{"$ref":"#/components/schemas/sheets_v4_UpdateNamedRangeRequest"},"setBasicFilter":{"$ref":"#/components/schemas/sheets_v4_SetBasicFilterRequest"},"deleteFilterView":{"$ref":"#/components/schemas/sheets_v4_DeleteFilterViewRequest"},"deleteDeveloperMetadata":{"$ref":"#/components/schemas/sheets_v4_DeleteDeveloperMetadataRequest"},"deleteNamedRange":{"$ref":"#/components/schemas/sheets_v4_DeleteNamedRangeRequest"},"deleteSheet":{"$ref":"#/components/schemas/sheets_v4_DeleteSheetRequest"},"addConditionalFormatRule":{"$ref":"#/components/schemas/sheets_v4_AddConditionalFormatRuleRequest"},"autoFill":{"$ref":"#/components/schemas/sheets_v4_AutoFillRequest"},"updateProtectedRange":{"$ref":"#/components/schemas/sheets_v4_UpdateProtectedRangeRequest"},"copyPaste":{"$ref":"#/components/schemas/sheets_v4_CopyPasteRequest"},"deleteEmbeddedObject":{"$ref":"#/components/schemas/sheets_v4_DeleteEmbeddedObjectRequest"},"deleteBanding":{"$ref":"#/components/schemas/sheets_v4_DeleteBandingRequest"},"updateEmbeddedObjectPosition":{"$ref":"#/components/schemas/sheets_v4_UpdateEmbeddedObjectPositionRequest"},"updateBorders":{"$ref":"#/components/schemas/sheets_v4_UpdateBordersRequest"},"unmergeCells":{"$ref":"#/components/schemas/sheets_v4_UnmergeCellsRequest"},"deleteTable":{"$ref":"#/components/schemas/sheets_v4_DeleteTableRequest"},"mergeCells":{"$ref":"#/components/schemas/sheets_v4_MergeCellsRequest"},"randomizeRange":{"$ref":"#/components/schemas/sheets_v4_RandomizeRangeRequest"},"deleteDimensionGroup":{"$ref":"#/components/schemas/sheets_v4_DeleteDimensionGroupRequest"},"insertRange":{"$ref":"#/components/schemas/sheets_v4_InsertRangeRequest"},"updateTable":{"$ref":"#/components/schemas/sheets_v4_UpdateTableRequest"},"addSheet":{"$ref":"#/components/schemas/sheets_v4_AddSheetRequest"},"updateDimensionProperties":{"$ref":"#/components/schemas/sheets_v4_UpdateDimensionPropertiesRequest"},"updateCells":{"$ref":"#/components/schemas/sheets_v4_UpdateCellsRequest"},"addTable":{"$ref":"#/components/schemas/sheets_v4_AddTableRequest"},"updateChartSpec":{"$ref":"#/components/schemas/sheets_v4_UpdateChartSpecRequest"},"sortRange":{"$ref":"#/components/schemas/sheets_v4_SortRangeRequest"},"deleteProtectedRange":{"$ref":"#/components/schemas/sheets_v4_DeleteProtectedRangeRequest"},"deleteDuplicates":{"$ref":"#/components/schemas/sheets_v4_DeleteDuplicatesRequest"},"updateSheetProperties":{"$ref":"#/components/schemas/sheets_v4_UpdateSheetPropertiesRequest"},"deleteRange":{"$ref":"#/components/schemas/sheets_v4_DeleteRangeRequest"},"updateEmbeddedObjectBorder":{"$ref":"#/components/schemas/sheets_v4_UpdateEmbeddedObjectBorderRequest"},"findReplace":{"$ref":"#/components/schemas/sheets_v4_FindReplaceRequest"},"addChart":{"$ref":"#/components/schemas/sheets_v4_AddChartRequest"}}},"sheets_v4_AppendCellsRequest":{"description":"Adds new cells after the last row with data in a sheet, inserting new rows into the sheet if necessary.","type":"object","properties":{"sheetId":{"description":"The sheet ID to append the data to.","format":"int32","type":"integer"},"rows":{"description":"The data to append.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_RowData"}},"fields":{"description":"The fields of CellData that should be updated. At least one field must be specified. The root is the CellData; 'row.values.' should not be specified. A single `\"*\"` can be used as short-hand for listing every field.","format":"google-fieldmask","type":"string"},"tableId":{"description":"The ID of the table to append data to. The data will be only appended to the table body. This field also takes precedence over the `sheet_id` field.","type":"string"}}},"sheets_v4_AddDataSourceResponse":{"description":"The result of adding a data source.","type":"object","properties":{"dataExecutionStatus":{"$ref":"#/components/schemas/sheets_v4_DataExecutionStatus"},"dataSource":{"$ref":"#/components/schemas/sheets_v4_DataSource"}}},"sheets_v4_UpdateTableRequest":{"description":"Updates a table in the spreadsheet.","type":"object","properties":{"table":{"$ref":"#/components/schemas/sheets_v4_Table"},"fields":{"description":"Required. The fields that should be updated. At least one field must be specified. The root `table` is implied and should not be specified. A single `\"*\"` can be used as short-hand for listing every field.","format":"google-fieldmask","type":"string"}}},"sheets_v4_TextRotation":{"description":"The rotation applied to text in a cell.","type":"object","properties":{"vertical":{"description":"If true, text reads top to bottom, but the orientation of individual characters is unchanged. For example: | V | | e | | r | | t | | i | | c | | a | | l |","type":"boolean"},"angle":{"description":"The angle between the standard orientation and the desired orientation. Measured in degrees. Valid values are between -90 and 90. Positive angles are angled upwards, negative are angled downwards. Note: For LTR text direction positive angles are in the counterclockwise direction, whereas for RTL they are in the clockwise direction","format":"int32","type":"integer"}}},"sheets_v4_UpdateProtectedRangeRequest":{"description":"Updates an existing protected range with the specified protectedRangeId.","type":"object","properties":{"protectedRange":{"$ref":"#/components/schemas/sheets_v4_ProtectedRange"},"fields":{"description":"The fields that should be updated. At least one field must be specified. The root `protectedRange` is implied and should not be specified. A single `\"*\"` can be used as short-hand for listing every field.","format":"google-fieldmask","type":"string"}}},"sheets_v4_ChartHistogramRule":{"description":"Allows you to organize numeric values in a source data column into buckets of constant size.","type":"object","properties":{"maxValue":{"description":"The maximum value at which items are placed into buckets. Values greater than the maximum are grouped into a single bucket. If omitted, it is determined by the maximum item value.","format":"double","type":"number"},"intervalSize":{"description":"The size of the buckets that are created. Must be positive.","format":"double","type":"number"},"minValue":{"description":"The minimum value at which items are placed into buckets. Values that are less than the minimum are grouped into a single bucket. If omitted, it is determined by the minimum item value.","format":"double","type":"number"}}},"sheets_v4_DeleteDeveloperMetadataResponse":{"description":"The response from deleting developer metadata.","type":"object","properties":{"deletedDeveloperMetadata":{"description":"The metadata that was deleted.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_DeveloperMetadata"}}}},"sheets_v4_AddDimensionGroupRequest":{"description":"Creates a group over the specified range. If the requested range is a superset of the range of an existing group G, then the depth of G is incremented and this new group G' has the depth of that group. For example, a group [C:D, depth 1] + [B:E] results in groups [B:E, depth 1] and [C:D, depth 2]. If the requested range is a subset of the range of an existing group G, then the depth of the new group G' becomes one greater than the depth of G. For example, a group [B:E, depth 1] + [C:D] results in groups [B:E, depth 1] and [C:D, depth 2]. If the requested range starts before and ends within, or starts within and ends after, the range of an existing group G, then the range of the existing group G becomes the union of the ranges, and the new group G' has depth one greater than the depth of G and range as the intersection of the ranges. For example, a group [B:D, depth 1] + [C:E] results in groups [B:E, depth 1] and [C:D, depth 2].","type":"object","properties":{"range":{"$ref":"#/components/schemas/sheets_v4_DimensionRange"}}},"sheets_v4_ChartAxisViewWindowOptions":{"description":"The options that define a \"view window\" for a chart (such as the visible values in an axis).","type":"object","properties":{"viewWindowMax":{"description":"The maximum numeric value to be shown in this view window. If unset, will automatically determine a maximum value that looks good for the data.","format":"double","type":"number"},"viewWindowMode":{"description":"The view window's mode.","enum":["DEFAULT_VIEW_WINDOW_MODE","VIEW_WINDOW_MODE_UNSUPPORTED","EXPLICIT","PRETTY"],"type":"string"},"viewWindowMin":{"description":"The minimum numeric value to be shown in this view window. If unset, will automatically determine a minimum value that looks good for the data.","format":"double","type":"number"}}},"sheets_v4_ChartSourceRange":{"description":"Source ranges for a chart.","type":"object","properties":{"sources":{"description":"The ranges of data for a series or domain. Exactly one dimension must have a length of 1, and all sources in the list must have the same dimension with length 1. The domain (if it exists) & all series must have the same number of source ranges. If using more than one source range, then the source range at a given offset must be in order and contiguous across the domain and series. For example, these are valid configurations: domain sources: A1:A5 series1 sources: B1:B5 series2 sources: D6:D10 domain sources: A1:A5, C10:C12 series1 sources: B1:B5, D10:D12 series2 sources: C1:C5, E10:E12","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_GridRange"}}}},"sheets_v4_RowData":{"description":"Data about each cell in a row.","type":"object","properties":{"values":{"description":"The values in the row, one per column.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_CellData"}}}},"sheets_v4_DeleteTableRequest":{"description":"Removes the table with the given ID from the spreadsheet.","type":"object","properties":{"tableId":{"description":"The ID of the table to delete.","type":"string"}}},"sheets_v4_ChartDateTimeRule":{"description":"Allows you to organize the date-time values in a source data column into buckets based on selected parts of their date or time values.","type":"object","properties":{"type":{"description":"The type of date-time grouping to apply.","enum":["CHART_DATE_TIME_RULE_TYPE_UNSPECIFIED","SECOND","MINUTE","HOUR","HOUR_MINUTE","HOUR_MINUTE_AMPM","DAY_OF_WEEK","DAY_OF_YEAR","DAY_OF_MONTH","DAY_MONTH","MONTH","QUARTER","YEAR","YEAR_MONTH","YEAR_QUARTER","YEAR_MONTH_DAY"],"type":"string"}}},"sheets_v4_Spreadsheet":{"description":"Resource that represents a spreadsheet.","type":"object","properties":{"namedRanges":{"description":"The named ranges defined in a spreadsheet.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_NamedRange"}},"properties":{"$ref":"#/components/schemas/sheets_v4_SpreadsheetProperties"},"developerMetadata":{"description":"The developer metadata associated with a spreadsheet.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_DeveloperMetadata"}},"spreadsheetUrl":{"description":"The url of the spreadsheet. This field is read-only.","type":"string"},"spreadsheetId":{"description":"The ID of the spreadsheet. This field is read-only.","type":"string"},"dataSourceSchedules":{"description":"Output only. A list of data source refresh schedules.","readOnly":true,"type":"array","items":{"$ref":"#/components/schemas/sheets_v4_DataSourceRefreshSchedule"}},"dataSources":{"description":"A list of external data sources connected with the spreadsheet.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_DataSource"}},"sheets":{"description":"The sheets that are part of a spreadsheet.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_Sheet"}}}},"sheets_v4_ChartCustomNumberFormatOptions":{"description":"Custom number formatting options for chart attributes.","type":"object","properties":{"prefix":{"description":"Custom prefix to be prepended to the chart attribute. This field is optional.","type":"string"},"suffix":{"description":"Custom suffix to be appended to the chart attribute. This field is optional.","type":"string"}}},"sheets_v4_SheetProperties":{"description":"Properties of a sheet.","type":"object","properties":{"index":{"description":"The index of the sheet within the spreadsheet. When adding or updating sheet properties, if this field is excluded then the sheet is added or moved to the end of the sheet list. When updating sheet indices or inserting sheets, movement is considered in \"before the move\" indexes. For example, if there were three sheets (S1, S2, S3) in order to move S1 ahead of S2 the index would have to be set to 2. A sheet index update request is ignored if the requested index is identical to the sheets current index or if the requested new index is equal to the current sheet index + 1.","format":"int32","type":"integer"},"gridProperties":{"$ref":"#/components/schemas/sheets_v4_GridProperties"},"sheetId":{"description":"The ID of the sheet. Must be non-negative. This field cannot be changed once set.","format":"int32","type":"integer"},"sheetType":{"description":"The type of sheet. Defaults to GRID. This field cannot be changed once set.","enum":["SHEET_TYPE_UNSPECIFIED","GRID","OBJECT","DATA_SOURCE"],"type":"string"},"tabColorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"},"rightToLeft":{"description":"True if the sheet is an RTL sheet instead of an LTR sheet.","type":"boolean"},"title":{"description":"The name of the sheet.","type":"string"},"dataSourceSheetProperties":{"$ref":"#/components/schemas/sheets_v4_DataSourceSheetProperties"},"hidden":{"description":"True if the sheet is hidden in the UI, false if it's visible.","type":"boolean"},"tabColor":{"$ref":"#/components/schemas/sheets_v4_Color"}}},"sheets_v4_DataSourceColumn":{"description":"A column in a data source.","type":"object","properties":{"reference":{"$ref":"#/components/schemas/sheets_v4_DataSourceColumnReference"},"formula":{"description":"The formula of the calculated column.","type":"string"}}},"sheets_v4_RefreshDataSourceObjectExecutionStatus":{"description":"The execution status of refreshing one data source object.","type":"object","properties":{"dataExecutionStatus":{"$ref":"#/components/schemas/sheets_v4_DataExecutionStatus"},"reference":{"$ref":"#/components/schemas/sheets_v4_DataSourceObjectReference"}}},"sheets_v4_RefreshCancellationStatus":{"description":"The status of a refresh cancellation. You can send a cancel request to explicitly cancel one or multiple data source object refreshes.","type":"object","properties":{"state":{"description":"The state of a call to cancel a refresh in Sheets.","enum":["REFRESH_CANCELLATION_STATE_UNSPECIFIED","CANCEL_SUCCEEDED","CANCEL_FAILED"],"type":"string"},"errorCode":{"description":"The error code.","enum":["REFRESH_CANCELLATION_ERROR_CODE_UNSPECIFIED","EXECUTION_NOT_FOUND","CANCEL_PERMISSION_DENIED","QUERY_EXECUTION_COMPLETED","CONCURRENT_CANCELLATION","CANCEL_OTHER_ERROR"],"type":"string"}}},"sheets_v4_AddProtectedRangeRequest":{"description":"Adds a new protected range.","type":"object","properties":{"protectedRange":{"$ref":"#/components/schemas/sheets_v4_ProtectedRange"}}},"sheets_v4_EmbeddedObjectPosition":{"description":"The position of an embedded object such as a chart.","type":"object","properties":{"overlayPosition":{"$ref":"#/components/schemas/sheets_v4_OverlayPosition"},"newSheet":{"description":"If true, the embedded object is put on a new sheet whose ID is chosen for you. Used only when writing.","type":"boolean"},"sheetId":{"description":"The sheet this is on. Set only if the embedded object is on its own sheet. Must be non-negative.","format":"int32","type":"integer"}}},"sheets_v4_Editors":{"description":"The editors of a protected range.","type":"object","properties":{"domainUsersCanEdit":{"description":"True if anyone in the document's domain has edit access to the protected range. Domain protection is only supported on documents within a domain.","type":"boolean"},"users":{"description":"The email addresses of users with edit access to the protected range.","type":"array","items":{"type":"string"}},"groups":{"description":"The email addresses of groups with edit access to the protected range.","type":"array","items":{"type":"string"}}}},"sheets_v4_ExtendedValue":{"description":"The kinds of value that a cell in a spreadsheet can have.","type":"object","properties":{"stringValue":{"description":"Represents a string value. Leading single quotes are not included. For example, if the user typed `'123` into the UI, this would be represented as a `stringValue` of `\"123\"`.","type":"string"},"boolValue":{"description":"Represents a boolean value.","type":"boolean"},"errorValue":{"$ref":"#/components/schemas/sheets_v4_ErrorValue"},"numberValue":{"description":"Represents a double value. Note: Dates, Times and DateTimes are represented as doubles in SERIAL_NUMBER format.","format":"double","type":"number"},"formulaValue":{"description":"Represents a formula.","type":"string"}}},"sheets_v4_DataExecutionStatus":{"description":"The data execution status. A data execution is created to sync a data source object with the latest data from a DataSource. It is usually scheduled to run at background, you can check its state to tell if an execution completes There are several scenarios where a data execution is triggered to run: * Adding a data source creates an associated data source sheet as well as a data execution to sync the data from the data source to the sheet. * Updating a data source creates a data execution to refresh the associated data source sheet similarly. * You can send refresh request to explicitly refresh one or multiple data source objects.","type":"object","properties":{"lastRefreshTime":{"description":"Gets the time the data last successfully refreshed.","format":"google-datetime","type":"string"},"errorMessage":{"description":"The error message, which may be empty.","type":"string"},"errorCode":{"description":"The error code.","enum":["DATA_EXECUTION_ERROR_CODE_UNSPECIFIED","TIMED_OUT","TOO_MANY_ROWS","TOO_MANY_COLUMNS","TOO_MANY_CELLS","ENGINE","PARAMETER_INVALID","UNSUPPORTED_DATA_TYPE","DUPLICATE_COLUMN_NAMES","INTERRUPTED","CONCURRENT_QUERY","OTHER","TOO_MANY_CHARS_PER_CELL","DATA_NOT_FOUND","PERMISSION_DENIED","MISSING_COLUMN_ALIAS","OBJECT_NOT_FOUND","OBJECT_IN_ERROR_STATE","OBJECT_SPEC_INVALID","DATA_EXECUTION_CANCELLED"],"type":"string"},"state":{"description":"The state of the data execution.","enum":["DATA_EXECUTION_STATE_UNSPECIFIED","NOT_STARTED","RUNNING","CANCELLING","SUCCEEDED","FAILED"],"type":"string"}}},"sheets_v4_ClearValuesRequest":{"description":"The request for clearing a range of values in a spreadsheet.","type":"object"},"sheets_v4_DeleteProtectedRangeRequest":{"description":"Deletes the protected range with the given ID.","type":"object","properties":{"protectedRangeId":{"description":"The ID of the protected range to delete.","format":"int32","type":"integer"}}},"sheets_v4_DataFilterValueRange":{"description":"A range of values whose location is specified by a DataFilter.","type":"object","properties":{"values":{"description":"The data to be written. If the provided values exceed any of the ranges matched by the data filter then the request fails. If the provided values are less than the matched ranges only the specified values are written, existing values in the matched ranges remain unaffected.","type":"array","items":{"type":"array","items":{}}},"dataFilter":{"$ref":"#/components/schemas/sheets_v4_DataFilter"},"majorDimension":{"description":"The major dimension of the values.","enum":["DIMENSION_UNSPECIFIED","ROWS","COLUMNS"],"type":"string"}}},"sheets_v4_DataSource":{"description":"Information about an external data source in the spreadsheet.","type":"object","properties":{"calculatedColumns":{"description":"All calculated columns in the data source.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_DataSourceColumn"}},"sheetId":{"description":"The ID of the Sheet connected with the data source. The field cannot be changed once set. When creating a data source, an associated DATA_SOURCE sheet is also created, if the field is not specified, the ID of the created sheet will be randomly generated.","format":"int32","type":"integer"},"spec":{"$ref":"#/components/schemas/sheets_v4_DataSourceSpec"},"dataSourceId":{"description":"The spreadsheet-scoped unique ID that identifies the data source. Example: 1080547365.","type":"string"}}},"sheets_v4_DeleteDataSourceRequest":{"description":"Deletes a data source. The request also deletes the associated data source sheet, and unlinks all associated data source objects.","type":"object","properties":{"dataSourceId":{"description":"The ID of the data source to delete.","type":"string"}}},"sheets_v4_LookerDataSourceSpec":{"description":"The specification of a Looker data source.","type":"object","properties":{"explore":{"description":"Name of a Looker model explore.","type":"string"},"instanceUri":{"description":"A Looker instance URL.","type":"string"},"model":{"description":"Name of a Looker model.","type":"string"}}},"sheets_v4_BatchUpdateValuesResponse":{"description":"The response when updating a range of values in a spreadsheet.","type":"object","properties":{"spreadsheetId":{"description":"The spreadsheet the updates were applied to.","type":"string"},"responses":{"description":"One UpdateValuesResponse per requested range, in the same order as the requests appeared.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_UpdateValuesResponse"}},"totalUpdatedSheets":{"description":"The total number of sheets where at least one cell in the sheet was updated.","format":"int32","type":"integer"},"totalUpdatedColumns":{"description":"The total number of columns where at least one cell in the column was updated.","format":"int32","type":"integer"},"totalUpdatedCells":{"description":"The total number of cells updated.","format":"int32","type":"integer"},"totalUpdatedRows":{"description":"The total number of rows where at least one cell in the row was updated.","format":"int32","type":"integer"}}},"sheets_v4_DimensionProperties":{"description":"Properties about a dimension.","type":"object","properties":{"hiddenByFilter":{"description":"True if this dimension is being filtered. This field is read-only.","type":"boolean"},"hiddenByUser":{"description":"True if this dimension is explicitly hidden.","type":"boolean"},"dataSourceColumnReference":{"$ref":"#/components/schemas/sheets_v4_DataSourceColumnReference"},"pixelSize":{"description":"The height (if a row) or width (if a column) of the dimension in pixels.","format":"int32","type":"integer"},"developerMetadata":{"description":"The developer metadata associated with a single row or column.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_DeveloperMetadata"}}}},"sheets_v4_TextFormatRun":{"description":"A run of a text format. The format of this run continues until the start index of the next run. When updating, all fields must be set.","type":"object","properties":{"format":{"$ref":"#/components/schemas/sheets_v4_TextFormat"},"startIndex":{"description":"The zero-based character index where this run starts, in UTF-16 code units.","format":"int32","type":"integer"}}},"sheets_v4_BatchClearValuesResponse":{"description":"The response when clearing a range of values in a spreadsheet.","type":"object","properties":{"spreadsheetId":{"description":"The spreadsheet the updates were applied to.","type":"string"},"clearedRanges":{"description":"The ranges that were cleared, in A1 notation. If the requests are for an unbounded range or a range larger than the bounds of the sheet, this is the actual ranges that were cleared, bounded to the sheet's limits.","type":"array","items":{"type":"string"}}}},"sheets_v4_Borders":{"description":"The borders of the cell.","type":"object","properties":{"top":{"$ref":"#/components/schemas/sheets_v4_Border"},"right":{"$ref":"#/components/schemas/sheets_v4_Border"},"left":{"$ref":"#/components/schemas/sheets_v4_Border"},"bottom":{"$ref":"#/components/schemas/sheets_v4_Border"}}},"sheets_v4_BatchUpdateValuesByDataFilterResponse":{"description":"The response when updating a range of values in a spreadsheet.","type":"object","properties":{"totalUpdatedCells":{"description":"The total number of cells updated.","format":"int32","type":"integer"},"totalUpdatedSheets":{"description":"The total number of sheets where at least one cell in the sheet was updated.","format":"int32","type":"integer"},"spreadsheetId":{"description":"The spreadsheet the updates were applied to.","type":"string"},"totalUpdatedRows":{"description":"The total number of rows where at least one cell in the row was updated.","format":"int32","type":"integer"},"totalUpdatedColumns":{"description":"The total number of columns where at least one cell in the column was updated.","format":"int32","type":"integer"},"responses":{"description":"The response for each range updated.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_UpdateValuesByDataFilterResponse"}}}},"sheets_v4_Border":{"description":"A border along a cell.","type":"object","properties":{"width":{"description":"The width of the border, in pixels. Deprecated; the width is determined by the \"style\" field.","format":"int32","type":"integer"},"style":{"description":"The style of the border.","enum":["STYLE_UNSPECIFIED","DOTTED","DASHED","SOLID","SOLID_MEDIUM","SOLID_THICK","NONE","DOUBLE"],"type":"string"},"colorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"},"color":{"$ref":"#/components/schemas/sheets_v4_Color"}}},"sheets_v4_PivotFilterSpec":{"description":"The pivot table filter criteria associated with a specific source column offset.","type":"object","properties":{"columnOffsetIndex":{"description":"The zero-based column offset of the source range.","format":"int32","type":"integer"},"filterCriteria":{"$ref":"#/components/schemas/sheets_v4_PivotFilterCriteria"},"dataSourceColumnReference":{"$ref":"#/components/schemas/sheets_v4_DataSourceColumnReference"}}},"sheets_v4_SetDataValidationRequest":{"description":"Sets a data validation rule to every cell in the range. To clear validation in a range, call this with no rule specified.","type":"object","properties":{"range":{"$ref":"#/components/schemas/sheets_v4_GridRange"},"filteredRowsIncluded":{"description":"Optional. If true, the data validation rule will be applied to the filtered rows as well.","type":"boolean"},"rule":{"$ref":"#/components/schemas/sheets_v4_DataValidationRule"}}},"sheets_v4_PasteDataRequest":{"description":"Inserts data into the spreadsheet starting at the specified coordinate.","type":"object","properties":{"type":{"description":"How the data should be pasted.","enum":["PASTE_NORMAL","PASTE_VALUES","PASTE_FORMAT","PASTE_NO_BORDERS","PASTE_FORMULA","PASTE_DATA_VALIDATION","PASTE_CONDITIONAL_FORMATTING"],"type":"string"},"data":{"description":"The data to insert.","type":"string"},"delimiter":{"description":"The delimiter in the data.","type":"string"},"html":{"description":"True if the data is HTML.","type":"boolean"},"coordinate":{"$ref":"#/components/schemas/sheets_v4_GridCoordinate"}}},"sheets_v4_BigQueryTableSpec":{"description":"Specifies a BigQuery table definition. Only [native tables](https://cloud.google.com/bigquery/docs/tables-intro) are allowed.","type":"object","properties":{"tableProjectId":{"description":"The ID of a BigQuery project the table belongs to. If not specified, the project_id is assumed.","type":"string"},"tableId":{"description":"The BigQuery table id.","type":"string"},"datasetId":{"description":"The BigQuery dataset id.","type":"string"}}},"sheets_v4_GridCoordinate":{"description":"A coordinate in a sheet. All indexes are zero-based.","type":"object","properties":{"columnIndex":{"description":"The column index of the coordinate.","format":"int32","type":"integer"},"sheetId":{"description":"The sheet this coordinate is on.","format":"int32","type":"integer"},"rowIndex":{"description":"The row index of the coordinate.","format":"int32","type":"integer"}}},"sheets_v4_DeleteDimensionGroupResponse":{"description":"The result of deleting a group.","type":"object","properties":{"dimensionGroups":{"description":"All groups of a dimension after deleting a group from that dimension.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_DimensionGroup"}}}},"sheets_v4_DataSourceSheetDimensionRange":{"description":"A range along a single dimension on a DATA_SOURCE sheet.","type":"object","properties":{"sheetId":{"description":"The ID of the data source sheet the range is on.","format":"int32","type":"integer"},"columnReferences":{"description":"The columns on the data source sheet.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_DataSourceColumnReference"}}}},"sheets_v4_InsertDimensionRequest":{"description":"Inserts rows or columns in a sheet at a particular index.","type":"object","properties":{"inheritFromBefore":{"description":"Whether dimension properties should be extended from the dimensions before or after the newly inserted dimensions. True to inherit from the dimensions before (in which case the start index must be greater than 0), and false to inherit from the dimensions after. For example, if row index 0 has red background and row index 1 has a green background, then inserting 2 rows at index 1 can inherit either the green or red background. If `inheritFromBefore` is true, the two new rows will be red (because the row before the insertion point was red), whereas if `inheritFromBefore` is false, the two new rows will be green (because the row after the insertion point was green).","type":"boolean"},"range":{"$ref":"#/components/schemas/sheets_v4_DimensionRange"}}},"sheets_v4_HistogramChartSpec":{"description":"A histogram chart. A histogram chart groups data items into bins, displaying each bin as a column of stacked items. Histograms are used to display the distribution of a dataset. Each column of items represents a range into which those items fall. The number of bins can be chosen automatically or specified explicitly.","type":"object","properties":{"series":{"description":"The series for a histogram may be either a single series of values to be bucketed or multiple series, each of the same length, containing the name of the series followed by the values to be bucketed for that series.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_HistogramSeries"}},"bucketSize":{"description":"By default the bucket size (the range of values stacked in a single column) is chosen automatically, but it may be overridden here. E.g., A bucket size of 1.5 results in buckets from 0 - 1.5, 1.5 - 3.0, etc. Cannot be negative. This field is optional.","format":"double","type":"number"},"showItemDividers":{"description":"Whether horizontal divider lines should be displayed between items in each column.","type":"boolean"},"legendPosition":{"description":"The position of the chart legend.","enum":["HISTOGRAM_CHART_LEGEND_POSITION_UNSPECIFIED","BOTTOM_LEGEND","LEFT_LEGEND","RIGHT_LEGEND","TOP_LEGEND","NO_LEGEND","INSIDE_LEGEND"],"type":"string"},"outlierPercentile":{"description":"The outlier percentile is used to ensure that outliers do not adversely affect the calculation of bucket sizes. For example, setting an outlier percentile of 0.05 indicates that the top and bottom 5% of values when calculating buckets. The values are still included in the chart, they will be added to the first or last buckets instead of their own buckets. Must be between 0.0 and 0.5.","format":"double","type":"number"}}},"sheets_v4_TreemapChartColorScale":{"description":"A color scale for a treemap chart.","type":"object","properties":{"minValueColor":{"$ref":"#/components/schemas/sheets_v4_Color"},"maxValueColor":{"$ref":"#/components/schemas/sheets_v4_Color"},"noDataColor":{"$ref":"#/components/schemas/sheets_v4_Color"},"noDataColorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"},"minValueColorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"},"midValueColorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"},"midValueColor":{"$ref":"#/components/schemas/sheets_v4_Color"},"maxValueColorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"}}},"sheets_v4_TableColumnDataValidationRule":{"description":"A data validation rule for a column in a table.","type":"object","properties":{"condition":{"$ref":"#/components/schemas/sheets_v4_BooleanCondition"}}},"sheets_v4_DataLabel":{"description":"Settings for one set of data labels. Data labels are annotations that appear next to a set of data, such as the points on a line chart, and provide additional information about what the data represents, such as a text representation of the value behind that point on the graph.","type":"object","properties":{"textFormat":{"$ref":"#/components/schemas/sheets_v4_TextFormat"},"customLabelData":{"$ref":"#/components/schemas/sheets_v4_ChartData"},"type":{"description":"The type of the data label.","enum":["DATA_LABEL_TYPE_UNSPECIFIED","NONE","DATA","CUSTOM"],"type":"string"},"placement":{"description":"The placement of the data label relative to the labeled data.","enum":["DATA_LABEL_PLACEMENT_UNSPECIFIED","CENTER","LEFT","RIGHT","ABOVE","BELOW","INSIDE_END","INSIDE_BASE","OUTSIDE_END"],"type":"string"}}},"sheets_v4_PivotTable":{"description":"A pivot table.","type":"object","properties":{"criteria":{"description":"An optional mapping of filters per source column offset. The filters are applied before aggregating data into the pivot table. The map's key is the column offset of the source range that you want to filter, and the value is the criteria for that column. For example, if the source was `C10:E15`, a key of `0` will have the filter for column `C`, whereas the key `1` is for column `D`. This field is deprecated in favor of filter_specs.","type":"object","additionalProperties":{"$ref":"#/components/schemas/sheets_v4_PivotFilterCriteria"}},"rows":{"description":"Each row grouping in the pivot table.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_PivotGroup"}},"dataExecutionStatus":{"$ref":"#/components/schemas/sheets_v4_DataExecutionStatus"},"valueLayout":{"description":"Whether values should be listed horizontally (as columns) or vertically (as rows).","enum":["HORIZONTAL","VERTICAL"],"type":"string"},"columns":{"description":"Each column grouping in the pivot table.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_PivotGroup"}},"dataSourceId":{"description":"The ID of the data source the pivot table is reading data from.","type":"string"},"source":{"$ref":"#/components/schemas/sheets_v4_GridRange"},"values":{"description":"A list of values to include in the pivot table.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_PivotValue"}},"filterSpecs":{"description":"The filters applied to the source columns before aggregating data for the pivot table. Both criteria and filter_specs are populated in responses. If both fields are specified in an update request, this field takes precedence.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_PivotFilterSpec"}}}},"sheets_v4_PivotValue":{"description":"The definition of how a value in a pivot table should be calculated.","type":"object","properties":{"sourceColumnOffset":{"description":"The column offset of the source range that this value reads from. For example, if the source was `C10:E15`, a `sourceColumnOffset` of `0` means this value refers to column `C`, whereas the offset `1` would refer to column `D`.","format":"int32","type":"integer"},"calculatedDisplayType":{"description":"If specified, indicates that pivot values should be displayed as the result of a calculation with another pivot value. For example, if calculated_display_type is specified as PERCENT_OF_GRAND_TOTAL, all the pivot values are displayed as the percentage of the grand total. In the Sheets editor, this is referred to as \"Show As\" in the value section of a pivot table.","enum":["PIVOT_VALUE_CALCULATED_DISPLAY_TYPE_UNSPECIFIED","PERCENT_OF_ROW_TOTAL","PERCENT_OF_COLUMN_TOTAL","PERCENT_OF_GRAND_TOTAL"],"type":"string"},"summarizeFunction":{"description":"A function to summarize the value. If formula is set, the only supported values are SUM and CUSTOM. If sourceColumnOffset is set, then `CUSTOM` is not supported.","enum":["PIVOT_STANDARD_VALUE_FUNCTION_UNSPECIFIED","SUM","COUNTA","COUNT","COUNTUNIQUE","AVERAGE","MAX","MIN","MEDIAN","PRODUCT","STDEV","STDEVP","VAR","VARP","CUSTOM","NONE"],"type":"string"},"formula":{"description":"A custom formula to calculate the value. The formula must start with an `=` character.","type":"string"},"name":{"description":"A name to use for the value.","type":"string"},"dataSourceColumnReference":{"$ref":"#/components/schemas/sheets_v4_DataSourceColumnReference"}}},"sheets_v4_CreateDeveloperMetadataRequest":{"description":"A request to create developer metadata.","type":"object","properties":{"developerMetadata":{"$ref":"#/components/schemas/sheets_v4_DeveloperMetadata"}}},"sheets_v4_TextToColumnsRequest":{"description":"Splits a column of text into multiple columns, based on a delimiter in each cell.","type":"object","properties":{"source":{"$ref":"#/components/schemas/sheets_v4_GridRange"},"delimiter":{"description":"The delimiter to use. Used only if delimiterType is CUSTOM.","type":"string"},"delimiterType":{"description":"The delimiter type to use.","enum":["DELIMITER_TYPE_UNSPECIFIED","COMMA","SEMICOLON","PERIOD","SPACE","CUSTOM","AUTODETECT"],"type":"string"}}},"sheets_v4_UpdateFilterViewRequest":{"description":"Updates properties of the filter view.","type":"object","properties":{"filter":{"$ref":"#/components/schemas/sheets_v4_FilterView"},"fields":{"description":"The fields that should be updated. At least one field must be specified. The root `filter` is implied and should not be specified. A single `\"*\"` can be used as short-hand for listing every field.","format":"google-fieldmask","type":"string"}}},"sheets_v4_SlicerSpec":{"description":"The specifications of a slicer.","type":"object","properties":{"backgroundColor":{"$ref":"#/components/schemas/sheets_v4_Color"},"filterCriteria":{"$ref":"#/components/schemas/sheets_v4_FilterCriteria"},"applyToPivotTables":{"description":"True if the filter should apply to pivot tables. If not set, default to `True`.","type":"boolean"},"textFormat":{"$ref":"#/components/schemas/sheets_v4_TextFormat"},"dataRange":{"$ref":"#/components/schemas/sheets_v4_GridRange"},"title":{"description":"The title of the slicer.","type":"string"},"backgroundColorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"},"horizontalAlignment":{"description":"The horizontal alignment of title in the slicer. If unspecified, defaults to `LEFT`","enum":["HORIZONTAL_ALIGN_UNSPECIFIED","LEFT","CENTER","RIGHT"],"type":"string"},"columnIndex":{"description":"The zero-based column index in the data table on which the filter is applied to.","format":"int32","type":"integer"}}},"sheets_v4_BatchUpdateSpreadsheetResponse":{"description":"The reply for batch updating a spreadsheet.","type":"object","properties":{"replies":{"description":"The reply of the updates. This maps 1:1 with the updates, although replies to some requests may be empty.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_Response"}},"spreadsheetId":{"description":"The spreadsheet the updates were applied to.","type":"string"},"updatedSpreadsheet":{"$ref":"#/components/schemas/sheets_v4_Spreadsheet"}}},"sheets_v4_InterpolationPoint":{"description":"A single interpolation point on a gradient conditional format. These pin the gradient color scale according to the color, type and value chosen.","type":"object","properties":{"type":{"description":"How the value should be interpreted.","enum":["INTERPOLATION_POINT_TYPE_UNSPECIFIED","MIN","MAX","NUMBER","PERCENT","PERCENTILE"],"type":"string"},"color":{"$ref":"#/components/schemas/sheets_v4_Color"},"value":{"description":"The value this interpolation point uses. May be a formula. Unused if type is MIN or MAX.","type":"string"},"colorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"}}},"sheets_v4_CopySheetToAnotherSpreadsheetRequest":{"description":"The request to copy a sheet across spreadsheets.","type":"object","properties":{"destinationSpreadsheetId":{"description":"The ID of the spreadsheet to copy the sheet to.","type":"string"}}},"sheets_v4_OverlayPosition":{"description":"The location an object is overlaid on top of a grid.","type":"object","properties":{"anchorCell":{"$ref":"#/components/schemas/sheets_v4_GridCoordinate"},"widthPixels":{"description":"The width of the object, in pixels. Defaults to 600.","format":"int32","type":"integer"},"offsetXPixels":{"description":"The horizontal offset, in pixels, that the object is offset from the anchor cell.","format":"int32","type":"integer"},"offsetYPixels":{"description":"The vertical offset, in pixels, that the object is offset from the anchor cell.","format":"int32","type":"integer"},"heightPixels":{"description":"The height of the object, in pixels. Defaults to 371.","format":"int32","type":"integer"}}},"sheets_v4_UpdateSpreadsheetPropertiesRequest":{"description":"Updates properties of a spreadsheet.","type":"object","properties":{"properties":{"$ref":"#/components/schemas/sheets_v4_SpreadsheetProperties"},"fields":{"description":"The fields that should be updated. At least one field must be specified. The root 'properties' is implied and should not be specified. A single `\"*\"` can be used as short-hand for listing every field.","format":"google-fieldmask","type":"string"}}},"sheets_v4_ThemeColorPair":{"description":"A pair mapping a spreadsheet theme color type to the concrete color it represents.","type":"object","properties":{"colorType":{"description":"The type of the spreadsheet theme color.","enum":["THEME_COLOR_TYPE_UNSPECIFIED","TEXT","BACKGROUND","ACCENT1","ACCENT2","ACCENT3","ACCENT4","ACCENT5","ACCENT6","LINK"],"type":"string"},"color":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"}}},"sheets_v4_LineStyle":{"description":"Properties that describe the style of a line.","type":"object","properties":{"width":{"description":"The thickness of the line, in px.","format":"int32","type":"integer"},"type":{"description":"The dash type of the line.","enum":["LINE_DASH_TYPE_UNSPECIFIED","INVISIBLE","CUSTOM","SOLID","DOTTED","MEDIUM_DASHED","MEDIUM_DASHED_DOTTED","LONG_DASHED","LONG_DASHED_DOTTED"],"type":"string"}}},"sheets_v4_Chip":{"description":"The Smart Chip.","type":"object","properties":{"richLinkProperties":{"$ref":"#/components/schemas/sheets_v4_RichLinkProperties"},"personProperties":{"$ref":"#/components/schemas/sheets_v4_PersonProperties"}}},"sheets_v4_RichLinkProperties":{"description":"Properties of a link to a Google resource (such as a file in Drive, a YouTube video, a Maps address, or a Calendar event). Only Drive files can be written as chips. All other rich link types are read only. URIs cannot exceed 2000 bytes when writing. NOTE: Writing Drive file chips requires at least one of the `drive.file`, `drive.readonly`, or `drive` OAuth scopes.","type":"object","properties":{"uri":{"description":"Required. The URI to the link. This is always present.","type":"string"},"mimeType":{"description":"Output only. The [MIME type](https://developers.google.com/drive/api/v3/mime-types) of the link, if there's one (for example, when it's a file in Drive).","readOnly":true,"type":"string"}}},"sheets_v4_DataSourceColumnReference":{"description":"An unique identifier that references a data source column.","type":"object","properties":{"name":{"description":"The display name of the column. It should be unique within a data source.","type":"string"}}},"sheets_v4_DataSourceSheetProperties":{"description":"Additional properties of a DATA_SOURCE sheet.","type":"object","properties":{"columns":{"description":"The columns displayed on the sheet, corresponding to the values in RowData.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_DataSourceColumn"}},"dataExecutionStatus":{"$ref":"#/components/schemas/sheets_v4_DataExecutionStatus"},"dataSourceId":{"description":"ID of the DataSource the sheet is connected to.","type":"string"}}},"sheets_v4_DataSourceObjectReference":{"description":"Reference to a data source object.","type":"object","properties":{"sheetId":{"description":"References to a DATA_SOURCE sheet.","type":"string"},"dataSourceFormulaCell":{"$ref":"#/components/schemas/sheets_v4_GridCoordinate"},"chartId":{"description":"References to a data source chart.","format":"int32","type":"integer"},"dataSourcePivotTableAnchorCell":{"$ref":"#/components/schemas/sheets_v4_GridCoordinate"},"dataSourceTableAnchorCell":{"$ref":"#/components/schemas/sheets_v4_GridCoordinate"}}},"sheets_v4_DeleteDimensionRequest":{"description":" Deletes the dimensions from the sheet.","type":"object","properties":{"range":{"$ref":"#/components/schemas/sheets_v4_DimensionRange"}}},"sheets_v4_DataFilter":{"description":"Filter that describes what data should be selected or returned from a request. For more information, see [Read, write, and search metadata](https://developers.google.com/workspace/sheets/api/guides/metadata).","type":"object","properties":{"a1Range":{"description":"Selects data that matches the specified A1 range.","type":"string"},"developerMetadataLookup":{"$ref":"#/components/schemas/sheets_v4_DeveloperMetadataLookup"},"gridRange":{"$ref":"#/components/schemas/sheets_v4_GridRange"}}},"sheets_v4_MatchedDeveloperMetadata":{"description":"A developer metadata entry and the data filters specified in the original request that matched it.","type":"object","properties":{"dataFilters":{"description":"All filters matching the returned developer metadata.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_DataFilter"}},"developerMetadata":{"$ref":"#/components/schemas/sheets_v4_DeveloperMetadata"}}},"sheets_v4_DeleteConditionalFormatRuleResponse":{"description":"The result of deleting a conditional format rule.","type":"object","properties":{"rule":{"$ref":"#/components/schemas/sheets_v4_ConditionalFormatRule"}}},"sheets_v4_TableRowsProperties":{"description":"The table row properties.","type":"object","properties":{"secondBandColorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"},"footerColorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"},"firstBandColorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"},"headerColorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"}}},"sheets_v4_UpdateDeveloperMetadataRequest":{"description":"A request to update properties of developer metadata. Updates the properties of the developer metadata selected by the filters to the values provided in the DeveloperMetadata resource. Callers must specify the properties they wish to update in the fields parameter, as well as specify at least one DataFilter matching the metadata they wish to update.","type":"object","properties":{"dataFilters":{"description":"The filters matching the developer metadata entries to update.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_DataFilter"}},"fields":{"description":"The fields that should be updated. At least one field must be specified. The root `developerMetadata` is implied and should not be specified. A single `\"*\"` can be used as short-hand for listing every field.","format":"google-fieldmask","type":"string"},"developerMetadata":{"$ref":"#/components/schemas/sheets_v4_DeveloperMetadata"}}},"sheets_v4_NumberFormat":{"description":"The number format of a cell.","type":"object","properties":{"type":{"description":"The type of the number format. When writing, this field must be set.","enum":["NUMBER_FORMAT_TYPE_UNSPECIFIED","TEXT","NUMBER","PERCENT","CURRENCY","DATE","TIME","DATE_TIME","SCIENTIFIC"],"type":"string"},"pattern":{"description":"Pattern string used for formatting. If not set, a default pattern based on the spreadsheet's locale will be used if necessary for the given type. See the [Date and Number Formats guide](https://developers.google.com/workspace/sheets/api/guides/formats) for more information about the supported patterns.","type":"string"}}},"sheets_v4_AddSlicerRequest":{"description":"Adds a slicer to a sheet in the spreadsheet.","type":"object","properties":{"slicer":{"$ref":"#/components/schemas/sheets_v4_Slicer"}}},"sheets_v4_MergeCellsRequest":{"description":"Merges all cells in the range.","type":"object","properties":{"range":{"$ref":"#/components/schemas/sheets_v4_GridRange"},"mergeType":{"description":"How the cells should be merged.","enum":["MERGE_ALL","MERGE_COLUMNS","MERGE_ROWS"],"type":"string"}}},"sheets_v4_GetSpreadsheetByDataFilterRequest":{"description":"The request for retrieving a Spreadsheet.","type":"object","properties":{"includeGridData":{"description":"True if grid data should be returned. This parameter is ignored if a field mask was set in the request.","type":"boolean"},"excludeTablesInBandedRanges":{"description":"True if tables should be excluded in the banded ranges. False if not set.","type":"boolean"},"dataFilters":{"description":"The DataFilters used to select which ranges to retrieve from the spreadsheet.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_DataFilter"}}}},"sheets_v4_DeleteSheetRequest":{"description":"Deletes the requested sheet.","type":"object","properties":{"sheetId":{"description":"The ID of the sheet to delete. If the sheet is of DATA_SOURCE type, the associated DataSource is also deleted.","format":"int32","type":"integer"}}},"sheets_v4_UpdateNamedRangeRequest":{"description":"Updates properties of the named range with the specified namedRangeId.","type":"object","properties":{"fields":{"description":"The fields that should be updated. At least one field must be specified. The root `namedRange` is implied and should not be specified. A single `\"*\"` can be used as short-hand for listing every field.","format":"google-fieldmask","type":"string"},"namedRange":{"$ref":"#/components/schemas/sheets_v4_NamedRange"}}},"sheets_v4_DeleteConditionalFormatRuleRequest":{"description":"Deletes a conditional format rule at the given index. All subsequent rules' indexes are decremented.","type":"object","properties":{"index":{"description":"The zero-based index of the rule to be deleted.","format":"int32","type":"integer"},"sheetId":{"description":"The sheet the rule is being deleted from.","format":"int32","type":"integer"}}},"sheets_v4_Response":{"description":"A single response from an update.","type":"object","properties":{"trimWhitespace":{"$ref":"#/components/schemas/sheets_v4_TrimWhitespaceResponse"},"createDeveloperMetadata":{"$ref":"#/components/schemas/sheets_v4_CreateDeveloperMetadataResponse"},"deleteDeveloperMetadata":{"$ref":"#/components/schemas/sheets_v4_DeleteDeveloperMetadataResponse"},"updateConditionalFormatRule":{"$ref":"#/components/schemas/sheets_v4_UpdateConditionalFormatRuleResponse"},"updateEmbeddedObjectPosition":{"$ref":"#/components/schemas/sheets_v4_UpdateEmbeddedObjectPositionResponse"},"addSheet":{"$ref":"#/components/schemas/sheets_v4_AddSheetResponse"},"cancelDataSourceRefresh":{"$ref":"#/components/schemas/sheets_v4_CancelDataSourceRefreshResponse"},"addSlicer":{"$ref":"#/components/schemas/sheets_v4_AddSlicerResponse"},"addTable":{"$ref":"#/components/schemas/sheets_v4_AddTableResponse"},"addProtectedRange":{"$ref":"#/components/schemas/sheets_v4_AddProtectedRangeResponse"},"addBanding":{"$ref":"#/components/schemas/sheets_v4_AddBandingResponse"},"addChart":{"$ref":"#/components/schemas/sheets_v4_AddChartResponse"},"duplicateSheet":{"$ref":"#/components/schemas/sheets_v4_DuplicateSheetResponse"},"deleteDuplicates":{"$ref":"#/components/schemas/sheets_v4_DeleteDuplicatesResponse"},"updateDataSource":{"$ref":"#/components/schemas/sheets_v4_UpdateDataSourceResponse"},"addFilterView":{"$ref":"#/components/schemas/sheets_v4_AddFilterViewResponse"},"addDataSource":{"$ref":"#/components/schemas/sheets_v4_AddDataSourceResponse"},"addNamedRange":{"$ref":"#/components/schemas/sheets_v4_AddNamedRangeResponse"},"duplicateFilterView":{"$ref":"#/components/schemas/sheets_v4_DuplicateFilterViewResponse"},"refreshDataSource":{"$ref":"#/components/schemas/sheets_v4_RefreshDataSourceResponse"},"deleteConditionalFormatRule":{"$ref":"#/components/schemas/sheets_v4_DeleteConditionalFormatRuleResponse"},"findReplace":{"$ref":"#/components/schemas/sheets_v4_FindReplaceResponse"},"deleteDimensionGroup":{"$ref":"#/components/schemas/sheets_v4_DeleteDimensionGroupResponse"},"updateDeveloperMetadata":{"$ref":"#/components/schemas/sheets_v4_UpdateDeveloperMetadataResponse"},"addDimensionGroup":{"$ref":"#/components/schemas/sheets_v4_AddDimensionGroupResponse"}}},"sheets_v4_UpdateSheetPropertiesRequest":{"description":"Updates properties of the sheet with the specified sheetId.","type":"object","properties":{"fields":{"description":"The fields that should be updated. At least one field must be specified. The root `properties` is implied and should not be specified. A single `\"*\"` can be used as short-hand for listing every field.","format":"google-fieldmask","type":"string"},"properties":{"$ref":"#/components/schemas/sheets_v4_SheetProperties"}}},"sheets_v4_AutoFillRequest":{"description":"Fills in more data based on existing data.","type":"object","properties":{"sourceAndDestination":{"$ref":"#/components/schemas/sheets_v4_SourceAndDestination"},"useAlternateSeries":{"description":"True if we should generate data with the \"alternate\" series. This differs based on the type and amount of source data.","type":"boolean"},"range":{"$ref":"#/components/schemas/sheets_v4_GridRange"}}},"sheets_v4_UpdateConditionalFormatRuleRequest":{"description":"Updates a conditional format rule at the given index, or moves a conditional format rule to another index.","type":"object","properties":{"newIndex":{"description":"The zero-based new index the rule should end up at.","format":"int32","type":"integer"},"rule":{"$ref":"#/components/schemas/sheets_v4_ConditionalFormatRule"},"index":{"description":"The zero-based index of the rule that should be replaced or moved.","format":"int32","type":"integer"},"sheetId":{"description":"The sheet of the rule to move. Required if new_index is set, unused otherwise.","format":"int32","type":"integer"}}},"sheets_v4_UpdateEmbeddedObjectPositionRequest":{"description":"Update an embedded object's position (such as a moving or resizing a chart or image).","type":"object","properties":{"objectId":{"description":"The ID of the object to moved.","format":"int32","type":"integer"},"newPosition":{"$ref":"#/components/schemas/sheets_v4_EmbeddedObjectPosition"},"fields":{"description":"The fields of OverlayPosition that should be updated when setting a new position. Used only if newPosition.overlayPosition is set, in which case at least one field must be specified. The root `newPosition.overlayPosition` is implied and should not be specified. A single `\"*\"` can be used as short-hand for listing every field.","format":"google-fieldmask","type":"string"}}},"sheets_v4_ManualRuleGroup":{"description":"A group name and a list of items from the source data that should be placed in the group with this name.","type":"object","properties":{"items":{"description":"The items in the source data that should be placed into this group. Each item may be a string, number, or boolean. Items may appear in at most one group within a given ManualRule. Items that do not appear in any group will appear on their own.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_ExtendedValue"}},"groupName":{"$ref":"#/components/schemas/sheets_v4_ExtendedValue"}}},"sheets_v4_DuplicateSheetRequest":{"description":"Duplicates the contents of a sheet.","type":"object","properties":{"newSheetId":{"description":"If set, the ID of the new sheet. If not set, an ID is chosen. If set, the ID must not conflict with any existing sheet ID. If set, it must be non-negative.","format":"int32","type":"integer"},"sourceSheetId":{"description":"The sheet to duplicate. If the source sheet is of DATA_SOURCE type, its backing DataSource is also duplicated and associated with the new copy of the sheet. No data execution is triggered, the grid data of this sheet is also copied over but only available after the batch request completes.","format":"int32","type":"integer"},"insertSheetIndex":{"description":"The zero-based index where the new sheet should be inserted. The index of all sheets after this are incremented.","format":"int32","type":"integer"},"newSheetName":{"description":"The name of the new sheet. If empty, a new name is chosen for you.","type":"string"}}},"sheets_v4_AppendDimensionRequest":{"description":"Appends rows or columns to the end of a sheet.","type":"object","properties":{"sheetId":{"description":"The sheet to append rows or columns to.","format":"int32","type":"integer"},"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"}}},"sheets_v4_PivotGroupValueMetadata":{"description":"Metadata about a value in a pivot grouping.","type":"object","properties":{"value":{"$ref":"#/components/schemas/sheets_v4_ExtendedValue"},"collapsed":{"description":"True if the data corresponding to the value is collapsed.","type":"boolean"}}},"sheets_v4_DeleteDuplicatesRequest":{"description":"Removes rows within this range that contain values in the specified columns that are duplicates of values in any previous row. Rows with identical values but different letter cases, formatting, or formulas are considered to be duplicates. This request also removes duplicate rows hidden from view (for example, due to a filter). When removing duplicates, the first instance of each duplicate row scanning from the top downwards is kept in the resulting range. Content outside of the specified range isn't removed, and rows considered duplicates do not have to be adjacent to each other in the range.","type":"object","properties":{"comparisonColumns":{"description":"The columns in the range to analyze for duplicate values. If no columns are selected then all columns are analyzed for duplicates.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_DimensionRange"}},"range":{"$ref":"#/components/schemas/sheets_v4_GridRange"}}},"sheets_v4_CancelDataSourceRefreshRequest":{"description":"Cancels one or multiple refreshes of data source objects in the spreadsheet by the specified references. The request requires an additional `bigquery.readonly` OAuth scope if you are cancelling a refresh on a BigQuery data source.","type":"object","properties":{"references":{"$ref":"#/components/schemas/sheets_v4_DataSourceObjectReferences"},"isAll":{"description":"Cancels all existing data source object refreshes for all data sources in the spreadsheet.","type":"boolean"},"dataSourceId":{"description":"Reference to a DataSource. If specified, cancels all associated data source object refreshes for this data source.","type":"string"}}},"sheets_v4_UpdateBandingRequest":{"description":"Updates properties of the supplied banded range.","type":"object","properties":{"fields":{"description":"The fields that should be updated. At least one field must be specified. The root `bandedRange` is implied and should not be specified. A single `\"*\"` can be used as short-hand for listing every field.","format":"google-fieldmask","type":"string"},"bandedRange":{"$ref":"#/components/schemas/sheets_v4_BandedRange"}}},"sheets_v4_PieChartSpec":{"description":"A pie chart.","type":"object","properties":{"legendPosition":{"description":"Where the legend of the pie chart should be drawn.","enum":["PIE_CHART_LEGEND_POSITION_UNSPECIFIED","BOTTOM_LEGEND","LEFT_LEGEND","RIGHT_LEGEND","TOP_LEGEND","NO_LEGEND","LABELED_LEGEND"],"type":"string"},"threeDimensional":{"description":"True if the pie is three dimensional.","type":"boolean"},"pieHole":{"description":"The size of the hole in the pie chart.","format":"double","type":"number"},"domain":{"$ref":"#/components/schemas/sheets_v4_ChartData"},"series":{"$ref":"#/components/schemas/sheets_v4_ChartData"}}},"sheets_v4_ChartGroupRule":{"description":"An optional setting on the ChartData of the domain of a data source chart that defines buckets for the values in the domain rather than breaking out each individual value. For example, when plotting a data source chart, you can specify a histogram rule on the domain (it should only contain numeric values), grouping its values into buckets. Any values of a chart series that fall into the same bucket are aggregated based on the aggregate_type.","type":"object","properties":{"dateTimeRule":{"$ref":"#/components/schemas/sheets_v4_ChartDateTimeRule"},"histogramRule":{"$ref":"#/components/schemas/sheets_v4_ChartHistogramRule"}}},"sheets_v4_SortSpec":{"description":"A sort order associated with a specific column or row.","type":"object","properties":{"sortOrder":{"description":"The order data should be sorted.","enum":["SORT_ORDER_UNSPECIFIED","ASCENDING","DESCENDING"],"type":"string"},"dimensionIndex":{"description":"The dimension the sort should be applied to.","format":"int32","type":"integer"},"foregroundColorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"},"backgroundColorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"},"backgroundColor":{"$ref":"#/components/schemas/sheets_v4_Color"},"foregroundColor":{"$ref":"#/components/schemas/sheets_v4_Color"},"dataSourceColumnReference":{"$ref":"#/components/schemas/sheets_v4_DataSourceColumnReference"}}},"sheets_v4_BatchClearValuesByDataFilterResponse":{"description":"The response when clearing a range of values selected with DataFilters in a spreadsheet.","type":"object","properties":{"spreadsheetId":{"description":"The spreadsheet the updates were applied to.","type":"string"},"clearedRanges":{"description":"The ranges that were cleared, in [A1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell). If the requests are for an unbounded range or a range larger than the bounds of the sheet, this is the actual ranges that were cleared, bounded to the sheet's limits.","type":"array","items":{"type":"string"}}}},"sheets_v4_AddTableResponse":{"description":"The result of adding a table.","type":"object","properties":{"table":{"$ref":"#/components/schemas/sheets_v4_Table"}}},"sheets_v4_RefreshDataSourceResponse":{"description":"The response from refreshing one or multiple data source objects.","type":"object","properties":{"statuses":{"description":"All the refresh status for the data source object references specified in the request. If is_all is specified, the field contains only those in failure status.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_RefreshDataSourceObjectExecutionStatus"}}}},"sheets_v4_DeveloperMetadataLookup":{"description":"Selects DeveloperMetadata that matches all of the specified fields. For example, if only a metadata ID is specified this considers the DeveloperMetadata with that particular unique ID. If a metadata key is specified, this considers all developer metadata with that key. If a key, visibility, and location type are all specified, this considers all developer metadata with that key and visibility that are associated with a location of that type. In general, this selects all DeveloperMetadata that match the intersection of all the specified fields; any field or combination of fields may be specified.","type":"object","properties":{"locationMatchingStrategy":{"description":"Determines how this lookup matches the location. If this field is specified as EXACT, only developer metadata associated on the exact location specified is matched. If this field is specified to INTERSECTING, developer metadata associated on intersecting locations is also matched. If left unspecified, this field assumes a default value of INTERSECTING. If this field is specified, a metadataLocation must also be specified.","enum":["DEVELOPER_METADATA_LOCATION_MATCHING_STRATEGY_UNSPECIFIED","EXACT_LOCATION","INTERSECTING_LOCATION"],"type":"string"},"metadataId":{"description":"Limits the selected developer metadata to that which has a matching DeveloperMetadata.metadata_id.","format":"int32","type":"integer"},"metadataKey":{"description":"Limits the selected developer metadata to that which has a matching DeveloperMetadata.metadata_key.","type":"string"},"locationType":{"description":"Limits the selected developer metadata to those entries which are associated with locations of the specified type. For example, when this field is specified as ROW this lookup only considers developer metadata associated on rows. If the field is left unspecified, all location types are considered. This field cannot be specified as SPREADSHEET when the locationMatchingStrategy is specified as INTERSECTING or when the metadataLocation is specified as a non-spreadsheet location. Spreadsheet metadata cannot intersect any other developer metadata location. This field also must be left unspecified when the locationMatchingStrategy is specified as EXACT.","enum":["DEVELOPER_METADATA_LOCATION_TYPE_UNSPECIFIED","ROW","COLUMN","SHEET","SPREADSHEET"],"type":"string"},"metadataLocation":{"$ref":"#/components/schemas/sheets_v4_DeveloperMetadataLocation"},"visibility":{"description":"Limits the selected developer metadata to that which has a matching DeveloperMetadata.visibility. If left unspecified, all developer metadata visible to the requesting project is considered.","enum":["DEVELOPER_METADATA_VISIBILITY_UNSPECIFIED","DOCUMENT","PROJECT"],"type":"string"},"metadataValue":{"description":"Limits the selected developer metadata to that which has a matching DeveloperMetadata.metadata_value.","type":"string"}}},"sheets_v4_PersonProperties":{"description":"Properties specific to a linked person.","type":"object","properties":{"email":{"description":"Required. The email address linked to this person. This field is always present.","type":"string"},"displayFormat":{"description":"Optional. The display format of the person chip. If not set, the default display format is used.","enum":["DISPLAY_FORMAT_UNSPECIFIED","DEFAULT","LAST_NAME_COMMA_FIRST_NAME","EMAIL"],"type":"string"}}},"sheets_v4_DeleteDimensionGroupRequest":{"description":"Deletes a group over the specified range by decrementing the depth of the dimensions in the range. For example, assume the sheet has a depth-1 group over B:E and a depth-2 group over C:D. Deleting a group over D:E leaves the sheet with a depth-1 group over B:D and a depth-2 group over C:C.","type":"object","properties":{"range":{"$ref":"#/components/schemas/sheets_v4_DimensionRange"}}},"sheets_v4_DeleteNamedRangeRequest":{"description":"Removes the named range with the given ID from the spreadsheet.","type":"object","properties":{"namedRangeId":{"description":"The ID of the named range to delete.","type":"string"}}},"sheets_v4_CopyPasteRequest":{"description":"Copies data from the source to the destination.","type":"object","properties":{"source":{"$ref":"#/components/schemas/sheets_v4_GridRange"},"pasteOrientation":{"description":"How that data should be oriented when pasting.","enum":["NORMAL","TRANSPOSE"],"type":"string"},"destination":{"$ref":"#/components/schemas/sheets_v4_GridRange"},"pasteType":{"description":"What kind of data to paste.","enum":["PASTE_NORMAL","PASTE_VALUES","PASTE_FORMAT","PASTE_NO_BORDERS","PASTE_FORMULA","PASTE_DATA_VALIDATION","PASTE_CONDITIONAL_FORMATTING"],"type":"string"}}},"sheets_v4_UpdateSlicerSpecRequest":{"description":"Updates a slicer's specifications. (This does not move or resize a slicer. To move or resize a slicer use UpdateEmbeddedObjectPositionRequest.","type":"object","properties":{"spec":{"$ref":"#/components/schemas/sheets_v4_SlicerSpec"},"slicerId":{"description":"The id of the slicer to update.","format":"int32","type":"integer"},"fields":{"description":"The fields that should be updated. At least one field must be specified. The root `SlicerSpec` is implied and should not be specified. A single \"*\"` can be used as short-hand for listing every field.","format":"google-fieldmask","type":"string"}}},"sheets_v4_UpdateDataSourceRequest":{"description":"Updates a data source. After the data source is updated successfully, an execution is triggered to refresh the associated DATA_SOURCE sheet to read data from the updated data source. The request requires an additional `bigquery.readonly` OAuth scope if you are updating a BigQuery data source.","type":"object","properties":{"dataSource":{"$ref":"#/components/schemas/sheets_v4_DataSource"},"fields":{"description":"The fields that should be updated. At least one field must be specified. The root `dataSource` is implied and should not be specified. A single `\"*\"` can be used as short-hand for listing every field.","format":"google-fieldmask","type":"string"}}},"sheets_v4_UpdateCellsRequest":{"description":"Updates all cells in a range with new data.","type":"object","properties":{"fields":{"description":"The fields of CellData that should be updated. At least one field must be specified. The root is the CellData; 'row.values.' should not be specified. A single `\"*\"` can be used as short-hand for listing every field.","format":"google-fieldmask","type":"string"},"start":{"$ref":"#/components/schemas/sheets_v4_GridCoordinate"},"range":{"$ref":"#/components/schemas/sheets_v4_GridRange"},"rows":{"description":"The data to write.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_RowData"}}}},"sheets_v4_BatchClearValuesByDataFilterRequest":{"description":"The request for clearing more than one range selected by a DataFilter in a spreadsheet.","type":"object","properties":{"dataFilters":{"description":"The DataFilters used to determine which ranges to clear.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_DataFilter"}}}},"sheets_v4_PivotFilterCriteria":{"description":"Criteria for showing/hiding rows in a pivot table.","type":"object","properties":{"visibleValues":{"description":"Values that should be included. Values not listed here are excluded.","type":"array","items":{"type":"string"}},"visibleByDefault":{"description":"Whether values are visible by default. If true, the visible_values are ignored, all values that meet condition (if specified) are shown. If false, values that are both in visible_values and meet condition are shown.","type":"boolean"},"condition":{"$ref":"#/components/schemas/sheets_v4_BooleanCondition"}}},"sheets_v4_AddBandingResponse":{"description":"The result of adding a banded range.","type":"object","properties":{"bandedRange":{"$ref":"#/components/schemas/sheets_v4_BandedRange"}}},"sheets_v4_ColorStyle":{"description":"A color value.","type":"object","properties":{"themeColor":{"description":"Theme color.","enum":["THEME_COLOR_TYPE_UNSPECIFIED","TEXT","BACKGROUND","ACCENT1","ACCENT2","ACCENT3","ACCENT4","ACCENT5","ACCENT6","LINK"],"type":"string"},"rgbColor":{"$ref":"#/components/schemas/sheets_v4_Color"}}},"sheets_v4_AddDataSourceRequest":{"description":"Adds a data source. After the data source is added successfully, an associated DATA_SOURCE sheet is created and an execution is triggered to refresh the sheet to read data from the data source. The request requires an additional `bigquery.readonly` OAuth scope if you are adding a BigQuery data source.","type":"object","properties":{"dataSource":{"$ref":"#/components/schemas/sheets_v4_DataSource"}}},"sheets_v4_AddTableRequest":{"description":"Adds a new table to the spreadsheet.","type":"object","properties":{"table":{"$ref":"#/components/schemas/sheets_v4_Table"}}},"sheets_v4_DataSourceRefreshWeeklySchedule":{"description":"A weekly schedule for data to refresh on specific days in a given time interval.","type":"object","properties":{"startTime":{"$ref":"#/components/schemas/sheets_v4_TimeOfDay"},"daysOfWeek":{"description":"Days of the week to refresh. At least one day must be specified.","type":"array","items":{"enum":["DAY_OF_WEEK_UNSPECIFIED","MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","SUNDAY"],"type":"string"}}}},"sheets_v4_FindReplaceRequest":{"description":"Finds and replaces data in cells over a range, sheet, or all sheets.","type":"object","properties":{"includeFormulas":{"description":"True if the search should include cells with formulas. False to skip cells with formulas.","type":"boolean"},"matchCase":{"description":"True if the search is case sensitive.","type":"boolean"},"allSheets":{"description":"True to find/replace over all sheets.","type":"boolean"},"find":{"description":"The value to search.","type":"string"},"matchEntireCell":{"description":"True if the find value should match the entire cell.","type":"boolean"},"searchByRegex":{"description":"True if the find value is a regex. The regular expression and replacement should follow Java regex rules at https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html. The replacement string is allowed to refer to capturing groups. For example, if one cell has the contents `\"Google Sheets\"` and another has `\"Google Docs\"`, then searching for `\"o.* (.*)\"` with a replacement of `\"$1 Rocks\"` would change the contents of the cells to `\"GSheets Rocks\"` and `\"GDocs Rocks\"` respectively.","type":"boolean"},"range":{"$ref":"#/components/schemas/sheets_v4_GridRange"},"replacement":{"description":"The value to use as the replacement.","type":"string"},"sheetId":{"description":"The sheet to find/replace over.","format":"int32","type":"integer"}}},"sheets_v4_CutPasteRequest":{"description":"Moves data from the source to the destination.","type":"object","properties":{"destination":{"$ref":"#/components/schemas/sheets_v4_GridCoordinate"},"source":{"$ref":"#/components/schemas/sheets_v4_GridRange"},"pasteType":{"description":"What kind of data to paste. All the source data will be cut, regardless of what is pasted.","enum":["PASTE_NORMAL","PASTE_VALUES","PASTE_FORMAT","PASTE_NO_BORDERS","PASTE_FORMULA","PASTE_DATA_VALIDATION","PASTE_CONDITIONAL_FORMATTING"],"type":"string"}}},"sheets_v4_Slicer":{"description":"A slicer in a sheet.","type":"object","properties":{"slicerId":{"description":"The ID of the slicer.","format":"int32","type":"integer"},"position":{"$ref":"#/components/schemas/sheets_v4_EmbeddedObjectPosition"},"spec":{"$ref":"#/components/schemas/sheets_v4_SlicerSpec"}}},"sheets_v4_AddSheetRequest":{"description":"Adds a new sheet. When a sheet is added at a given index, all subsequent sheets' indexes are incremented. To add an object sheet, use AddChartRequest instead and specify EmbeddedObjectPosition.sheetId or EmbeddedObjectPosition.newSheet.","type":"object","properties":{"properties":{"$ref":"#/components/schemas/sheets_v4_SheetProperties"}}},"sheets_v4_FilterSpec":{"description":"The filter criteria associated with a specific column.","type":"object","properties":{"dataSourceColumnReference":{"$ref":"#/components/schemas/sheets_v4_DataSourceColumnReference"},"columnIndex":{"description":"The zero-based column index.","format":"int32","type":"integer"},"filterCriteria":{"$ref":"#/components/schemas/sheets_v4_FilterCriteria"}}},"sheets_v4_UnmergeCellsRequest":{"description":"Unmerges cells in the given range.","type":"object","properties":{"range":{"$ref":"#/components/schemas/sheets_v4_GridRange"}}},"sheets_v4_AddConditionalFormatRuleRequest":{"description":"Adds a new conditional format rule at the given index. All subsequent rules' indexes are incremented.","type":"object","properties":{"rule":{"$ref":"#/components/schemas/sheets_v4_ConditionalFormatRule"},"index":{"description":"The zero-based index where the rule should be inserted.","format":"int32","type":"integer"}}},"sheets_v4_DuplicateFilterViewResponse":{"description":"The result of a filter view being duplicated.","type":"object","properties":{"filter":{"$ref":"#/components/schemas/sheets_v4_FilterView"}}},"sheets_v4_ChartData":{"description":"The data included in a domain or series.","type":"object","properties":{"sourceRange":{"$ref":"#/components/schemas/sheets_v4_ChartSourceRange"},"aggregateType":{"description":"The aggregation type for the series of a data source chart. Only supported for data source charts.","enum":["CHART_AGGREGATE_TYPE_UNSPECIFIED","AVERAGE","COUNT","MAX","MEDIAN","MIN","SUM"],"type":"string"},"columnReference":{"$ref":"#/components/schemas/sheets_v4_DataSourceColumnReference"},"groupRule":{"$ref":"#/components/schemas/sheets_v4_ChartGroupRule"}}},"sheets_v4_NamedRange":{"description":"A named range.","type":"object","properties":{"name":{"description":"The name of the named range.","type":"string"},"namedRangeId":{"description":"The ID of the named range.","type":"string"},"range":{"$ref":"#/components/schemas/sheets_v4_GridRange"}}},"sheets_v4_SetBasicFilterRequest":{"description":"Sets the basic filter associated with a sheet.","type":"object","properties":{"filter":{"$ref":"#/components/schemas/sheets_v4_BasicFilter"}}},"sheets_v4_GridRange":{"description":"A range on a sheet. All indexes are zero-based. Indexes are half open, i.e. the start index is inclusive and the end index is exclusive -- [start_index, end_index). Missing indexes indicate the range is unbounded on that side. For example, if `\"Sheet1\"` is sheet ID 123456, then: `Sheet1!A1:A1 == sheet_id: 123456, start_row_index: 0, end_row_index: 1, start_column_index: 0, end_column_index: 1` `Sheet1!A3:B4 == sheet_id: 123456, start_row_index: 2, end_row_index: 4, start_column_index: 0, end_column_index: 2` `Sheet1!A:B == sheet_id: 123456, start_column_index: 0, end_column_index: 2` `Sheet1!A5:B == sheet_id: 123456, start_row_index: 4, start_column_index: 0, end_column_index: 2` `Sheet1 == sheet_id: 123456` The start index must always be less than or equal to the end index. If the start index equals the end index, then the range is empty. Empty ranges are typically not meaningful and are usually rendered in the UI as `#REF!`.","type":"object","properties":{"sheetId":{"description":"The sheet this range is on.","format":"int32","type":"integer"},"startColumnIndex":{"description":"The start column (inclusive) of the range, or not set if unbounded.","format":"int32","type":"integer"},"endRowIndex":{"description":"The end row (exclusive) of the range, or not set if unbounded.","format":"int32","type":"integer"},"endColumnIndex":{"description":"The end column (exclusive) of the range, or not set if unbounded.","format":"int32","type":"integer"},"startRowIndex":{"description":"The start row (inclusive) of the range, or not set if unbounded.","format":"int32","type":"integer"}}},"sheets_v4_EmbeddedObjectBorder":{"description":"A border along an embedded object.","type":"object","properties":{"color":{"$ref":"#/components/schemas/sheets_v4_Color"},"colorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"}}},"sheets_v4_DataSourceTable":{"description":"A data source table, which allows the user to import a static table of data from the DataSource into Sheets. This is also known as \"Extract\" in the Sheets editor.","type":"object","properties":{"sortSpecs":{"description":"Sort specifications in the data source table. The result of the data source table is sorted based on the sort specifications in order.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_SortSpec"}},"columnSelectionType":{"description":"The type to select columns for the data source table. Defaults to SELECTED.","enum":["DATA_SOURCE_TABLE_COLUMN_SELECTION_TYPE_UNSPECIFIED","SELECTED","SYNC_ALL"],"type":"string"},"columns":{"description":"Columns selected for the data source table. The column_selection_type must be SELECTED.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_DataSourceColumnReference"}},"rowLimit":{"description":"The limit of rows to return. If not set, a default limit is applied. Please refer to the Sheets editor for the default and max limit.","format":"int32","type":"integer"},"dataSourceId":{"description":"The ID of the data source the data source table is associated with.","type":"string"},"filterSpecs":{"description":"Filter specifications in the data source table.","type":"array","items":{"$ref":"#/components/schemas/sheets_v4_FilterSpec"}},"dataExecutionStatus":{"$ref":"#/components/schemas/sheets_v4_DataExecutionStatus"}}},"sheets_v4_ScorecardChartSpec":{"description":"A scorecard chart. Scorecard charts are used to highlight key performance indicators, known as KPIs, on the spreadsheet. A scorecard chart can represent things like total sales, average cost, or a top selling item. You can specify a single data value, or aggregate over a range of data. Percentage or absolute difference from a baseline value can be highlighted, like changes over time.","type":"object","properties":{"aggregateType":{"description":"The aggregation type for key and baseline chart data in scorecard chart. This field is not supported for data source charts. Use the ChartData.aggregateType field of the key_value_data or baseline_value_data instead for data source charts. This field is optional.","enum":["CHART_AGGREGATE_TYPE_UNSPECIFIED","AVERAGE","COUNT","MAX","MEDIAN","MIN","SUM"],"type":"string"},"keyValueFormat":{"$ref":"#/components/schemas/sheets_v4_KeyValueFormat"},"scaleFactor":{"description":"Value to scale scorecard key and baseline value. For example, a factor of 10 can be used to divide all values in the chart by 10. This field is optional.","format":"double","type":"number"},"customFormatOptions":{"$ref":"#/components/schemas/sheets_v4_ChartCustomNumberFormatOptions"},"baselineValueData":{"$ref":"#/components/schemas/sheets_v4_ChartData"},"numberFormatSource":{"description":"The number format source used in the scorecard chart. This field is optional.","enum":["CHART_NUMBER_FORMAT_SOURCE_UNDEFINED","FROM_DATA","CUSTOM"],"type":"string"},"keyValueData":{"$ref":"#/components/schemas/sheets_v4_ChartData"},"baselineValueFormat":{"$ref":"#/components/schemas/sheets_v4_BaselineValueFormat"}}},"sheets_v4_Interval":{"description":"Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.","type":"object","properties":{"startTime":{"description":"Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.","format":"google-datetime","type":"string"},"endTime":{"description":"Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.","format":"google-datetime","type":"string"}}},"sheets_v4_HistogramSeries":{"description":"A histogram series containing the series color and data.","type":"object","properties":{"barColor":{"$ref":"#/components/schemas/sheets_v4_Color"},"data":{"$ref":"#/components/schemas/sheets_v4_ChartData"},"barColorStyle":{"$ref":"#/components/schemas/sheets_v4_ColorStyle"}}},"sheets_v4_PivotGroupRule":{"description":"An optional setting on a PivotGroup that defines buckets for the values in the source data column rather than breaking out each individual value. Only one PivotGroup with a group rule may be added for each column in the source data, though on any given column you may add both a PivotGroup that has a rule and a PivotGroup that does not.","type":"object","properties":{"manualRule":{"$ref":"#/components/schemas/sheets_v4_ManualRule"},"dateTimeRule":{"$ref":"#/components/schemas/sheets_v4_DateTimeRule"},"histogramRule":{"$ref":"#/components/schemas/sheets_v4_HistogramRule"}}}},"securitySchemes":{"googleOAuth2":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://accounts.google.com/o/oauth2/v2/auth","tokenUrl":"https://oauth2.googleapis.com/token","scopes":{"openid":"","email":"","profile":"","https://www.googleapis.com/auth/spreadsheets":"","https://www.googleapis.com/auth/drive.file":""}}}}}},"security":[{"googleOAuth2":["openid","email","profile","https://www.googleapis.com/auth/spreadsheets","https://www.googleapis.com/auth/drive.file"]}],"x-executor-origin":{"kind":"googleDiscoveryBundle","services":[{"discoveryUrl":"https://www.googleapis.com/discovery/v1/apis/sheets/v4/rest","service":"sheets","version":"v4"}]}}