Skip to content

Commit

Permalink
feat(sheets): update the api
Browse files Browse the repository at this point in the history
#### sheets:v4

The following keys were added:
- schemas.SetDataValidationRequest.properties.filteredRowsIncluded.type (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Dec 17, 2024
1 parent 96572b5 commit 297f497
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/dyn/sheets_v4.spreadsheets.html
Original file line number Diff line number Diff line change
Expand Up @@ -4482,6 +4482,7 @@ <h3>Method Details</h3>
},
},
&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.
&quot;filteredRowsIncluded&quot;: True or False, # Optional. If true, the data validation rule will be applied to the filtered rows as well.
&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.
&quot;endColumnIndex&quot;: 42, # The end column (exclusive) of the range, or not set if unbounded.
&quot;endRowIndex&quot;: 42, # The end row (exclusive) of the range, or not set if unbounded.
Expand Down
6 changes: 5 additions & 1 deletion googleapiclient/discovery_cache/documents/sheets.v4.json
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@
}
}
},
"revision": "20241008",
"revision": "20241203",
"rootUrl": "https://sheets.googleapis.com/",
"schemas": {
"AddBandingRequest": {
Expand Down Expand Up @@ -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."
Expand Down

0 comments on commit 297f497

Please sign in to comment.