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."