@googleapis/sheets 9.7.0 → 10.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/build/index.d.ts +1 -1
- package/build/index.js.map +1 -1
- package/build/v4.d.ts +200 -53
- package/build/v4.js.map +1 -1
- package/index.ts +0 -1
- package/package.json +2 -2
- package/v4.ts +256 -82
package/v4.ts
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
Compute,
|
|
24
24
|
UserRefreshClient,
|
|
25
25
|
BaseExternalAccountClient,
|
|
26
|
-
|
|
26
|
+
GaxiosResponseWithHTTP2,
|
|
27
27
|
GoogleConfigurable,
|
|
28
28
|
createAPIRequest,
|
|
29
29
|
MethodOptions,
|
|
@@ -303,6 +303,15 @@ export namespace sheets_v4 {
|
|
|
303
303
|
*/
|
|
304
304
|
slicer?: Schema$Slicer;
|
|
305
305
|
}
|
|
306
|
+
/**
|
|
307
|
+
* Adds a new table to the spreadsheet.
|
|
308
|
+
*/
|
|
309
|
+
export interface Schema$AddTableRequest {
|
|
310
|
+
/**
|
|
311
|
+
* Required. The table to add.
|
|
312
|
+
*/
|
|
313
|
+
table?: Schema$Table;
|
|
314
|
+
}
|
|
306
315
|
/**
|
|
307
316
|
* Adds new cells after the last row with data in a sheet, inserting new rows into the sheet if necessary.
|
|
308
317
|
*/
|
|
@@ -319,6 +328,10 @@ export namespace sheets_v4 {
|
|
|
319
328
|
* The sheet ID to append the data to.
|
|
320
329
|
*/
|
|
321
330
|
sheetId?: number | null;
|
|
331
|
+
/**
|
|
332
|
+
* The ID of the table to append data to. The data will be only appended to the table body. This field also takes precedence over the `sheet_id` field.
|
|
333
|
+
*/
|
|
334
|
+
tableId?: string | null;
|
|
322
335
|
}
|
|
323
336
|
/**
|
|
324
337
|
* Appends rows or columns to the end of a sheet.
|
|
@@ -631,6 +644,10 @@ export namespace sheets_v4 {
|
|
|
631
644
|
* The sort order per column. Later specifications are used when values are equal in the earlier specifications.
|
|
632
645
|
*/
|
|
633
646
|
sortSpecs?: Schema$SortSpec[];
|
|
647
|
+
/**
|
|
648
|
+
* The table this filter is backed by, if any. When writing, only one of range or table_id may be set.
|
|
649
|
+
*/
|
|
650
|
+
tableId?: string | null;
|
|
634
651
|
}
|
|
635
652
|
/**
|
|
636
653
|
* Style override settings for a single series data point.
|
|
@@ -667,7 +684,7 @@ export namespace sheets_v4 {
|
|
|
667
684
|
*/
|
|
668
685
|
export interface Schema$BatchClearValuesByDataFilterResponse {
|
|
669
686
|
/**
|
|
670
|
-
* The ranges that were cleared, in [A1 notation](/sheets/api/guides/concepts#cell). If the requests are for an unbounded range or a ranger larger than the bounds of the sheet, this is the actual ranges that were cleared, bounded to the sheet's limits.
|
|
687
|
+
* The ranges that were cleared, in [A1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell). If the requests are for an unbounded range or a ranger larger than the bounds of the sheet, this is the actual ranges that were cleared, bounded to the sheet's limits.
|
|
671
688
|
*/
|
|
672
689
|
clearedRanges?: string[] | null;
|
|
673
690
|
/**
|
|
@@ -680,7 +697,7 @@ export namespace sheets_v4 {
|
|
|
680
697
|
*/
|
|
681
698
|
export interface Schema$BatchClearValuesRequest {
|
|
682
699
|
/**
|
|
683
|
-
* The ranges to clear, in [A1 notation or R1C1 notation](/sheets/api/guides/concepts#cell).
|
|
700
|
+
* The ranges to clear, in [A1 notation or R1C1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell).
|
|
684
701
|
*/
|
|
685
702
|
ranges?: string[] | null;
|
|
686
703
|
}
|
|
@@ -1507,7 +1524,7 @@ export namespace sheets_v4 {
|
|
|
1507
1524
|
*/
|
|
1508
1525
|
export interface Schema$ColorStyle {
|
|
1509
1526
|
/**
|
|
1510
|
-
* RGB color. The [`alpha`](/sheets/api/reference/rest/v4/spreadsheets/other#Color.FIELDS.alpha) value in the [`Color`](/sheets/api/reference/rest/v4/spreadsheets/other#color) object isn't generally supported.
|
|
1527
|
+
* RGB color. The [`alpha`](https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/other#Color.FIELDS.alpha) value in the [`Color`](https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/other#color) object isn't generally supported.
|
|
1511
1528
|
*/
|
|
1512
1529
|
rgbColor?: Schema$Color;
|
|
1513
1530
|
/**
|
|
@@ -2145,6 +2162,15 @@ export namespace sheets_v4 {
|
|
|
2145
2162
|
*/
|
|
2146
2163
|
sheetId?: number | null;
|
|
2147
2164
|
}
|
|
2165
|
+
/**
|
|
2166
|
+
* Removes the table with the given ID from the spreadsheet.
|
|
2167
|
+
*/
|
|
2168
|
+
export interface Schema$DeleteTableRequest {
|
|
2169
|
+
/**
|
|
2170
|
+
* The ID of the table to delete.
|
|
2171
|
+
*/
|
|
2172
|
+
tableId?: string | null;
|
|
2173
|
+
}
|
|
2148
2174
|
/**
|
|
2149
2175
|
* Developer metadata associated with a location or object in a spreadsheet. Developer metadata may be used to associate arbitrary data with various parts of a spreadsheet and will remain associated at those locations as they move around and the spreadsheet is edited. For example, if developer metadata is associated with row 5 and another row is then subsequently inserted above row 5, that original metadata will still be associated with the row it was first associated with (what is now row 6). If the associated object is deleted its metadata is deleted too.
|
|
2150
2176
|
*/
|
|
@@ -2504,17 +2530,21 @@ export namespace sheets_v4 {
|
|
|
2504
2530
|
*/
|
|
2505
2531
|
filterViewId?: number | null;
|
|
2506
2532
|
/**
|
|
2507
|
-
* The named range this filter view is backed by, if any. When writing, only one of range or named_range_id may be set.
|
|
2533
|
+
* The named range this filter view is backed by, if any. When writing, only one of range or named_range_id or table_id may be set.
|
|
2508
2534
|
*/
|
|
2509
2535
|
namedRangeId?: string | null;
|
|
2510
2536
|
/**
|
|
2511
|
-
* The range this filter view covers. When writing, only one of range or named_range_id may be set.
|
|
2537
|
+
* The range this filter view covers. When writing, only one of range or named_range_id or table_id may be set.
|
|
2512
2538
|
*/
|
|
2513
2539
|
range?: Schema$GridRange;
|
|
2514
2540
|
/**
|
|
2515
2541
|
* The sort order per column. Later specifications are used when values are equal in the earlier specifications.
|
|
2516
2542
|
*/
|
|
2517
2543
|
sortSpecs?: Schema$SortSpec[];
|
|
2544
|
+
/**
|
|
2545
|
+
* The table this filter view is backed by, if any. When writing, only one of range or named_range_id or table_id may be set.
|
|
2546
|
+
*/
|
|
2547
|
+
tableId?: string | null;
|
|
2518
2548
|
/**
|
|
2519
2549
|
* The name of the filter view.
|
|
2520
2550
|
*/
|
|
@@ -2594,6 +2624,10 @@ export namespace sheets_v4 {
|
|
|
2594
2624
|
* The DataFilters used to select which ranges to retrieve from the spreadsheet.
|
|
2595
2625
|
*/
|
|
2596
2626
|
dataFilters?: Schema$DataFilter[];
|
|
2627
|
+
/**
|
|
2628
|
+
* True if tables should be excluded in the banded ranges. False if not set.
|
|
2629
|
+
*/
|
|
2630
|
+
excludeTablesInBandedRanges?: boolean | null;
|
|
2597
2631
|
/**
|
|
2598
2632
|
* True if grid data should be returned. This parameter is ignored if a field mask was set in the request.
|
|
2599
2633
|
*/
|
|
@@ -2996,7 +3030,7 @@ export namespace sheets_v4 {
|
|
|
2996
3030
|
*/
|
|
2997
3031
|
export interface Schema$NumberFormat {
|
|
2998
3032
|
/**
|
|
2999
|
-
* Pattern string used for formatting. If not set, a default pattern based on the user's locale will be used if necessary for the given type. See the [Date and Number Formats guide](/sheets/api/guides/formats) for more information about the supported patterns.
|
|
3033
|
+
* Pattern string used for formatting. If not set, a default pattern based on the user's locale will be used if necessary for the given type. See the [Date and Number Formats guide](https://developers.google.com/workspace/sheets/api/guides/formats) for more information about the supported patterns.
|
|
3000
3034
|
*/
|
|
3001
3035
|
pattern?: string | null;
|
|
3002
3036
|
/**
|
|
@@ -3368,7 +3402,7 @@ export namespace sheets_v4 {
|
|
|
3368
3402
|
*/
|
|
3369
3403
|
editors?: Schema$Editors;
|
|
3370
3404
|
/**
|
|
3371
|
-
* The named range this protected range is backed by, if any. When writing, only one of range or named_range_id may be set.
|
|
3405
|
+
* The named range this protected range is backed by, if any. When writing, only one of range or named_range_id or table_id may be set.
|
|
3372
3406
|
*/
|
|
3373
3407
|
namedRangeId?: string | null;
|
|
3374
3408
|
/**
|
|
@@ -3376,13 +3410,17 @@ export namespace sheets_v4 {
|
|
|
3376
3410
|
*/
|
|
3377
3411
|
protectedRangeId?: number | null;
|
|
3378
3412
|
/**
|
|
3379
|
-
* The range that is being protected. The range may be fully unbounded, in which case this is considered a protected sheet. When writing, only one of range or named_range_id may be set.
|
|
3413
|
+
* The range that is being protected. The range may be fully unbounded, in which case this is considered a protected sheet. When writing, only one of range or named_range_id or table_id may be set.
|
|
3380
3414
|
*/
|
|
3381
3415
|
range?: Schema$GridRange;
|
|
3382
3416
|
/**
|
|
3383
3417
|
* True if the user who requested this protected range can edit the protected area. This field is read-only.
|
|
3384
3418
|
*/
|
|
3385
3419
|
requestingUserCanEdit?: boolean | null;
|
|
3420
|
+
/**
|
|
3421
|
+
* The table this protected range is backed by, if any. When writing, only one of range or named_range_id or table_id may be set.
|
|
3422
|
+
*/
|
|
3423
|
+
tableId?: string | null;
|
|
3386
3424
|
/**
|
|
3387
3425
|
* The list of unprotected ranges within a protected sheet. Unprotected ranges are only supported on protected sheets.
|
|
3388
3426
|
*/
|
|
@@ -3518,6 +3556,10 @@ export namespace sheets_v4 {
|
|
|
3518
3556
|
* Adds a slicer.
|
|
3519
3557
|
*/
|
|
3520
3558
|
addSlicer?: Schema$AddSlicerRequest;
|
|
3559
|
+
/**
|
|
3560
|
+
* Adds a table.
|
|
3561
|
+
*/
|
|
3562
|
+
addTable?: Schema$AddTableRequest;
|
|
3521
3563
|
/**
|
|
3522
3564
|
* Appends cells after the last row with data in a sheet.
|
|
3523
3565
|
*/
|
|
@@ -3606,6 +3648,10 @@ export namespace sheets_v4 {
|
|
|
3606
3648
|
* Deletes a sheet.
|
|
3607
3649
|
*/
|
|
3608
3650
|
deleteSheet?: Schema$DeleteSheetRequest;
|
|
3651
|
+
/**
|
|
3652
|
+
* A request for deleting a table.
|
|
3653
|
+
*/
|
|
3654
|
+
deleteTable?: Schema$DeleteTableRequest;
|
|
3609
3655
|
/**
|
|
3610
3656
|
* Duplicates a filter view.
|
|
3611
3657
|
*/
|
|
@@ -3742,6 +3788,10 @@ export namespace sheets_v4 {
|
|
|
3742
3788
|
* Updates the spreadsheet's properties.
|
|
3743
3789
|
*/
|
|
3744
3790
|
updateSpreadsheetProperties?: Schema$UpdateSpreadsheetPropertiesRequest;
|
|
3791
|
+
/**
|
|
3792
|
+
* Updates a table.
|
|
3793
|
+
*/
|
|
3794
|
+
updateTable?: Schema$UpdateTableRequest;
|
|
3745
3795
|
}
|
|
3746
3796
|
/**
|
|
3747
3797
|
* A single response from an update.
|
|
@@ -3990,6 +4040,10 @@ export namespace sheets_v4 {
|
|
|
3990
4040
|
* The slicers on this sheet.
|
|
3991
4041
|
*/
|
|
3992
4042
|
slicers?: Schema$Slicer[];
|
|
4043
|
+
/**
|
|
4044
|
+
* The tables on this sheet.
|
|
4045
|
+
*/
|
|
4046
|
+
tables?: Schema$Table[];
|
|
3993
4047
|
}
|
|
3994
4048
|
/**
|
|
3995
4049
|
* Properties of a sheet.
|
|
@@ -4244,6 +4298,82 @@ export namespace sheets_v4 {
|
|
|
4244
4298
|
*/
|
|
4245
4299
|
themeColors?: Schema$ThemeColorPair[];
|
|
4246
4300
|
}
|
|
4301
|
+
/**
|
|
4302
|
+
* A table.
|
|
4303
|
+
*/
|
|
4304
|
+
export interface Schema$Table {
|
|
4305
|
+
/**
|
|
4306
|
+
* The table column properties.
|
|
4307
|
+
*/
|
|
4308
|
+
columnProperties?: Schema$TableColumnProperties[];
|
|
4309
|
+
/**
|
|
4310
|
+
* The table name. This is unique to all tables in the same spreadsheet.
|
|
4311
|
+
*/
|
|
4312
|
+
name?: string | null;
|
|
4313
|
+
/**
|
|
4314
|
+
* The table range.
|
|
4315
|
+
*/
|
|
4316
|
+
range?: Schema$GridRange;
|
|
4317
|
+
/**
|
|
4318
|
+
* The table rows properties.
|
|
4319
|
+
*/
|
|
4320
|
+
rowsProperties?: Schema$TableRowsProperties;
|
|
4321
|
+
/**
|
|
4322
|
+
* The id of the table.
|
|
4323
|
+
*/
|
|
4324
|
+
tableId?: string | null;
|
|
4325
|
+
}
|
|
4326
|
+
/**
|
|
4327
|
+
* A data validation rule for a column in a table.
|
|
4328
|
+
*/
|
|
4329
|
+
export interface Schema$TableColumnDataValidationRule {
|
|
4330
|
+
/**
|
|
4331
|
+
* The condition that data in the cell must match. Valid only if the [BooleanCondition.type] is ONE_OF_LIST.
|
|
4332
|
+
*/
|
|
4333
|
+
condition?: Schema$BooleanCondition;
|
|
4334
|
+
}
|
|
4335
|
+
/**
|
|
4336
|
+
* The table column.
|
|
4337
|
+
*/
|
|
4338
|
+
export interface Schema$TableColumnProperties {
|
|
4339
|
+
/**
|
|
4340
|
+
* The 0-based column index. This index is relative to its position in the table and is not necessarily the same as the column index in the sheet.
|
|
4341
|
+
*/
|
|
4342
|
+
columnIndex?: number | null;
|
|
4343
|
+
/**
|
|
4344
|
+
* The column name.
|
|
4345
|
+
*/
|
|
4346
|
+
columnName?: string | null;
|
|
4347
|
+
/**
|
|
4348
|
+
* The column type.
|
|
4349
|
+
*/
|
|
4350
|
+
columnType?: string | null;
|
|
4351
|
+
/**
|
|
4352
|
+
* The column data validation rule. Only set for dropdown column type.
|
|
4353
|
+
*/
|
|
4354
|
+
dataValidationRule?: Schema$TableColumnDataValidationRule;
|
|
4355
|
+
}
|
|
4356
|
+
/**
|
|
4357
|
+
* The table row properties.
|
|
4358
|
+
*/
|
|
4359
|
+
export interface Schema$TableRowsProperties {
|
|
4360
|
+
/**
|
|
4361
|
+
* The first color that is alternating. If this field is set, the first banded row is filled with the specified color. Otherwise, the first banded row is filled with a default color.
|
|
4362
|
+
*/
|
|
4363
|
+
firstBandColorStyle?: Schema$ColorStyle;
|
|
4364
|
+
/**
|
|
4365
|
+
* The color of the last row. If this field is not set a footer is not added, the last row is filled with either first_band_color_style or second_band_color_style, depending on the color of the previous row. If updating an existing table without a footer to have a footer, the range will be expanded by 1 row. If updating an existing table with a footer and removing a footer, the range will be shrunk by 1 row.
|
|
4366
|
+
*/
|
|
4367
|
+
footerColorStyle?: Schema$ColorStyle;
|
|
4368
|
+
/**
|
|
4369
|
+
* The color of the header row. If this field is set, the header row is filled with the specified color. Otherwise, the header row is filled with a default color.
|
|
4370
|
+
*/
|
|
4371
|
+
headerColorStyle?: Schema$ColorStyle;
|
|
4372
|
+
/**
|
|
4373
|
+
* The second color that is alternating. If this field is set, the second banded row is filled with the specified color. Otherwise, the second banded row is filled with a default color.
|
|
4374
|
+
*/
|
|
4375
|
+
secondBandColorStyle?: Schema$ColorStyle;
|
|
4376
|
+
}
|
|
4247
4377
|
/**
|
|
4248
4378
|
* The format of a run of text in a cell. Absent values indicate that the field isn't specified.
|
|
4249
4379
|
*/
|
|
@@ -4825,6 +4955,19 @@ export namespace sheets_v4 {
|
|
|
4825
4955
|
*/
|
|
4826
4956
|
properties?: Schema$SpreadsheetProperties;
|
|
4827
4957
|
}
|
|
4958
|
+
/**
|
|
4959
|
+
* Updates a table in the spreadsheet.
|
|
4960
|
+
*/
|
|
4961
|
+
export interface Schema$UpdateTableRequest {
|
|
4962
|
+
/**
|
|
4963
|
+
* Required. The fields that should be updated. At least one field must be specified. The root `table` is implied and should not be specified. A single `"*"` can be used as short-hand for listing every field.
|
|
4964
|
+
*/
|
|
4965
|
+
fields?: string | null;
|
|
4966
|
+
/**
|
|
4967
|
+
* Required. The table to update.
|
|
4968
|
+
*/
|
|
4969
|
+
table?: Schema$Table;
|
|
4970
|
+
}
|
|
4828
4971
|
/**
|
|
4829
4972
|
* The response when updating a range of values by a data filter in a spreadsheet.
|
|
4830
4973
|
*/
|
|
@@ -4846,7 +4989,7 @@ export namespace sheets_v4 {
|
|
|
4846
4989
|
*/
|
|
4847
4990
|
updatedData?: Schema$ValueRange;
|
|
4848
4991
|
/**
|
|
4849
|
-
* The range (in [A1 notation](/sheets/api/guides/concepts#cell)) that updates were applied to.
|
|
4992
|
+
* The range (in [A1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell)) that updates were applied to.
|
|
4850
4993
|
*/
|
|
4851
4994
|
updatedRange?: string | null;
|
|
4852
4995
|
/**
|
|
@@ -4892,7 +5035,7 @@ export namespace sheets_v4 {
|
|
|
4892
5035
|
*/
|
|
4893
5036
|
majorDimension?: string | null;
|
|
4894
5037
|
/**
|
|
4895
|
-
* The range the values cover, in [A1 notation](/sheets/api/guides/concepts#cell). For output, this range indicates the entire requested range, even though the values will exclude trailing rows and columns. When appending values, this field represents the range to search for a table, after which values will be appended.
|
|
5038
|
+
* The range the values cover, in [A1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell). For output, this range indicates the entire requested range, even though the values will exclude trailing rows and columns. When appending values, this field represents the range to search for a table, after which values will be appended.
|
|
4896
5039
|
*/
|
|
4897
5040
|
range?: string | null;
|
|
4898
5041
|
/**
|
|
@@ -5039,11 +5182,11 @@ export namespace sheets_v4 {
|
|
|
5039
5182
|
batchUpdate(
|
|
5040
5183
|
params: Params$Resource$Spreadsheets$Batchupdate,
|
|
5041
5184
|
options: StreamMethodOptions
|
|
5042
|
-
):
|
|
5185
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5043
5186
|
batchUpdate(
|
|
5044
5187
|
params?: Params$Resource$Spreadsheets$Batchupdate,
|
|
5045
5188
|
options?: MethodOptions
|
|
5046
|
-
):
|
|
5189
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$BatchUpdateSpreadsheetResponse>>;
|
|
5047
5190
|
batchUpdate(
|
|
5048
5191
|
params: Params$Resource$Spreadsheets$Batchupdate,
|
|
5049
5192
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5078,8 +5221,8 @@ export namespace sheets_v4 {
|
|
|
5078
5221
|
| BodyResponseCallback<Readable>
|
|
5079
5222
|
):
|
|
5080
5223
|
| void
|
|
5081
|
-
|
|
|
5082
|
-
|
|
|
5224
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$BatchUpdateSpreadsheetResponse>>
|
|
5225
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5083
5226
|
let params = (paramsOrCallback ||
|
|
5084
5227
|
{}) as Params$Resource$Spreadsheets$Batchupdate;
|
|
5085
5228
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5135,11 +5278,11 @@ export namespace sheets_v4 {
|
|
|
5135
5278
|
create(
|
|
5136
5279
|
params: Params$Resource$Spreadsheets$Create,
|
|
5137
5280
|
options: StreamMethodOptions
|
|
5138
|
-
):
|
|
5281
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5139
5282
|
create(
|
|
5140
5283
|
params?: Params$Resource$Spreadsheets$Create,
|
|
5141
5284
|
options?: MethodOptions
|
|
5142
|
-
):
|
|
5285
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Spreadsheet>>;
|
|
5143
5286
|
create(
|
|
5144
5287
|
params: Params$Resource$Spreadsheets$Create,
|
|
5145
5288
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5168,7 +5311,10 @@ export namespace sheets_v4 {
|
|
|
5168
5311
|
callback?:
|
|
5169
5312
|
| BodyResponseCallback<Schema$Spreadsheet>
|
|
5170
5313
|
| BodyResponseCallback<Readable>
|
|
5171
|
-
):
|
|
5314
|
+
):
|
|
5315
|
+
| void
|
|
5316
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Spreadsheet>>
|
|
5317
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5172
5318
|
let params = (paramsOrCallback ||
|
|
5173
5319
|
{}) as Params$Resource$Spreadsheets$Create;
|
|
5174
5320
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5210,7 +5356,7 @@ export namespace sheets_v4 {
|
|
|
5210
5356
|
}
|
|
5211
5357
|
|
|
5212
5358
|
/**
|
|
5213
|
-
* Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. By default, data within grids is not returned. You can include grid data in one of 2 ways: * Specify a [field mask](https://developers.google.com/sheets/api/guides/field-masks) listing your desired fields using the `fields` URL parameter in HTTP * Set the includeGridData URL parameter to true. If a field mask is set, the `includeGridData` parameter is ignored For large spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want. To retrieve only subsets of spreadsheet data, use the ranges URL parameter. Ranges are specified using [A1 notation](/sheets/api/guides/concepts#cell). You can define a single cell (for example, `A1`) or multiple cells (for example, `A1:D5`). You can also get cells from other sheets within the same spreadsheet (for example, `Sheet2!A1:C4`) or retrieve multiple ranges at once (for example, `?ranges=A1:D5&ranges=Sheet2!A1:C4`). Limiting the range returns only the portions of the spreadsheet that intersect the requested ranges.
|
|
5359
|
+
* Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. By default, data within grids is not returned. You can include grid data in one of 2 ways: * Specify a [field mask](https://developers.google.com/workspace/sheets/api/guides/field-masks) listing your desired fields using the `fields` URL parameter in HTTP * Set the includeGridData URL parameter to true. If a field mask is set, the `includeGridData` parameter is ignored For large spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want. To retrieve only subsets of spreadsheet data, use the ranges URL parameter. Ranges are specified using [A1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell). You can define a single cell (for example, `A1`) or multiple cells (for example, `A1:D5`). You can also get cells from other sheets within the same spreadsheet (for example, `Sheet2!A1:C4`) or retrieve multiple ranges at once (for example, `?ranges=A1:D5&ranges=Sheet2!A1:C4`). Limiting the range returns only the portions of the spreadsheet that intersect the requested ranges.
|
|
5214
5360
|
*
|
|
5215
5361
|
* @param params - Parameters for request
|
|
5216
5362
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -5220,11 +5366,11 @@ export namespace sheets_v4 {
|
|
|
5220
5366
|
get(
|
|
5221
5367
|
params: Params$Resource$Spreadsheets$Get,
|
|
5222
5368
|
options: StreamMethodOptions
|
|
5223
|
-
):
|
|
5369
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5224
5370
|
get(
|
|
5225
5371
|
params?: Params$Resource$Spreadsheets$Get,
|
|
5226
5372
|
options?: MethodOptions
|
|
5227
|
-
):
|
|
5373
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Spreadsheet>>;
|
|
5228
5374
|
get(
|
|
5229
5375
|
params: Params$Resource$Spreadsheets$Get,
|
|
5230
5376
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5253,7 +5399,10 @@ export namespace sheets_v4 {
|
|
|
5253
5399
|
callback?:
|
|
5254
5400
|
| BodyResponseCallback<Schema$Spreadsheet>
|
|
5255
5401
|
| BodyResponseCallback<Readable>
|
|
5256
|
-
):
|
|
5402
|
+
):
|
|
5403
|
+
| void
|
|
5404
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Spreadsheet>>
|
|
5405
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5257
5406
|
let params = (paramsOrCallback || {}) as Params$Resource$Spreadsheets$Get;
|
|
5258
5407
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
5259
5408
|
|
|
@@ -5297,7 +5446,7 @@ export namespace sheets_v4 {
|
|
|
5297
5446
|
}
|
|
5298
5447
|
|
|
5299
5448
|
/**
|
|
5300
|
-
* Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. This method differs from GetSpreadsheet in that it allows selecting which subsets of spreadsheet data to return by specifying a dataFilters parameter. Multiple DataFilters can be specified. Specifying one or more data filters returns the portions of the spreadsheet that intersect ranges matched by any of the filters. By default, data within grids is not returned. You can include grid data one of 2 ways: * Specify a [field mask](https://developers.google.com/sheets/api/guides/field-masks) listing your desired fields using the `fields` URL parameter in HTTP * Set the includeGridData parameter to true. If a field mask is set, the `includeGridData` parameter is ignored For large spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want.
|
|
5449
|
+
* Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. This method differs from GetSpreadsheet in that it allows selecting which subsets of spreadsheet data to return by specifying a dataFilters parameter. Multiple DataFilters can be specified. Specifying one or more data filters returns the portions of the spreadsheet that intersect ranges matched by any of the filters. By default, data within grids is not returned. You can include grid data one of 2 ways: * Specify a [field mask](https://developers.google.com/workspace/sheets/api/guides/field-masks) listing your desired fields using the `fields` URL parameter in HTTP * Set the includeGridData parameter to true. If a field mask is set, the `includeGridData` parameter is ignored For large spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want.
|
|
5301
5450
|
*
|
|
5302
5451
|
* @param params - Parameters for request
|
|
5303
5452
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -5307,11 +5456,11 @@ export namespace sheets_v4 {
|
|
|
5307
5456
|
getByDataFilter(
|
|
5308
5457
|
params: Params$Resource$Spreadsheets$Getbydatafilter,
|
|
5309
5458
|
options: StreamMethodOptions
|
|
5310
|
-
):
|
|
5459
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5311
5460
|
getByDataFilter(
|
|
5312
5461
|
params?: Params$Resource$Spreadsheets$Getbydatafilter,
|
|
5313
5462
|
options?: MethodOptions
|
|
5314
|
-
):
|
|
5463
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Spreadsheet>>;
|
|
5315
5464
|
getByDataFilter(
|
|
5316
5465
|
params: Params$Resource$Spreadsheets$Getbydatafilter,
|
|
5317
5466
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5340,7 +5489,10 @@ export namespace sheets_v4 {
|
|
|
5340
5489
|
callback?:
|
|
5341
5490
|
| BodyResponseCallback<Schema$Spreadsheet>
|
|
5342
5491
|
| BodyResponseCallback<Readable>
|
|
5343
|
-
):
|
|
5492
|
+
):
|
|
5493
|
+
| void
|
|
5494
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Spreadsheet>>
|
|
5495
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5344
5496
|
let params = (paramsOrCallback ||
|
|
5345
5497
|
{}) as Params$Resource$Spreadsheets$Getbydatafilter;
|
|
5346
5498
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5404,6 +5556,10 @@ export namespace sheets_v4 {
|
|
|
5404
5556
|
requestBody?: Schema$Spreadsheet;
|
|
5405
5557
|
}
|
|
5406
5558
|
export interface Params$Resource$Spreadsheets$Get extends StandardParameters {
|
|
5559
|
+
/**
|
|
5560
|
+
* True if tables should be excluded in the banded ranges. False if not set.
|
|
5561
|
+
*/
|
|
5562
|
+
excludeTablesInBandedRanges?: boolean;
|
|
5407
5563
|
/**
|
|
5408
5564
|
* True if grid data should be returned. This parameter is ignored if a field mask was set in the request.
|
|
5409
5565
|
*/
|
|
@@ -5447,11 +5603,11 @@ export namespace sheets_v4 {
|
|
|
5447
5603
|
get(
|
|
5448
5604
|
params: Params$Resource$Spreadsheets$Developermetadata$Get,
|
|
5449
5605
|
options: StreamMethodOptions
|
|
5450
|
-
):
|
|
5606
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5451
5607
|
get(
|
|
5452
5608
|
params?: Params$Resource$Spreadsheets$Developermetadata$Get,
|
|
5453
5609
|
options?: MethodOptions
|
|
5454
|
-
):
|
|
5610
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$DeveloperMetadata>>;
|
|
5455
5611
|
get(
|
|
5456
5612
|
params: Params$Resource$Spreadsheets$Developermetadata$Get,
|
|
5457
5613
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5482,8 +5638,8 @@ export namespace sheets_v4 {
|
|
|
5482
5638
|
| BodyResponseCallback<Readable>
|
|
5483
5639
|
):
|
|
5484
5640
|
| void
|
|
5485
|
-
|
|
|
5486
|
-
|
|
|
5641
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$DeveloperMetadata>>
|
|
5642
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5487
5643
|
let params = (paramsOrCallback ||
|
|
5488
5644
|
{}) as Params$Resource$Spreadsheets$Developermetadata$Get;
|
|
5489
5645
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5538,11 +5694,11 @@ export namespace sheets_v4 {
|
|
|
5538
5694
|
search(
|
|
5539
5695
|
params: Params$Resource$Spreadsheets$Developermetadata$Search,
|
|
5540
5696
|
options: StreamMethodOptions
|
|
5541
|
-
):
|
|
5697
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5542
5698
|
search(
|
|
5543
5699
|
params?: Params$Resource$Spreadsheets$Developermetadata$Search,
|
|
5544
5700
|
options?: MethodOptions
|
|
5545
|
-
):
|
|
5701
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$SearchDeveloperMetadataResponse>>;
|
|
5546
5702
|
search(
|
|
5547
5703
|
params: Params$Resource$Spreadsheets$Developermetadata$Search,
|
|
5548
5704
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5577,8 +5733,8 @@ export namespace sheets_v4 {
|
|
|
5577
5733
|
| BodyResponseCallback<Readable>
|
|
5578
5734
|
):
|
|
5579
5735
|
| void
|
|
5580
|
-
|
|
|
5581
|
-
|
|
|
5736
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$SearchDeveloperMetadataResponse>>
|
|
5737
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5582
5738
|
let params = (paramsOrCallback ||
|
|
5583
5739
|
{}) as Params$Resource$Spreadsheets$Developermetadata$Search;
|
|
5584
5740
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5666,11 +5822,11 @@ export namespace sheets_v4 {
|
|
|
5666
5822
|
copyTo(
|
|
5667
5823
|
params: Params$Resource$Spreadsheets$Sheets$Copyto,
|
|
5668
5824
|
options: StreamMethodOptions
|
|
5669
|
-
):
|
|
5825
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5670
5826
|
copyTo(
|
|
5671
5827
|
params?: Params$Resource$Spreadsheets$Sheets$Copyto,
|
|
5672
5828
|
options?: MethodOptions
|
|
5673
|
-
):
|
|
5829
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$SheetProperties>>;
|
|
5674
5830
|
copyTo(
|
|
5675
5831
|
params: Params$Resource$Spreadsheets$Sheets$Copyto,
|
|
5676
5832
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5699,7 +5855,10 @@ export namespace sheets_v4 {
|
|
|
5699
5855
|
callback?:
|
|
5700
5856
|
| BodyResponseCallback<Schema$SheetProperties>
|
|
5701
5857
|
| BodyResponseCallback<Readable>
|
|
5702
|
-
):
|
|
5858
|
+
):
|
|
5859
|
+
| void
|
|
5860
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$SheetProperties>>
|
|
5861
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5703
5862
|
let params = (paramsOrCallback ||
|
|
5704
5863
|
{}) as Params$Resource$Spreadsheets$Sheets$Copyto;
|
|
5705
5864
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5768,7 +5927,7 @@ export namespace sheets_v4 {
|
|
|
5768
5927
|
}
|
|
5769
5928
|
|
|
5770
5929
|
/**
|
|
5771
|
-
* Appends values to a spreadsheet. The input range is used to search for existing data and find a "table" within that range. Values will be appended to the next row of the table, starting with the first column of the table. See the [guide](/sheets/api/guides/values#appending_values) and [sample code](/sheets/api/samples/writing#append_values) for specific details of how tables are detected and data is appended. The caller must specify the spreadsheet ID, range, and a valueInputOption. The `valueInputOption` only controls how the input data will be added to the sheet (column-wise or row-wise), it does not influence what cell the data starts being written to.
|
|
5930
|
+
* Appends values to a spreadsheet. The input range is used to search for existing data and find a "table" within that range. Values will be appended to the next row of the table, starting with the first column of the table. See the [guide](https://developers.google.com/workspace/sheets/api/guides/values#appending_values) and [sample code](https://developers.google.com/workspace/sheets/api/samples/writing#append_values) for specific details of how tables are detected and data is appended. The caller must specify the spreadsheet ID, range, and a valueInputOption. The `valueInputOption` only controls how the input data will be added to the sheet (column-wise or row-wise), it does not influence what cell the data starts being written to.
|
|
5772
5931
|
*
|
|
5773
5932
|
* @param params - Parameters for request
|
|
5774
5933
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -5778,11 +5937,11 @@ export namespace sheets_v4 {
|
|
|
5778
5937
|
append(
|
|
5779
5938
|
params: Params$Resource$Spreadsheets$Values$Append,
|
|
5780
5939
|
options: StreamMethodOptions
|
|
5781
|
-
):
|
|
5940
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5782
5941
|
append(
|
|
5783
5942
|
params?: Params$Resource$Spreadsheets$Values$Append,
|
|
5784
5943
|
options?: MethodOptions
|
|
5785
|
-
):
|
|
5944
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$AppendValuesResponse>>;
|
|
5786
5945
|
append(
|
|
5787
5946
|
params: Params$Resource$Spreadsheets$Values$Append,
|
|
5788
5947
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5815,8 +5974,8 @@ export namespace sheets_v4 {
|
|
|
5815
5974
|
| BodyResponseCallback<Readable>
|
|
5816
5975
|
):
|
|
5817
5976
|
| void
|
|
5818
|
-
|
|
|
5819
|
-
|
|
|
5977
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$AppendValuesResponse>>
|
|
5978
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5820
5979
|
let params = (paramsOrCallback ||
|
|
5821
5980
|
{}) as Params$Resource$Spreadsheets$Values$Append;
|
|
5822
5981
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5870,11 +6029,11 @@ export namespace sheets_v4 {
|
|
|
5870
6029
|
batchClear(
|
|
5871
6030
|
params: Params$Resource$Spreadsheets$Values$Batchclear,
|
|
5872
6031
|
options: StreamMethodOptions
|
|
5873
|
-
):
|
|
6032
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5874
6033
|
batchClear(
|
|
5875
6034
|
params?: Params$Resource$Spreadsheets$Values$Batchclear,
|
|
5876
6035
|
options?: MethodOptions
|
|
5877
|
-
):
|
|
6036
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$BatchClearValuesResponse>>;
|
|
5878
6037
|
batchClear(
|
|
5879
6038
|
params: Params$Resource$Spreadsheets$Values$Batchclear,
|
|
5880
6039
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5909,8 +6068,8 @@ export namespace sheets_v4 {
|
|
|
5909
6068
|
| BodyResponseCallback<Readable>
|
|
5910
6069
|
):
|
|
5911
6070
|
| void
|
|
5912
|
-
|
|
|
5913
|
-
|
|
|
6071
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$BatchClearValuesResponse>>
|
|
6072
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5914
6073
|
let params = (paramsOrCallback ||
|
|
5915
6074
|
{}) as Params$Resource$Spreadsheets$Values$Batchclear;
|
|
5916
6075
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5964,11 +6123,13 @@ export namespace sheets_v4 {
|
|
|
5964
6123
|
batchClearByDataFilter(
|
|
5965
6124
|
params: Params$Resource$Spreadsheets$Values$Batchclearbydatafilter,
|
|
5966
6125
|
options: StreamMethodOptions
|
|
5967
|
-
):
|
|
6126
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5968
6127
|
batchClearByDataFilter(
|
|
5969
6128
|
params?: Params$Resource$Spreadsheets$Values$Batchclearbydatafilter,
|
|
5970
6129
|
options?: MethodOptions
|
|
5971
|
-
):
|
|
6130
|
+
): Promise<
|
|
6131
|
+
GaxiosResponseWithHTTP2<Schema$BatchClearValuesByDataFilterResponse>
|
|
6132
|
+
>;
|
|
5972
6133
|
batchClearByDataFilter(
|
|
5973
6134
|
params: Params$Resource$Spreadsheets$Values$Batchclearbydatafilter,
|
|
5974
6135
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6003,8 +6164,10 @@ export namespace sheets_v4 {
|
|
|
6003
6164
|
| BodyResponseCallback<Readable>
|
|
6004
6165
|
):
|
|
6005
6166
|
| void
|
|
6006
|
-
|
|
|
6007
|
-
|
|
6167
|
+
| Promise<
|
|
6168
|
+
GaxiosResponseWithHTTP2<Schema$BatchClearValuesByDataFilterResponse>
|
|
6169
|
+
>
|
|
6170
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6008
6171
|
let params = (paramsOrCallback ||
|
|
6009
6172
|
{}) as Params$Resource$Spreadsheets$Values$Batchclearbydatafilter;
|
|
6010
6173
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -6062,11 +6225,11 @@ export namespace sheets_v4 {
|
|
|
6062
6225
|
batchGet(
|
|
6063
6226
|
params: Params$Resource$Spreadsheets$Values$Batchget,
|
|
6064
6227
|
options: StreamMethodOptions
|
|
6065
|
-
):
|
|
6228
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6066
6229
|
batchGet(
|
|
6067
6230
|
params?: Params$Resource$Spreadsheets$Values$Batchget,
|
|
6068
6231
|
options?: MethodOptions
|
|
6069
|
-
):
|
|
6232
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$BatchGetValuesResponse>>;
|
|
6070
6233
|
batchGet(
|
|
6071
6234
|
params: Params$Resource$Spreadsheets$Values$Batchget,
|
|
6072
6235
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6101,8 +6264,8 @@ export namespace sheets_v4 {
|
|
|
6101
6264
|
| BodyResponseCallback<Readable>
|
|
6102
6265
|
):
|
|
6103
6266
|
| void
|
|
6104
|
-
|
|
|
6105
|
-
|
|
|
6267
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$BatchGetValuesResponse>>
|
|
6268
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6106
6269
|
let params = (paramsOrCallback ||
|
|
6107
6270
|
{}) as Params$Resource$Spreadsheets$Values$Batchget;
|
|
6108
6271
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -6156,11 +6319,13 @@ export namespace sheets_v4 {
|
|
|
6156
6319
|
batchGetByDataFilter(
|
|
6157
6320
|
params: Params$Resource$Spreadsheets$Values$Batchgetbydatafilter,
|
|
6158
6321
|
options: StreamMethodOptions
|
|
6159
|
-
):
|
|
6322
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6160
6323
|
batchGetByDataFilter(
|
|
6161
6324
|
params?: Params$Resource$Spreadsheets$Values$Batchgetbydatafilter,
|
|
6162
6325
|
options?: MethodOptions
|
|
6163
|
-
):
|
|
6326
|
+
): Promise<
|
|
6327
|
+
GaxiosResponseWithHTTP2<Schema$BatchGetValuesByDataFilterResponse>
|
|
6328
|
+
>;
|
|
6164
6329
|
batchGetByDataFilter(
|
|
6165
6330
|
params: Params$Resource$Spreadsheets$Values$Batchgetbydatafilter,
|
|
6166
6331
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6195,8 +6360,10 @@ export namespace sheets_v4 {
|
|
|
6195
6360
|
| BodyResponseCallback<Readable>
|
|
6196
6361
|
):
|
|
6197
6362
|
| void
|
|
6198
|
-
|
|
|
6199
|
-
|
|
6363
|
+
| Promise<
|
|
6364
|
+
GaxiosResponseWithHTTP2<Schema$BatchGetValuesByDataFilterResponse>
|
|
6365
|
+
>
|
|
6366
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6200
6367
|
let params = (paramsOrCallback ||
|
|
6201
6368
|
{}) as Params$Resource$Spreadsheets$Values$Batchgetbydatafilter;
|
|
6202
6369
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -6253,11 +6420,11 @@ export namespace sheets_v4 {
|
|
|
6253
6420
|
batchUpdate(
|
|
6254
6421
|
params: Params$Resource$Spreadsheets$Values$Batchupdate,
|
|
6255
6422
|
options: StreamMethodOptions
|
|
6256
|
-
):
|
|
6423
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6257
6424
|
batchUpdate(
|
|
6258
6425
|
params?: Params$Resource$Spreadsheets$Values$Batchupdate,
|
|
6259
6426
|
options?: MethodOptions
|
|
6260
|
-
):
|
|
6427
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$BatchUpdateValuesResponse>>;
|
|
6261
6428
|
batchUpdate(
|
|
6262
6429
|
params: Params$Resource$Spreadsheets$Values$Batchupdate,
|
|
6263
6430
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6292,8 +6459,8 @@ export namespace sheets_v4 {
|
|
|
6292
6459
|
| BodyResponseCallback<Readable>
|
|
6293
6460
|
):
|
|
6294
6461
|
| void
|
|
6295
|
-
|
|
|
6296
|
-
|
|
|
6462
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$BatchUpdateValuesResponse>>
|
|
6463
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6297
6464
|
let params = (paramsOrCallback ||
|
|
6298
6465
|
{}) as Params$Resource$Spreadsheets$Values$Batchupdate;
|
|
6299
6466
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -6347,11 +6514,13 @@ export namespace sheets_v4 {
|
|
|
6347
6514
|
batchUpdateByDataFilter(
|
|
6348
6515
|
params: Params$Resource$Spreadsheets$Values$Batchupdatebydatafilter,
|
|
6349
6516
|
options: StreamMethodOptions
|
|
6350
|
-
):
|
|
6517
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6351
6518
|
batchUpdateByDataFilter(
|
|
6352
6519
|
params?: Params$Resource$Spreadsheets$Values$Batchupdatebydatafilter,
|
|
6353
6520
|
options?: MethodOptions
|
|
6354
|
-
):
|
|
6521
|
+
): Promise<
|
|
6522
|
+
GaxiosResponseWithHTTP2<Schema$BatchUpdateValuesByDataFilterResponse>
|
|
6523
|
+
>;
|
|
6355
6524
|
batchUpdateByDataFilter(
|
|
6356
6525
|
params: Params$Resource$Spreadsheets$Values$Batchupdatebydatafilter,
|
|
6357
6526
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6386,8 +6555,10 @@ export namespace sheets_v4 {
|
|
|
6386
6555
|
| BodyResponseCallback<Readable>
|
|
6387
6556
|
):
|
|
6388
6557
|
| void
|
|
6389
|
-
|
|
|
6390
|
-
|
|
6558
|
+
| Promise<
|
|
6559
|
+
GaxiosResponseWithHTTP2<Schema$BatchUpdateValuesByDataFilterResponse>
|
|
6560
|
+
>
|
|
6561
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6391
6562
|
let params = (paramsOrCallback ||
|
|
6392
6563
|
{}) as Params$Resource$Spreadsheets$Values$Batchupdatebydatafilter;
|
|
6393
6564
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -6445,11 +6616,11 @@ export namespace sheets_v4 {
|
|
|
6445
6616
|
clear(
|
|
6446
6617
|
params: Params$Resource$Spreadsheets$Values$Clear,
|
|
6447
6618
|
options: StreamMethodOptions
|
|
6448
|
-
):
|
|
6619
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6449
6620
|
clear(
|
|
6450
6621
|
params?: Params$Resource$Spreadsheets$Values$Clear,
|
|
6451
6622
|
options?: MethodOptions
|
|
6452
|
-
):
|
|
6623
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ClearValuesResponse>>;
|
|
6453
6624
|
clear(
|
|
6454
6625
|
params: Params$Resource$Spreadsheets$Values$Clear,
|
|
6455
6626
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6480,8 +6651,8 @@ export namespace sheets_v4 {
|
|
|
6480
6651
|
| BodyResponseCallback<Readable>
|
|
6481
6652
|
):
|
|
6482
6653
|
| void
|
|
6483
|
-
|
|
|
6484
|
-
|
|
|
6654
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ClearValuesResponse>>
|
|
6655
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6485
6656
|
let params = (paramsOrCallback ||
|
|
6486
6657
|
{}) as Params$Resource$Spreadsheets$Values$Clear;
|
|
6487
6658
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -6535,11 +6706,11 @@ export namespace sheets_v4 {
|
|
|
6535
6706
|
get(
|
|
6536
6707
|
params: Params$Resource$Spreadsheets$Values$Get,
|
|
6537
6708
|
options: StreamMethodOptions
|
|
6538
|
-
):
|
|
6709
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6539
6710
|
get(
|
|
6540
6711
|
params?: Params$Resource$Spreadsheets$Values$Get,
|
|
6541
6712
|
options?: MethodOptions
|
|
6542
|
-
):
|
|
6713
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ValueRange>>;
|
|
6543
6714
|
get(
|
|
6544
6715
|
params: Params$Resource$Spreadsheets$Values$Get,
|
|
6545
6716
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6568,7 +6739,10 @@ export namespace sheets_v4 {
|
|
|
6568
6739
|
callback?:
|
|
6569
6740
|
| BodyResponseCallback<Schema$ValueRange>
|
|
6570
6741
|
| BodyResponseCallback<Readable>
|
|
6571
|
-
):
|
|
6742
|
+
):
|
|
6743
|
+
| void
|
|
6744
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ValueRange>>
|
|
6745
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6572
6746
|
let params = (paramsOrCallback ||
|
|
6573
6747
|
{}) as Params$Resource$Spreadsheets$Values$Get;
|
|
6574
6748
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -6622,11 +6796,11 @@ export namespace sheets_v4 {
|
|
|
6622
6796
|
update(
|
|
6623
6797
|
params: Params$Resource$Spreadsheets$Values$Update,
|
|
6624
6798
|
options: StreamMethodOptions
|
|
6625
|
-
):
|
|
6799
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6626
6800
|
update(
|
|
6627
6801
|
params?: Params$Resource$Spreadsheets$Values$Update,
|
|
6628
6802
|
options?: MethodOptions
|
|
6629
|
-
):
|
|
6803
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$UpdateValuesResponse>>;
|
|
6630
6804
|
update(
|
|
6631
6805
|
params: Params$Resource$Spreadsheets$Values$Update,
|
|
6632
6806
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6659,8 +6833,8 @@ export namespace sheets_v4 {
|
|
|
6659
6833
|
| BodyResponseCallback<Readable>
|
|
6660
6834
|
):
|
|
6661
6835
|
| void
|
|
6662
|
-
|
|
|
6663
|
-
|
|
|
6836
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$UpdateValuesResponse>>
|
|
6837
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6664
6838
|
let params = (paramsOrCallback ||
|
|
6665
6839
|
{}) as Params$Resource$Spreadsheets$Values$Update;
|
|
6666
6840
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -6715,7 +6889,7 @@ export namespace sheets_v4 {
|
|
|
6715
6889
|
*/
|
|
6716
6890
|
insertDataOption?: string;
|
|
6717
6891
|
/**
|
|
6718
|
-
* The [A1 notation](/sheets/api/guides/concepts#cell) of a range to search for a logical table of data. Values are appended after the last row of the table.
|
|
6892
|
+
* The [A1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell) of a range to search for a logical table of data. Values are appended after the last row of the table.
|
|
6719
6893
|
*/
|
|
6720
6894
|
range?: string;
|
|
6721
6895
|
/**
|
|
@@ -6775,7 +6949,7 @@ export namespace sheets_v4 {
|
|
|
6775
6949
|
*/
|
|
6776
6950
|
majorDimension?: string;
|
|
6777
6951
|
/**
|
|
6778
|
-
* The [A1 notation or R1C1 notation](/sheets/api/guides/concepts#cell) of the range to retrieve values from.
|
|
6952
|
+
* The [A1 notation or R1C1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell) of the range to retrieve values from.
|
|
6779
6953
|
*/
|
|
6780
6954
|
ranges?: string[];
|
|
6781
6955
|
/**
|
|
@@ -6826,7 +7000,7 @@ export namespace sheets_v4 {
|
|
|
6826
7000
|
export interface Params$Resource$Spreadsheets$Values$Clear
|
|
6827
7001
|
extends StandardParameters {
|
|
6828
7002
|
/**
|
|
6829
|
-
* The [A1 notation or R1C1 notation](/sheets/api/guides/concepts#cell) of the values to clear.
|
|
7003
|
+
* The [A1 notation or R1C1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell) of the values to clear.
|
|
6830
7004
|
*/
|
|
6831
7005
|
range?: string;
|
|
6832
7006
|
/**
|
|
@@ -6850,7 +7024,7 @@ export namespace sheets_v4 {
|
|
|
6850
7024
|
*/
|
|
6851
7025
|
majorDimension?: string;
|
|
6852
7026
|
/**
|
|
6853
|
-
* The [A1 notation or R1C1 notation](/sheets/api/guides/concepts#cell) of the range to retrieve values from.
|
|
7027
|
+
* The [A1 notation or R1C1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell) of the range to retrieve values from.
|
|
6854
7028
|
*/
|
|
6855
7029
|
range?: string;
|
|
6856
7030
|
/**
|
|
@@ -6869,7 +7043,7 @@ export namespace sheets_v4 {
|
|
|
6869
7043
|
*/
|
|
6870
7044
|
includeValuesInResponse?: boolean;
|
|
6871
7045
|
/**
|
|
6872
|
-
* The [A1 notation](/sheets/api/guides/concepts#cell) of the values to update.
|
|
7046
|
+
* The [A1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell) of the values to update.
|
|
6873
7047
|
*/
|
|
6874
7048
|
range?: string;
|
|
6875
7049
|
/**
|