Skip to content

Commit dfd5ce1

Browse files
feat(sheets): update the API
#### sheets:v4 The following keys were added: - schemas.AddTableResponse.description - schemas.AddTableResponse.id - schemas.AddTableResponse.properties.table.$ref - schemas.AddTableResponse.properties.table.description - schemas.AddTableResponse.properties.table.readOnly - schemas.AddTableResponse.type - schemas.BandedRange.properties.bandedRangeReference.description - schemas.BandedRange.properties.bandedRangeReference.readOnly - schemas.BandedRange.properties.bandedRangeReference.type - schemas.Response.properties.addTable.$ref - schemas.Response.properties.addTable.description The following keys were changed: - schemas.BandedRange.properties.bandedRangeId.description
1 parent f3c8071 commit dfd5ce1

File tree

2 files changed

+41
-3
lines changed

2 files changed

+41
-3
lines changed

discovery/sheets-v4.json

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@
875875
}
876876
}
877877
},
878-
"revision": "20250415",
878+
"revision": "20250513",
879879
"rootUrl": "https://sheets.googleapis.com/",
880880
"schemas": {
881881
"AddBandingRequest": {
@@ -1110,6 +1110,18 @@
11101110
},
11111111
"type": "object"
11121112
},
1113+
"AddTableResponse": {
1114+
"description": "The result of adding a table.",
1115+
"id": "AddTableResponse",
1116+
"properties": {
1117+
"table": {
1118+
"$ref": "Table",
1119+
"description": "Output only. The table that was added.",
1120+
"readOnly": true
1121+
}
1122+
},
1123+
"type": "object"
1124+
},
11131125
"AppendCellsRequest": {
11141126
"description": "Adds new cells after the last row with data in a sheet, inserting new rows into the sheet if necessary.",
11151127
"id": "AppendCellsRequest",
@@ -1227,10 +1239,15 @@
12271239
"id": "BandedRange",
12281240
"properties": {
12291241
"bandedRangeId": {
1230-
"description": "The ID of the banded range.",
1242+
"description": "The ID of the banded range. If unset, refer to banded_range_reference.",
12311243
"format": "int32",
12321244
"type": "integer"
12331245
},
1246+
"bandedRangeReference": {
1247+
"description": "Output only. The reference of the banded range, used to identify the ID that is not supported by the banded_range_id.",
1248+
"readOnly": true,
1249+
"type": "string"
1250+
},
12341251
"columnProperties": {
12351252
"$ref": "BandingProperties",
12361253
"description": "Properties for column bands. These properties are applied on a column- by-column basis throughout all the columns in the range. At least one of row_properties or column_properties must be specified."
@@ -6409,6 +6426,10 @@
64096426
"$ref": "AddSlicerResponse",
64106427
"description": "A reply from adding a slicer."
64116428
},
6429+
"addTable": {
6430+
"$ref": "AddTableResponse",
6431+
"description": "A reply from adding a table."
6432+
},
64126433
"cancelDataSourceRefresh": {
64136434
"$ref": "CancelDataSourceRefreshResponse",
64146435
"description": "A reply from cancelling data source object refreshes."

src/apis/sheets/v4.ts

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,15 @@ export namespace sheets_v4 {
312312
*/
313313
table?: Schema$Table;
314314
}
315+
/**
316+
* The result of adding a table.
317+
*/
318+
export interface Schema$AddTableResponse {
319+
/**
320+
* Output only. The table that was added.
321+
*/
322+
table?: Schema$Table;
323+
}
315324
/**
316325
* Adds new cells after the last row with data in a sheet, inserting new rows into the sheet if necessary.
317326
*/
@@ -402,9 +411,13 @@ export namespace sheets_v4 {
402411
*/
403412
export interface Schema$BandedRange {
404413
/**
405-
* The ID of the banded range.
414+
* The ID of the banded range. If unset, refer to banded_range_reference.
406415
*/
407416
bandedRangeId?: number | null;
417+
/**
418+
* Output only. The reference of the banded range, used to identify the ID that is not supported by the banded_range_id.
419+
*/
420+
bandedRangeReference?: string | null;
408421
/**
409422
* Properties for column bands. These properties are applied on a column- by-column basis throughout all the columns in the range. At least one of row_properties or column_properties must be specified.
410423
*/
@@ -3833,6 +3846,10 @@ export namespace sheets_v4 {
38333846
* A reply from adding a slicer.
38343847
*/
38353848
addSlicer?: Schema$AddSlicerResponse;
3849+
/**
3850+
* A reply from adding a table.
3851+
*/
3852+
addTable?: Schema$AddTableResponse;
38363853
/**
38373854
* A reply from cancelling data source object refreshes.
38383855
*/

0 commit comments

Comments
 (0)