Skip to content

Commit d82a179

Browse files
yoshi-automationsofisl
authored andcommitted
feat(sheets): update the API
#### sheets:v4 The following keys were added: - schemas.SetDataValidationRequest.properties.filteredRowsIncluded.description - schemas.SetDataValidationRequest.properties.filteredRowsIncluded.type The following keys were changed: - schemas.DeleteDimensionRequest.description - schemas.DeveloperMetadataLookup.properties.visibility.description - schemas.TimeOfDay.properties.hours.description - schemas.TimeOfDay.properties.minutes.description - schemas.TimeOfDay.properties.nanos.description - schemas.TimeOfDay.properties.seconds.description
1 parent e1a728d commit d82a179

File tree

2 files changed

+21
-13
lines changed

2 files changed

+21
-13
lines changed

‎discovery/sheets-v4.json

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@
870870
}
871871
}
872872
},
873-
"revision": "20240917",
873+
"revision": "20250106",
874874
"rootUrl": "https://sheets.googleapis.com/",
875875
"schemas": {
876876
"AddBandingRequest": {
@@ -3941,7 +3941,7 @@
39413941
"type": "object"
39423942
},
39433943
"DeleteDimensionRequest": {
3944-
"description": "Deletes the dimensions from the sheet.",
3944+
"description": " Deletes the dimensions from the sheet.",
39453945
"id": "DeleteDimensionRequest",
39463946
"properties": {
39473947
"range": {
@@ -4195,7 +4195,7 @@
41954195
"type": "string"
41964196
},
41974197
"visibility": {
4198-
"description": "Limits the selected developer metadata to that which has a matching DeveloperMetadata.visibility. If left unspecified, all developer metadata visibile to the requesting project is considered.",
4198+
"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.",
41994199
"enum": [
42004200
"DEVELOPER_METADATA_VISIBILITY_UNSPECIFIED",
42014201
"DOCUMENT",
@@ -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."
@@ -7182,22 +7186,22 @@
71827186
"id": "TimeOfDay",
71837187
"properties": {
71847188
"hours": {
7185-
"description": "Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.",
7189+
"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.",
71867190
"format": "int32",
71877191
"type": "integer"
71887192
},
71897193
"minutes": {
7190-
"description": "Minutes of hour of day. Must be from 0 to 59.",
7194+
"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.",
71917195
"format": "int32",
71927196
"type": "integer"
71937197
},
71947198
"nanos": {
7195-
"description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.",
7199+
"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.",
71967200
"format": "int32",
71977201
"type": "integer"
71987202
},
71997203
"seconds": {
7200-
"description": "Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.",
7204+
"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.",
72017205
"format": "int32",
72027206
"type": "integer"
72037207
}

‎src/apis/sheets/v4.ts

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2057,7 +2057,7 @@ export namespace sheets_v4 {
20572057
dimensionGroups?: Schema$DimensionGroup[];
20582058
}
20592059
/**
2060-
* Deletes the dimensions from the sheet.
2060+
* Deletes the dimensions from the sheet.
20612061
*/
20622062
export interface Schema$DeleteDimensionRequest {
20632063
/**
@@ -2220,7 +2220,7 @@ export namespace sheets_v4 {
22202220
*/
22212221
metadataValue?: string | null;
22222222
/**
2223-
* Limits the selected developer metadata to that which has a matching DeveloperMetadata.visibility. If left unspecified, all developer metadata visibile to the requesting project is considered.
2223+
* 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.
22242224
*/
22252225
visibility?: string | null;
22262226
}
@@ -3921,6 +3921,10 @@ export namespace sheets_v4 {
39213921
* Sets a data validation rule to every cell in the range. To clear validation in a range, call this with no rule specified.
39223922
*/
39233923
export interface Schema$SetDataValidationRequest {
3924+
/**
3925+
* Optional. If true, the data validation rule will be applied to the filtered rows as well.
3926+
*/
3927+
filteredRowsIncluded?: boolean | null;
39243928
/**
39253929
* The range the data validation rule should apply to.
39263930
*/
@@ -4351,19 +4355,19 @@ export namespace sheets_v4 {
43514355
*/
43524356
export interface Schema$TimeOfDay {
43534357
/**
4354-
* Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
4358+
* 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.
43554359
*/
43564360
hours?: number | null;
43574361
/**
4358-
* Minutes of hour of day. Must be from 0 to 59.
4362+
* Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
43594363
*/
43604364
minutes?: number | null;
43614365
/**
4362-
* Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
4366+
* Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
43634367
*/
43644368
nanos?: number | null;
43654369
/**
4366-
* Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
4370+
* 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.
43674371
*/
43684372
seconds?: number | null;
43694373
}

0 commit comments

Comments
 (0)