From 297f497837a6d40470b27b30da5f6d1d3be69fe7 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 17 Dec 2024 07:10:21 +0000 Subject: [PATCH] feat(sheets): update the api #### sheets:v4 The following keys were added: - schemas.SetDataValidationRequest.properties.filteredRowsIncluded.type (Total Keys: 1) --- docs/dyn/sheets_v4.spreadsheets.html | 1 + googleapiclient/discovery_cache/documents/sheets.v4.json | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/dyn/sheets_v4.spreadsheets.html b/docs/dyn/sheets_v4.spreadsheets.html index 09d0be9ff6..8da9960c19 100644 --- a/docs/dyn/sheets_v4.spreadsheets.html +++ b/docs/dyn/sheets_v4.spreadsheets.html @@ -4482,6 +4482,7 @@

Method Details

}, }, "setDataValidation": { # Sets a data validation rule to every cell in the range. To clear validation in a range, call this with no rule specified. # Sets data validation for one or more cells. + "filteredRowsIncluded": True or False, # Optional. If true, the data validation rule will be applied to the filtered rows as well. "range": { # 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!`. # The range the data validation rule should apply to. "endColumnIndex": 42, # The end column (exclusive) of the range, or not set if unbounded. "endRowIndex": 42, # The end row (exclusive) of the range, or not set if unbounded. diff --git a/googleapiclient/discovery_cache/documents/sheets.v4.json b/googleapiclient/discovery_cache/documents/sheets.v4.json index 9c89636918..dc1beeb4f1 100644 --- a/googleapiclient/discovery_cache/documents/sheets.v4.json +++ b/googleapiclient/discovery_cache/documents/sheets.v4.json @@ -870,7 +870,7 @@ } } }, -"revision": "20241008", +"revision": "20241203", "rootUrl": "https://sheets.googleapis.com/", "schemas": { "AddBandingRequest": { @@ -6538,6 +6538,10 @@ "description": "Sets a data validation rule to every cell in the range. To clear validation in a range, call this with no rule specified.", "id": "SetDataValidationRequest", "properties": { +"filteredRowsIncluded": { +"description": "Optional. If true, the data validation rule will be applied to the filtered rows as well.", +"type": "boolean" +}, "range": { "$ref": "GridRange", "description": "The range the data validation rule should apply to."