@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/build/v4.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient,
|
|
2
|
+
import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosResponseWithHTTP2, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
|
|
3
3
|
import { Readable } from 'stream';
|
|
4
4
|
export declare namespace sheets_v4 {
|
|
5
5
|
export interface Options extends GlobalOptions {
|
|
@@ -250,6 +250,15 @@ export declare namespace sheets_v4 {
|
|
|
250
250
|
*/
|
|
251
251
|
slicer?: Schema$Slicer;
|
|
252
252
|
}
|
|
253
|
+
/**
|
|
254
|
+
* Adds a new table to the spreadsheet.
|
|
255
|
+
*/
|
|
256
|
+
export interface Schema$AddTableRequest {
|
|
257
|
+
/**
|
|
258
|
+
* Required. The table to add.
|
|
259
|
+
*/
|
|
260
|
+
table?: Schema$Table;
|
|
261
|
+
}
|
|
253
262
|
/**
|
|
254
263
|
* Adds new cells after the last row with data in a sheet, inserting new rows into the sheet if necessary.
|
|
255
264
|
*/
|
|
@@ -266,6 +275,10 @@ export declare namespace sheets_v4 {
|
|
|
266
275
|
* The sheet ID to append the data to.
|
|
267
276
|
*/
|
|
268
277
|
sheetId?: number | null;
|
|
278
|
+
/**
|
|
279
|
+
* 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.
|
|
280
|
+
*/
|
|
281
|
+
tableId?: string | null;
|
|
269
282
|
}
|
|
270
283
|
/**
|
|
271
284
|
* Appends rows or columns to the end of a sheet.
|
|
@@ -580,6 +593,10 @@ export declare namespace sheets_v4 {
|
|
|
580
593
|
* The sort order per column. Later specifications are used when values are equal in the earlier specifications.
|
|
581
594
|
*/
|
|
582
595
|
sortSpecs?: Schema$SortSpec[];
|
|
596
|
+
/**
|
|
597
|
+
* The table this filter is backed by, if any. When writing, only one of range or table_id may be set.
|
|
598
|
+
*/
|
|
599
|
+
tableId?: string | null;
|
|
583
600
|
}
|
|
584
601
|
/**
|
|
585
602
|
* Style override settings for a single series data point.
|
|
@@ -616,7 +633,7 @@ export declare namespace sheets_v4 {
|
|
|
616
633
|
*/
|
|
617
634
|
export interface Schema$BatchClearValuesByDataFilterResponse {
|
|
618
635
|
/**
|
|
619
|
-
* 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.
|
|
636
|
+
* 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.
|
|
620
637
|
*/
|
|
621
638
|
clearedRanges?: string[] | null;
|
|
622
639
|
/**
|
|
@@ -629,7 +646,7 @@ export declare namespace sheets_v4 {
|
|
|
629
646
|
*/
|
|
630
647
|
export interface Schema$BatchClearValuesRequest {
|
|
631
648
|
/**
|
|
632
|
-
* The ranges to clear, in [A1 notation or R1C1 notation](/sheets/api/guides/concepts#cell).
|
|
649
|
+
* The ranges to clear, in [A1 notation or R1C1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell).
|
|
633
650
|
*/
|
|
634
651
|
ranges?: string[] | null;
|
|
635
652
|
}
|
|
@@ -1457,7 +1474,7 @@ export declare namespace sheets_v4 {
|
|
|
1457
1474
|
*/
|
|
1458
1475
|
export interface Schema$ColorStyle {
|
|
1459
1476
|
/**
|
|
1460
|
-
* 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.
|
|
1477
|
+
* 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.
|
|
1461
1478
|
*/
|
|
1462
1479
|
rgbColor?: Schema$Color;
|
|
1463
1480
|
/**
|
|
@@ -2095,6 +2112,15 @@ export declare namespace sheets_v4 {
|
|
|
2095
2112
|
*/
|
|
2096
2113
|
sheetId?: number | null;
|
|
2097
2114
|
}
|
|
2115
|
+
/**
|
|
2116
|
+
* Removes the table with the given ID from the spreadsheet.
|
|
2117
|
+
*/
|
|
2118
|
+
export interface Schema$DeleteTableRequest {
|
|
2119
|
+
/**
|
|
2120
|
+
* The ID of the table to delete.
|
|
2121
|
+
*/
|
|
2122
|
+
tableId?: string | null;
|
|
2123
|
+
}
|
|
2098
2124
|
/**
|
|
2099
2125
|
* 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.
|
|
2100
2126
|
*/
|
|
@@ -2456,17 +2482,21 @@ export declare namespace sheets_v4 {
|
|
|
2456
2482
|
*/
|
|
2457
2483
|
filterViewId?: number | null;
|
|
2458
2484
|
/**
|
|
2459
|
-
* The named range this filter view is backed by, if any. When writing, only one of range or named_range_id may be set.
|
|
2485
|
+
* 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.
|
|
2460
2486
|
*/
|
|
2461
2487
|
namedRangeId?: string | null;
|
|
2462
2488
|
/**
|
|
2463
|
-
* The range this filter view covers. When writing, only one of range or named_range_id may be set.
|
|
2489
|
+
* The range this filter view covers. When writing, only one of range or named_range_id or table_id may be set.
|
|
2464
2490
|
*/
|
|
2465
2491
|
range?: Schema$GridRange;
|
|
2466
2492
|
/**
|
|
2467
2493
|
* The sort order per column. Later specifications are used when values are equal in the earlier specifications.
|
|
2468
2494
|
*/
|
|
2469
2495
|
sortSpecs?: Schema$SortSpec[];
|
|
2496
|
+
/**
|
|
2497
|
+
* 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.
|
|
2498
|
+
*/
|
|
2499
|
+
tableId?: string | null;
|
|
2470
2500
|
/**
|
|
2471
2501
|
* The name of the filter view.
|
|
2472
2502
|
*/
|
|
@@ -2546,6 +2576,10 @@ export declare namespace sheets_v4 {
|
|
|
2546
2576
|
* The DataFilters used to select which ranges to retrieve from the spreadsheet.
|
|
2547
2577
|
*/
|
|
2548
2578
|
dataFilters?: Schema$DataFilter[];
|
|
2579
|
+
/**
|
|
2580
|
+
* True if tables should be excluded in the banded ranges. False if not set.
|
|
2581
|
+
*/
|
|
2582
|
+
excludeTablesInBandedRanges?: boolean | null;
|
|
2549
2583
|
/**
|
|
2550
2584
|
* True if grid data should be returned. This parameter is ignored if a field mask was set in the request.
|
|
2551
2585
|
*/
|
|
@@ -2948,7 +2982,7 @@ export declare namespace sheets_v4 {
|
|
|
2948
2982
|
*/
|
|
2949
2983
|
export interface Schema$NumberFormat {
|
|
2950
2984
|
/**
|
|
2951
|
-
* 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.
|
|
2985
|
+
* 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.
|
|
2952
2986
|
*/
|
|
2953
2987
|
pattern?: string | null;
|
|
2954
2988
|
/**
|
|
@@ -3322,7 +3356,7 @@ export declare namespace sheets_v4 {
|
|
|
3322
3356
|
*/
|
|
3323
3357
|
editors?: Schema$Editors;
|
|
3324
3358
|
/**
|
|
3325
|
-
* The named range this protected range is backed by, if any. When writing, only one of range or named_range_id may be set.
|
|
3359
|
+
* 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.
|
|
3326
3360
|
*/
|
|
3327
3361
|
namedRangeId?: string | null;
|
|
3328
3362
|
/**
|
|
@@ -3330,13 +3364,17 @@ export declare namespace sheets_v4 {
|
|
|
3330
3364
|
*/
|
|
3331
3365
|
protectedRangeId?: number | null;
|
|
3332
3366
|
/**
|
|
3333
|
-
* 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.
|
|
3367
|
+
* 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.
|
|
3334
3368
|
*/
|
|
3335
3369
|
range?: Schema$GridRange;
|
|
3336
3370
|
/**
|
|
3337
3371
|
* True if the user who requested this protected range can edit the protected area. This field is read-only.
|
|
3338
3372
|
*/
|
|
3339
3373
|
requestingUserCanEdit?: boolean | null;
|
|
3374
|
+
/**
|
|
3375
|
+
* 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.
|
|
3376
|
+
*/
|
|
3377
|
+
tableId?: string | null;
|
|
3340
3378
|
/**
|
|
3341
3379
|
* The list of unprotected ranges within a protected sheet. Unprotected ranges are only supported on protected sheets.
|
|
3342
3380
|
*/
|
|
@@ -3472,6 +3510,10 @@ export declare namespace sheets_v4 {
|
|
|
3472
3510
|
* Adds a slicer.
|
|
3473
3511
|
*/
|
|
3474
3512
|
addSlicer?: Schema$AddSlicerRequest;
|
|
3513
|
+
/**
|
|
3514
|
+
* Adds a table.
|
|
3515
|
+
*/
|
|
3516
|
+
addTable?: Schema$AddTableRequest;
|
|
3475
3517
|
/**
|
|
3476
3518
|
* Appends cells after the last row with data in a sheet.
|
|
3477
3519
|
*/
|
|
@@ -3560,6 +3602,10 @@ export declare namespace sheets_v4 {
|
|
|
3560
3602
|
* Deletes a sheet.
|
|
3561
3603
|
*/
|
|
3562
3604
|
deleteSheet?: Schema$DeleteSheetRequest;
|
|
3605
|
+
/**
|
|
3606
|
+
* A request for deleting a table.
|
|
3607
|
+
*/
|
|
3608
|
+
deleteTable?: Schema$DeleteTableRequest;
|
|
3563
3609
|
/**
|
|
3564
3610
|
* Duplicates a filter view.
|
|
3565
3611
|
*/
|
|
@@ -3696,6 +3742,10 @@ export declare namespace sheets_v4 {
|
|
|
3696
3742
|
* Updates the spreadsheet's properties.
|
|
3697
3743
|
*/
|
|
3698
3744
|
updateSpreadsheetProperties?: Schema$UpdateSpreadsheetPropertiesRequest;
|
|
3745
|
+
/**
|
|
3746
|
+
* Updates a table.
|
|
3747
|
+
*/
|
|
3748
|
+
updateTable?: Schema$UpdateTableRequest;
|
|
3699
3749
|
}
|
|
3700
3750
|
/**
|
|
3701
3751
|
* A single response from an update.
|
|
@@ -3944,6 +3994,10 @@ export declare namespace sheets_v4 {
|
|
|
3944
3994
|
* The slicers on this sheet.
|
|
3945
3995
|
*/
|
|
3946
3996
|
slicers?: Schema$Slicer[];
|
|
3997
|
+
/**
|
|
3998
|
+
* The tables on this sheet.
|
|
3999
|
+
*/
|
|
4000
|
+
tables?: Schema$Table[];
|
|
3947
4001
|
}
|
|
3948
4002
|
/**
|
|
3949
4003
|
* Properties of a sheet.
|
|
@@ -4198,6 +4252,82 @@ export declare namespace sheets_v4 {
|
|
|
4198
4252
|
*/
|
|
4199
4253
|
themeColors?: Schema$ThemeColorPair[];
|
|
4200
4254
|
}
|
|
4255
|
+
/**
|
|
4256
|
+
* A table.
|
|
4257
|
+
*/
|
|
4258
|
+
export interface Schema$Table {
|
|
4259
|
+
/**
|
|
4260
|
+
* The table column properties.
|
|
4261
|
+
*/
|
|
4262
|
+
columnProperties?: Schema$TableColumnProperties[];
|
|
4263
|
+
/**
|
|
4264
|
+
* The table name. This is unique to all tables in the same spreadsheet.
|
|
4265
|
+
*/
|
|
4266
|
+
name?: string | null;
|
|
4267
|
+
/**
|
|
4268
|
+
* The table range.
|
|
4269
|
+
*/
|
|
4270
|
+
range?: Schema$GridRange;
|
|
4271
|
+
/**
|
|
4272
|
+
* The table rows properties.
|
|
4273
|
+
*/
|
|
4274
|
+
rowsProperties?: Schema$TableRowsProperties;
|
|
4275
|
+
/**
|
|
4276
|
+
* The id of the table.
|
|
4277
|
+
*/
|
|
4278
|
+
tableId?: string | null;
|
|
4279
|
+
}
|
|
4280
|
+
/**
|
|
4281
|
+
* A data validation rule for a column in a table.
|
|
4282
|
+
*/
|
|
4283
|
+
export interface Schema$TableColumnDataValidationRule {
|
|
4284
|
+
/**
|
|
4285
|
+
* The condition that data in the cell must match. Valid only if the [BooleanCondition.type] is ONE_OF_LIST.
|
|
4286
|
+
*/
|
|
4287
|
+
condition?: Schema$BooleanCondition;
|
|
4288
|
+
}
|
|
4289
|
+
/**
|
|
4290
|
+
* The table column.
|
|
4291
|
+
*/
|
|
4292
|
+
export interface Schema$TableColumnProperties {
|
|
4293
|
+
/**
|
|
4294
|
+
* 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.
|
|
4295
|
+
*/
|
|
4296
|
+
columnIndex?: number | null;
|
|
4297
|
+
/**
|
|
4298
|
+
* The column name.
|
|
4299
|
+
*/
|
|
4300
|
+
columnName?: string | null;
|
|
4301
|
+
/**
|
|
4302
|
+
* The column type.
|
|
4303
|
+
*/
|
|
4304
|
+
columnType?: string | null;
|
|
4305
|
+
/**
|
|
4306
|
+
* The column data validation rule. Only set for dropdown column type.
|
|
4307
|
+
*/
|
|
4308
|
+
dataValidationRule?: Schema$TableColumnDataValidationRule;
|
|
4309
|
+
}
|
|
4310
|
+
/**
|
|
4311
|
+
* The table row properties.
|
|
4312
|
+
*/
|
|
4313
|
+
export interface Schema$TableRowsProperties {
|
|
4314
|
+
/**
|
|
4315
|
+
* 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.
|
|
4316
|
+
*/
|
|
4317
|
+
firstBandColorStyle?: Schema$ColorStyle;
|
|
4318
|
+
/**
|
|
4319
|
+
* 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.
|
|
4320
|
+
*/
|
|
4321
|
+
footerColorStyle?: Schema$ColorStyle;
|
|
4322
|
+
/**
|
|
4323
|
+
* 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.
|
|
4324
|
+
*/
|
|
4325
|
+
headerColorStyle?: Schema$ColorStyle;
|
|
4326
|
+
/**
|
|
4327
|
+
* 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.
|
|
4328
|
+
*/
|
|
4329
|
+
secondBandColorStyle?: Schema$ColorStyle;
|
|
4330
|
+
}
|
|
4201
4331
|
/**
|
|
4202
4332
|
* The format of a run of text in a cell. Absent values indicate that the field isn't specified.
|
|
4203
4333
|
*/
|
|
@@ -4779,6 +4909,19 @@ export declare namespace sheets_v4 {
|
|
|
4779
4909
|
*/
|
|
4780
4910
|
properties?: Schema$SpreadsheetProperties;
|
|
4781
4911
|
}
|
|
4912
|
+
/**
|
|
4913
|
+
* Updates a table in the spreadsheet.
|
|
4914
|
+
*/
|
|
4915
|
+
export interface Schema$UpdateTableRequest {
|
|
4916
|
+
/**
|
|
4917
|
+
* 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.
|
|
4918
|
+
*/
|
|
4919
|
+
fields?: string | null;
|
|
4920
|
+
/**
|
|
4921
|
+
* Required. The table to update.
|
|
4922
|
+
*/
|
|
4923
|
+
table?: Schema$Table;
|
|
4924
|
+
}
|
|
4782
4925
|
/**
|
|
4783
4926
|
* The response when updating a range of values by a data filter in a spreadsheet.
|
|
4784
4927
|
*/
|
|
@@ -4800,7 +4943,7 @@ export declare namespace sheets_v4 {
|
|
|
4800
4943
|
*/
|
|
4801
4944
|
updatedData?: Schema$ValueRange;
|
|
4802
4945
|
/**
|
|
4803
|
-
* The range (in [A1 notation](/sheets/api/guides/concepts#cell)) that updates were applied to.
|
|
4946
|
+
* The range (in [A1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell)) that updates were applied to.
|
|
4804
4947
|
*/
|
|
4805
4948
|
updatedRange?: string | null;
|
|
4806
4949
|
/**
|
|
@@ -4846,7 +4989,7 @@ export declare namespace sheets_v4 {
|
|
|
4846
4989
|
*/
|
|
4847
4990
|
majorDimension?: string | null;
|
|
4848
4991
|
/**
|
|
4849
|
-
* 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.
|
|
4992
|
+
* 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.
|
|
4850
4993
|
*/
|
|
4851
4994
|
range?: string | null;
|
|
4852
4995
|
/**
|
|
@@ -4981,8 +5124,8 @@ export declare namespace sheets_v4 {
|
|
|
4981
5124
|
* @param callback - Optional callback that handles the response.
|
|
4982
5125
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4983
5126
|
*/
|
|
4984
|
-
batchUpdate(params: Params$Resource$Spreadsheets$Batchupdate, options: StreamMethodOptions):
|
|
4985
|
-
batchUpdate(params?: Params$Resource$Spreadsheets$Batchupdate, options?: MethodOptions):
|
|
5127
|
+
batchUpdate(params: Params$Resource$Spreadsheets$Batchupdate, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5128
|
+
batchUpdate(params?: Params$Resource$Spreadsheets$Batchupdate, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BatchUpdateSpreadsheetResponse>>;
|
|
4986
5129
|
batchUpdate(params: Params$Resource$Spreadsheets$Batchupdate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4987
5130
|
batchUpdate(params: Params$Resource$Spreadsheets$Batchupdate, options: MethodOptions | BodyResponseCallback<Schema$BatchUpdateSpreadsheetResponse>, callback: BodyResponseCallback<Schema$BatchUpdateSpreadsheetResponse>): void;
|
|
4988
5131
|
batchUpdate(params: Params$Resource$Spreadsheets$Batchupdate, callback: BodyResponseCallback<Schema$BatchUpdateSpreadsheetResponse>): void;
|
|
@@ -4995,36 +5138,36 @@ export declare namespace sheets_v4 {
|
|
|
4995
5138
|
* @param callback - Optional callback that handles the response.
|
|
4996
5139
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4997
5140
|
*/
|
|
4998
|
-
create(params: Params$Resource$Spreadsheets$Create, options: StreamMethodOptions):
|
|
4999
|
-
create(params?: Params$Resource$Spreadsheets$Create, options?: MethodOptions):
|
|
5141
|
+
create(params: Params$Resource$Spreadsheets$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5142
|
+
create(params?: Params$Resource$Spreadsheets$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Spreadsheet>>;
|
|
5000
5143
|
create(params: Params$Resource$Spreadsheets$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5001
5144
|
create(params: Params$Resource$Spreadsheets$Create, options: MethodOptions | BodyResponseCallback<Schema$Spreadsheet>, callback: BodyResponseCallback<Schema$Spreadsheet>): void;
|
|
5002
5145
|
create(params: Params$Resource$Spreadsheets$Create, callback: BodyResponseCallback<Schema$Spreadsheet>): void;
|
|
5003
5146
|
create(callback: BodyResponseCallback<Schema$Spreadsheet>): void;
|
|
5004
5147
|
/**
|
|
5005
|
-
* 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.
|
|
5148
|
+
* 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.
|
|
5006
5149
|
*
|
|
5007
5150
|
* @param params - Parameters for request
|
|
5008
5151
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
5009
5152
|
* @param callback - Optional callback that handles the response.
|
|
5010
5153
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5011
5154
|
*/
|
|
5012
|
-
get(params: Params$Resource$Spreadsheets$Get, options: StreamMethodOptions):
|
|
5013
|
-
get(params?: Params$Resource$Spreadsheets$Get, options?: MethodOptions):
|
|
5155
|
+
get(params: Params$Resource$Spreadsheets$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5156
|
+
get(params?: Params$Resource$Spreadsheets$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Spreadsheet>>;
|
|
5014
5157
|
get(params: Params$Resource$Spreadsheets$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5015
5158
|
get(params: Params$Resource$Spreadsheets$Get, options: MethodOptions | BodyResponseCallback<Schema$Spreadsheet>, callback: BodyResponseCallback<Schema$Spreadsheet>): void;
|
|
5016
5159
|
get(params: Params$Resource$Spreadsheets$Get, callback: BodyResponseCallback<Schema$Spreadsheet>): void;
|
|
5017
5160
|
get(callback: BodyResponseCallback<Schema$Spreadsheet>): void;
|
|
5018
5161
|
/**
|
|
5019
|
-
* 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.
|
|
5162
|
+
* 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.
|
|
5020
5163
|
*
|
|
5021
5164
|
* @param params - Parameters for request
|
|
5022
5165
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
5023
5166
|
* @param callback - Optional callback that handles the response.
|
|
5024
5167
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5025
5168
|
*/
|
|
5026
|
-
getByDataFilter(params: Params$Resource$Spreadsheets$Getbydatafilter, options: StreamMethodOptions):
|
|
5027
|
-
getByDataFilter(params?: Params$Resource$Spreadsheets$Getbydatafilter, options?: MethodOptions):
|
|
5169
|
+
getByDataFilter(params: Params$Resource$Spreadsheets$Getbydatafilter, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5170
|
+
getByDataFilter(params?: Params$Resource$Spreadsheets$Getbydatafilter, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Spreadsheet>>;
|
|
5028
5171
|
getByDataFilter(params: Params$Resource$Spreadsheets$Getbydatafilter, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5029
5172
|
getByDataFilter(params: Params$Resource$Spreadsheets$Getbydatafilter, options: MethodOptions | BodyResponseCallback<Schema$Spreadsheet>, callback: BodyResponseCallback<Schema$Spreadsheet>): void;
|
|
5030
5173
|
getByDataFilter(params: Params$Resource$Spreadsheets$Getbydatafilter, callback: BodyResponseCallback<Schema$Spreadsheet>): void;
|
|
@@ -5047,6 +5190,10 @@ export declare namespace sheets_v4 {
|
|
|
5047
5190
|
requestBody?: Schema$Spreadsheet;
|
|
5048
5191
|
}
|
|
5049
5192
|
export interface Params$Resource$Spreadsheets$Get extends StandardParameters {
|
|
5193
|
+
/**
|
|
5194
|
+
* True if tables should be excluded in the banded ranges. False if not set.
|
|
5195
|
+
*/
|
|
5196
|
+
excludeTablesInBandedRanges?: boolean;
|
|
5050
5197
|
/**
|
|
5051
5198
|
* True if grid data should be returned. This parameter is ignored if a field mask was set in the request.
|
|
5052
5199
|
*/
|
|
@@ -5081,8 +5228,8 @@ export declare namespace sheets_v4 {
|
|
|
5081
5228
|
* @param callback - Optional callback that handles the response.
|
|
5082
5229
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5083
5230
|
*/
|
|
5084
|
-
get(params: Params$Resource$Spreadsheets$Developermetadata$Get, options: StreamMethodOptions):
|
|
5085
|
-
get(params?: Params$Resource$Spreadsheets$Developermetadata$Get, options?: MethodOptions):
|
|
5231
|
+
get(params: Params$Resource$Spreadsheets$Developermetadata$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5232
|
+
get(params?: Params$Resource$Spreadsheets$Developermetadata$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$DeveloperMetadata>>;
|
|
5086
5233
|
get(params: Params$Resource$Spreadsheets$Developermetadata$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5087
5234
|
get(params: Params$Resource$Spreadsheets$Developermetadata$Get, options: MethodOptions | BodyResponseCallback<Schema$DeveloperMetadata>, callback: BodyResponseCallback<Schema$DeveloperMetadata>): void;
|
|
5088
5235
|
get(params: Params$Resource$Spreadsheets$Developermetadata$Get, callback: BodyResponseCallback<Schema$DeveloperMetadata>): void;
|
|
@@ -5095,8 +5242,8 @@ export declare namespace sheets_v4 {
|
|
|
5095
5242
|
* @param callback - Optional callback that handles the response.
|
|
5096
5243
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5097
5244
|
*/
|
|
5098
|
-
search(params: Params$Resource$Spreadsheets$Developermetadata$Search, options: StreamMethodOptions):
|
|
5099
|
-
search(params?: Params$Resource$Spreadsheets$Developermetadata$Search, options?: MethodOptions):
|
|
5245
|
+
search(params: Params$Resource$Spreadsheets$Developermetadata$Search, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5246
|
+
search(params?: Params$Resource$Spreadsheets$Developermetadata$Search, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$SearchDeveloperMetadataResponse>>;
|
|
5100
5247
|
search(params: Params$Resource$Spreadsheets$Developermetadata$Search, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5101
5248
|
search(params: Params$Resource$Spreadsheets$Developermetadata$Search, options: MethodOptions | BodyResponseCallback<Schema$SearchDeveloperMetadataResponse>, callback: BodyResponseCallback<Schema$SearchDeveloperMetadataResponse>): void;
|
|
5102
5249
|
search(params: Params$Resource$Spreadsheets$Developermetadata$Search, callback: BodyResponseCallback<Schema$SearchDeveloperMetadataResponse>): void;
|
|
@@ -5133,8 +5280,8 @@ export declare namespace sheets_v4 {
|
|
|
5133
5280
|
* @param callback - Optional callback that handles the response.
|
|
5134
5281
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5135
5282
|
*/
|
|
5136
|
-
copyTo(params: Params$Resource$Spreadsheets$Sheets$Copyto, options: StreamMethodOptions):
|
|
5137
|
-
copyTo(params?: Params$Resource$Spreadsheets$Sheets$Copyto, options?: MethodOptions):
|
|
5283
|
+
copyTo(params: Params$Resource$Spreadsheets$Sheets$Copyto, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5284
|
+
copyTo(params?: Params$Resource$Spreadsheets$Sheets$Copyto, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$SheetProperties>>;
|
|
5138
5285
|
copyTo(params: Params$Resource$Spreadsheets$Sheets$Copyto, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5139
5286
|
copyTo(params: Params$Resource$Spreadsheets$Sheets$Copyto, options: MethodOptions | BodyResponseCallback<Schema$SheetProperties>, callback: BodyResponseCallback<Schema$SheetProperties>): void;
|
|
5140
5287
|
copyTo(params: Params$Resource$Spreadsheets$Sheets$Copyto, callback: BodyResponseCallback<Schema$SheetProperties>): void;
|
|
@@ -5158,15 +5305,15 @@ export declare namespace sheets_v4 {
|
|
|
5158
5305
|
context: APIRequestContext;
|
|
5159
5306
|
constructor(context: APIRequestContext);
|
|
5160
5307
|
/**
|
|
5161
|
-
* 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.
|
|
5308
|
+
* 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.
|
|
5162
5309
|
*
|
|
5163
5310
|
* @param params - Parameters for request
|
|
5164
5311
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
5165
5312
|
* @param callback - Optional callback that handles the response.
|
|
5166
5313
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5167
5314
|
*/
|
|
5168
|
-
append(params: Params$Resource$Spreadsheets$Values$Append, options: StreamMethodOptions):
|
|
5169
|
-
append(params?: Params$Resource$Spreadsheets$Values$Append, options?: MethodOptions):
|
|
5315
|
+
append(params: Params$Resource$Spreadsheets$Values$Append, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5316
|
+
append(params?: Params$Resource$Spreadsheets$Values$Append, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AppendValuesResponse>>;
|
|
5170
5317
|
append(params: Params$Resource$Spreadsheets$Values$Append, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5171
5318
|
append(params: Params$Resource$Spreadsheets$Values$Append, options: MethodOptions | BodyResponseCallback<Schema$AppendValuesResponse>, callback: BodyResponseCallback<Schema$AppendValuesResponse>): void;
|
|
5172
5319
|
append(params: Params$Resource$Spreadsheets$Values$Append, callback: BodyResponseCallback<Schema$AppendValuesResponse>): void;
|
|
@@ -5179,8 +5326,8 @@ export declare namespace sheets_v4 {
|
|
|
5179
5326
|
* @param callback - Optional callback that handles the response.
|
|
5180
5327
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5181
5328
|
*/
|
|
5182
|
-
batchClear(params: Params$Resource$Spreadsheets$Values$Batchclear, options: StreamMethodOptions):
|
|
5183
|
-
batchClear(params?: Params$Resource$Spreadsheets$Values$Batchclear, options?: MethodOptions):
|
|
5329
|
+
batchClear(params: Params$Resource$Spreadsheets$Values$Batchclear, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5330
|
+
batchClear(params?: Params$Resource$Spreadsheets$Values$Batchclear, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BatchClearValuesResponse>>;
|
|
5184
5331
|
batchClear(params: Params$Resource$Spreadsheets$Values$Batchclear, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5185
5332
|
batchClear(params: Params$Resource$Spreadsheets$Values$Batchclear, options: MethodOptions | BodyResponseCallback<Schema$BatchClearValuesResponse>, callback: BodyResponseCallback<Schema$BatchClearValuesResponse>): void;
|
|
5186
5333
|
batchClear(params: Params$Resource$Spreadsheets$Values$Batchclear, callback: BodyResponseCallback<Schema$BatchClearValuesResponse>): void;
|
|
@@ -5193,8 +5340,8 @@ export declare namespace sheets_v4 {
|
|
|
5193
5340
|
* @param callback - Optional callback that handles the response.
|
|
5194
5341
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5195
5342
|
*/
|
|
5196
|
-
batchClearByDataFilter(params: Params$Resource$Spreadsheets$Values$Batchclearbydatafilter, options: StreamMethodOptions):
|
|
5197
|
-
batchClearByDataFilter(params?: Params$Resource$Spreadsheets$Values$Batchclearbydatafilter, options?: MethodOptions):
|
|
5343
|
+
batchClearByDataFilter(params: Params$Resource$Spreadsheets$Values$Batchclearbydatafilter, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5344
|
+
batchClearByDataFilter(params?: Params$Resource$Spreadsheets$Values$Batchclearbydatafilter, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BatchClearValuesByDataFilterResponse>>;
|
|
5198
5345
|
batchClearByDataFilter(params: Params$Resource$Spreadsheets$Values$Batchclearbydatafilter, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5199
5346
|
batchClearByDataFilter(params: Params$Resource$Spreadsheets$Values$Batchclearbydatafilter, options: MethodOptions | BodyResponseCallback<Schema$BatchClearValuesByDataFilterResponse>, callback: BodyResponseCallback<Schema$BatchClearValuesByDataFilterResponse>): void;
|
|
5200
5347
|
batchClearByDataFilter(params: Params$Resource$Spreadsheets$Values$Batchclearbydatafilter, callback: BodyResponseCallback<Schema$BatchClearValuesByDataFilterResponse>): void;
|
|
@@ -5207,8 +5354,8 @@ export declare namespace sheets_v4 {
|
|
|
5207
5354
|
* @param callback - Optional callback that handles the response.
|
|
5208
5355
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5209
5356
|
*/
|
|
5210
|
-
batchGet(params: Params$Resource$Spreadsheets$Values$Batchget, options: StreamMethodOptions):
|
|
5211
|
-
batchGet(params?: Params$Resource$Spreadsheets$Values$Batchget, options?: MethodOptions):
|
|
5357
|
+
batchGet(params: Params$Resource$Spreadsheets$Values$Batchget, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5358
|
+
batchGet(params?: Params$Resource$Spreadsheets$Values$Batchget, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BatchGetValuesResponse>>;
|
|
5212
5359
|
batchGet(params: Params$Resource$Spreadsheets$Values$Batchget, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5213
5360
|
batchGet(params: Params$Resource$Spreadsheets$Values$Batchget, options: MethodOptions | BodyResponseCallback<Schema$BatchGetValuesResponse>, callback: BodyResponseCallback<Schema$BatchGetValuesResponse>): void;
|
|
5214
5361
|
batchGet(params: Params$Resource$Spreadsheets$Values$Batchget, callback: BodyResponseCallback<Schema$BatchGetValuesResponse>): void;
|
|
@@ -5221,8 +5368,8 @@ export declare namespace sheets_v4 {
|
|
|
5221
5368
|
* @param callback - Optional callback that handles the response.
|
|
5222
5369
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5223
5370
|
*/
|
|
5224
|
-
batchGetByDataFilter(params: Params$Resource$Spreadsheets$Values$Batchgetbydatafilter, options: StreamMethodOptions):
|
|
5225
|
-
batchGetByDataFilter(params?: Params$Resource$Spreadsheets$Values$Batchgetbydatafilter, options?: MethodOptions):
|
|
5371
|
+
batchGetByDataFilter(params: Params$Resource$Spreadsheets$Values$Batchgetbydatafilter, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5372
|
+
batchGetByDataFilter(params?: Params$Resource$Spreadsheets$Values$Batchgetbydatafilter, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BatchGetValuesByDataFilterResponse>>;
|
|
5226
5373
|
batchGetByDataFilter(params: Params$Resource$Spreadsheets$Values$Batchgetbydatafilter, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5227
5374
|
batchGetByDataFilter(params: Params$Resource$Spreadsheets$Values$Batchgetbydatafilter, options: MethodOptions | BodyResponseCallback<Schema$BatchGetValuesByDataFilterResponse>, callback: BodyResponseCallback<Schema$BatchGetValuesByDataFilterResponse>): void;
|
|
5228
5375
|
batchGetByDataFilter(params: Params$Resource$Spreadsheets$Values$Batchgetbydatafilter, callback: BodyResponseCallback<Schema$BatchGetValuesByDataFilterResponse>): void;
|
|
@@ -5235,8 +5382,8 @@ export declare namespace sheets_v4 {
|
|
|
5235
5382
|
* @param callback - Optional callback that handles the response.
|
|
5236
5383
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5237
5384
|
*/
|
|
5238
|
-
batchUpdate(params: Params$Resource$Spreadsheets$Values$Batchupdate, options: StreamMethodOptions):
|
|
5239
|
-
batchUpdate(params?: Params$Resource$Spreadsheets$Values$Batchupdate, options?: MethodOptions):
|
|
5385
|
+
batchUpdate(params: Params$Resource$Spreadsheets$Values$Batchupdate, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5386
|
+
batchUpdate(params?: Params$Resource$Spreadsheets$Values$Batchupdate, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BatchUpdateValuesResponse>>;
|
|
5240
5387
|
batchUpdate(params: Params$Resource$Spreadsheets$Values$Batchupdate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5241
5388
|
batchUpdate(params: Params$Resource$Spreadsheets$Values$Batchupdate, options: MethodOptions | BodyResponseCallback<Schema$BatchUpdateValuesResponse>, callback: BodyResponseCallback<Schema$BatchUpdateValuesResponse>): void;
|
|
5242
5389
|
batchUpdate(params: Params$Resource$Spreadsheets$Values$Batchupdate, callback: BodyResponseCallback<Schema$BatchUpdateValuesResponse>): void;
|
|
@@ -5249,8 +5396,8 @@ export declare namespace sheets_v4 {
|
|
|
5249
5396
|
* @param callback - Optional callback that handles the response.
|
|
5250
5397
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5251
5398
|
*/
|
|
5252
|
-
batchUpdateByDataFilter(params: Params$Resource$Spreadsheets$Values$Batchupdatebydatafilter, options: StreamMethodOptions):
|
|
5253
|
-
batchUpdateByDataFilter(params?: Params$Resource$Spreadsheets$Values$Batchupdatebydatafilter, options?: MethodOptions):
|
|
5399
|
+
batchUpdateByDataFilter(params: Params$Resource$Spreadsheets$Values$Batchupdatebydatafilter, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5400
|
+
batchUpdateByDataFilter(params?: Params$Resource$Spreadsheets$Values$Batchupdatebydatafilter, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BatchUpdateValuesByDataFilterResponse>>;
|
|
5254
5401
|
batchUpdateByDataFilter(params: Params$Resource$Spreadsheets$Values$Batchupdatebydatafilter, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5255
5402
|
batchUpdateByDataFilter(params: Params$Resource$Spreadsheets$Values$Batchupdatebydatafilter, options: MethodOptions | BodyResponseCallback<Schema$BatchUpdateValuesByDataFilterResponse>, callback: BodyResponseCallback<Schema$BatchUpdateValuesByDataFilterResponse>): void;
|
|
5256
5403
|
batchUpdateByDataFilter(params: Params$Resource$Spreadsheets$Values$Batchupdatebydatafilter, callback: BodyResponseCallback<Schema$BatchUpdateValuesByDataFilterResponse>): void;
|
|
@@ -5263,8 +5410,8 @@ export declare namespace sheets_v4 {
|
|
|
5263
5410
|
* @param callback - Optional callback that handles the response.
|
|
5264
5411
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5265
5412
|
*/
|
|
5266
|
-
clear(params: Params$Resource$Spreadsheets$Values$Clear, options: StreamMethodOptions):
|
|
5267
|
-
clear(params?: Params$Resource$Spreadsheets$Values$Clear, options?: MethodOptions):
|
|
5413
|
+
clear(params: Params$Resource$Spreadsheets$Values$Clear, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5414
|
+
clear(params?: Params$Resource$Spreadsheets$Values$Clear, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ClearValuesResponse>>;
|
|
5268
5415
|
clear(params: Params$Resource$Spreadsheets$Values$Clear, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5269
5416
|
clear(params: Params$Resource$Spreadsheets$Values$Clear, options: MethodOptions | BodyResponseCallback<Schema$ClearValuesResponse>, callback: BodyResponseCallback<Schema$ClearValuesResponse>): void;
|
|
5270
5417
|
clear(params: Params$Resource$Spreadsheets$Values$Clear, callback: BodyResponseCallback<Schema$ClearValuesResponse>): void;
|
|
@@ -5277,8 +5424,8 @@ export declare namespace sheets_v4 {
|
|
|
5277
5424
|
* @param callback - Optional callback that handles the response.
|
|
5278
5425
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5279
5426
|
*/
|
|
5280
|
-
get(params: Params$Resource$Spreadsheets$Values$Get, options: StreamMethodOptions):
|
|
5281
|
-
get(params?: Params$Resource$Spreadsheets$Values$Get, options?: MethodOptions):
|
|
5427
|
+
get(params: Params$Resource$Spreadsheets$Values$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5428
|
+
get(params?: Params$Resource$Spreadsheets$Values$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ValueRange>>;
|
|
5282
5429
|
get(params: Params$Resource$Spreadsheets$Values$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5283
5430
|
get(params: Params$Resource$Spreadsheets$Values$Get, options: MethodOptions | BodyResponseCallback<Schema$ValueRange>, callback: BodyResponseCallback<Schema$ValueRange>): void;
|
|
5284
5431
|
get(params: Params$Resource$Spreadsheets$Values$Get, callback: BodyResponseCallback<Schema$ValueRange>): void;
|
|
@@ -5291,8 +5438,8 @@ export declare namespace sheets_v4 {
|
|
|
5291
5438
|
* @param callback - Optional callback that handles the response.
|
|
5292
5439
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5293
5440
|
*/
|
|
5294
|
-
update(params: Params$Resource$Spreadsheets$Values$Update, options: StreamMethodOptions):
|
|
5295
|
-
update(params?: Params$Resource$Spreadsheets$Values$Update, options?: MethodOptions):
|
|
5441
|
+
update(params: Params$Resource$Spreadsheets$Values$Update, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5442
|
+
update(params?: Params$Resource$Spreadsheets$Values$Update, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$UpdateValuesResponse>>;
|
|
5296
5443
|
update(params: Params$Resource$Spreadsheets$Values$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5297
5444
|
update(params: Params$Resource$Spreadsheets$Values$Update, options: MethodOptions | BodyResponseCallback<Schema$UpdateValuesResponse>, callback: BodyResponseCallback<Schema$UpdateValuesResponse>): void;
|
|
5298
5445
|
update(params: Params$Resource$Spreadsheets$Values$Update, callback: BodyResponseCallback<Schema$UpdateValuesResponse>): void;
|
|
@@ -5308,7 +5455,7 @@ export declare namespace sheets_v4 {
|
|
|
5308
5455
|
*/
|
|
5309
5456
|
insertDataOption?: string;
|
|
5310
5457
|
/**
|
|
5311
|
-
* 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.
|
|
5458
|
+
* 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.
|
|
5312
5459
|
*/
|
|
5313
5460
|
range?: string;
|
|
5314
5461
|
/**
|
|
@@ -5362,7 +5509,7 @@ export declare namespace sheets_v4 {
|
|
|
5362
5509
|
*/
|
|
5363
5510
|
majorDimension?: string;
|
|
5364
5511
|
/**
|
|
5365
|
-
* The [A1 notation or R1C1 notation](/sheets/api/guides/concepts#cell) of the range to retrieve values from.
|
|
5512
|
+
* The [A1 notation or R1C1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell) of the range to retrieve values from.
|
|
5366
5513
|
*/
|
|
5367
5514
|
ranges?: string[];
|
|
5368
5515
|
/**
|
|
@@ -5406,7 +5553,7 @@ export declare namespace sheets_v4 {
|
|
|
5406
5553
|
}
|
|
5407
5554
|
export interface Params$Resource$Spreadsheets$Values$Clear extends StandardParameters {
|
|
5408
5555
|
/**
|
|
5409
|
-
* The [A1 notation or R1C1 notation](/sheets/api/guides/concepts#cell) of the values to clear.
|
|
5556
|
+
* The [A1 notation or R1C1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell) of the values to clear.
|
|
5410
5557
|
*/
|
|
5411
5558
|
range?: string;
|
|
5412
5559
|
/**
|
|
@@ -5428,7 +5575,7 @@ export declare namespace sheets_v4 {
|
|
|
5428
5575
|
*/
|
|
5429
5576
|
majorDimension?: string;
|
|
5430
5577
|
/**
|
|
5431
|
-
* The [A1 notation or R1C1 notation](/sheets/api/guides/concepts#cell) of the range to retrieve values from.
|
|
5578
|
+
* The [A1 notation or R1C1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell) of the range to retrieve values from.
|
|
5432
5579
|
*/
|
|
5433
5580
|
range?: string;
|
|
5434
5581
|
/**
|
|
@@ -5446,7 +5593,7 @@ export declare namespace sheets_v4 {
|
|
|
5446
5593
|
*/
|
|
5447
5594
|
includeValuesInResponse?: boolean;
|
|
5448
5595
|
/**
|
|
5449
|
-
* The [A1 notation](/sheets/api/guides/concepts#cell) of the values to update.
|
|
5596
|
+
* The [A1 notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell) of the values to update.
|
|
5450
5597
|
*/
|
|
5451
5598
|
range?: string;
|
|
5452
5599
|
/**
|