Skip to content

Commit 297f497

Browse files
feat(sheets): update the api
#### sheets:v4 The following keys were added: - schemas.SetDataValidationRequest.properties.filteredRowsIncluded.type (Total Keys: 1)
1 parent 96572b5 commit 297f497

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

docs/dyn/sheets_v4.spreadsheets.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4482,6 +4482,7 @@ <h3>Method Details</h3>
44824482
},
44834483
},
44844484
&quot;setDataValidation&quot;: { # 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.
4485+
&quot;filteredRowsIncluded&quot;: True or False, # Optional. If true, the data validation rule will be applied to the filtered rows as well.
44854486
&quot;range&quot;: { # 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 `&quot;Sheet1&quot;` 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.
44864487
&quot;endColumnIndex&quot;: 42, # The end column (exclusive) of the range, or not set if unbounded.
44874488
&quot;endRowIndex&quot;: 42, # The end row (exclusive) of the range, or not set if unbounded.

googleapiclient/discovery_cache/documents/sheets.v4.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@
870870
}
871871
}
872872
},
873-
"revision": "20241008",
873+
"revision": "20241203",
874874
"rootUrl": "https://sheets.googleapis.com/",
875875
"schemas": {
876876
"AddBandingRequest": {
@@ -6538,6 +6538,10 @@
65386538
"description": "Sets a data validation rule to every cell in the range. To clear validation in a range, call this with no rule specified.",
65396539
"id": "SetDataValidationRequest",
65406540
"properties": {
6541+
"filteredRowsIncluded": {
6542+
"description": "Optional. If true, the data validation rule will be applied to the filtered rows as well.",
6543+
"type": "boolean"
6544+
},
65416545
"range": {
65426546
"$ref": "GridRange",
65436547
"description": "The range the data validation rule should apply to."

0 commit comments

Comments
 (0)