@maxim_mazurok/gapi.client.area120tables-v1alpha1 0.0.20230425 → 0.0.20230504
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/index.d.ts +551 -276
- package/package.json +1 -1
- package/tests.ts +1 -1
package/index.d.ts
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
11
11
|
// Generated from: https://area120tables.googleapis.com/$discovery/rest?version=v1alpha1
|
12
|
-
// Revision:
|
12
|
+
// Revision: 20230504
|
13
13
|
|
14
14
|
/// <reference types="gapi.client" />
|
15
15
|
|
@@ -24,26 +24,31 @@ declare namespace gapi.client {
|
|
24
24
|
namespace area120tables {
|
25
25
|
interface BatchCreateRowsRequest {
|
26
26
|
/** Required. The request message specifying the rows to create. A maximum of 500 rows can be created in a single batch. */
|
27
|
-
requests?:
|
27
|
+
requests?:
|
28
|
+
CreateRowRequest[];
|
28
29
|
}
|
29
30
|
interface BatchCreateRowsResponse {
|
30
31
|
/** The created rows. */
|
31
|
-
rows?:
|
32
|
+
rows?:
|
33
|
+
Row[];
|
32
34
|
}
|
33
35
|
interface BatchDeleteRowsRequest {
|
34
36
|
/**
|
35
37
|
* Required. The names of the rows to delete. All rows must belong to the parent table or else the entire batch will fail. A maximum of 500 rows can be deleted in a batch. Format:
|
36
38
|
* tables/{table}/rows/{row}
|
37
39
|
*/
|
38
|
-
names?:
|
40
|
+
names?:
|
41
|
+
string[];
|
39
42
|
}
|
40
43
|
interface BatchUpdateRowsRequest {
|
41
44
|
/** Required. The request messages specifying the rows to update. A maximum of 500 rows can be modified in a single batch. */
|
42
|
-
requests?:
|
45
|
+
requests?:
|
46
|
+
UpdateRowRequest[];
|
43
47
|
}
|
44
48
|
interface BatchUpdateRowsResponse {
|
45
49
|
/** The updated rows. */
|
46
|
-
rows?:
|
50
|
+
rows?:
|
51
|
+
Row[];
|
47
52
|
}
|
48
53
|
interface ColumnDescription {
|
49
54
|
/**
|
@@ -51,524 +56,742 @@ declare namespace gapi.client {
|
|
51
56
|
* person_list, tags, check_list, text, text_list, update_timestamp, updater, relationship, file_attachment_list. These types directly map to the column types supported on Tables
|
52
57
|
* website.
|
53
58
|
*/
|
54
|
-
dataType?:
|
59
|
+
dataType?:
|
60
|
+
string;
|
55
61
|
/** Optional. Additional details about a date column. */
|
56
|
-
dateDetails?:
|
62
|
+
dateDetails?:
|
63
|
+
DateDetails;
|
57
64
|
/** Internal id for a column. */
|
58
|
-
id?:
|
65
|
+
id?:
|
66
|
+
string;
|
59
67
|
/**
|
60
68
|
* Optional. Range of labeled values for the column. Some columns like tags and drop-downs limit the values to a set of possible values. We return the range of values in such cases to
|
61
69
|
* help clients implement better user data validation.
|
62
70
|
*/
|
63
|
-
labels?:
|
71
|
+
labels?:
|
72
|
+
LabeledItem[];
|
64
73
|
/**
|
65
74
|
* Optional. Indicates that this is a lookup column whose value is derived from the relationship column specified in the details. Lookup columns can not be updated directly. To change
|
66
75
|
* the value you must update the associated relationship column.
|
67
76
|
*/
|
68
|
-
lookupDetails?:
|
77
|
+
lookupDetails?:
|
78
|
+
LookupDetails;
|
69
79
|
/** Optional. Indicates whether or not multiple values are allowed for array types where such a restriction is possible. */
|
70
|
-
multipleValuesDisallowed?:
|
80
|
+
multipleValuesDisallowed?:
|
81
|
+
boolean;
|
71
82
|
/** column name */
|
72
|
-
name?:
|
83
|
+
name?:
|
84
|
+
string;
|
73
85
|
/** Optional. Indicates that values for the column cannot be set by the user. */
|
74
|
-
readonly?:
|
86
|
+
readonly?:
|
87
|
+
boolean;
|
75
88
|
/** Optional. Additional details about a relationship column. Specified when data_type is relationship. */
|
76
|
-
relationshipDetails?:
|
89
|
+
relationshipDetails?:
|
90
|
+
RelationshipDetails;
|
77
91
|
}
|
78
92
|
interface CreateRowRequest {
|
79
93
|
/** Required. The parent table where this row will be created. Format: tables/{table} */
|
80
|
-
parent?:
|
94
|
+
parent?:
|
95
|
+
string;
|
81
96
|
/** Required. The row to create. */
|
82
|
-
row?:
|
97
|
+
row?:
|
98
|
+
Row;
|
83
99
|
/** Optional. Column key to use for values in the row. Defaults to user entered name. */
|
84
|
-
view?:
|
100
|
+
view?:
|
101
|
+
string;
|
85
102
|
}
|
86
103
|
interface DateDetails {
|
87
104
|
/** Whether the date column includes time. */
|
88
|
-
hasTime?:
|
105
|
+
hasTime?:
|
106
|
+
boolean;
|
89
107
|
}
|
90
108
|
// tslint:disable-next-line:no-empty-interface
|
91
109
|
interface Empty {
|
92
110
|
}
|
93
111
|
interface LabeledItem {
|
94
112
|
/** Internal id associated with the item. */
|
95
|
-
id?:
|
113
|
+
id?:
|
114
|
+
string;
|
96
115
|
/** Display string as entered by user. */
|
97
|
-
name?:
|
116
|
+
name?:
|
117
|
+
string;
|
98
118
|
}
|
99
119
|
interface ListRowsResponse {
|
100
120
|
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. */
|
101
|
-
nextPageToken?:
|
121
|
+
nextPageToken?:
|
122
|
+
string;
|
102
123
|
/** The rows from the specified table. */
|
103
|
-
rows?:
|
124
|
+
rows?:
|
125
|
+
Row[];
|
104
126
|
}
|
105
127
|
interface ListTablesResponse {
|
106
128
|
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. */
|
107
|
-
nextPageToken?:
|
129
|
+
nextPageToken?:
|
130
|
+
string;
|
108
131
|
/** The list of tables. */
|
109
|
-
tables?:
|
132
|
+
tables?:
|
133
|
+
Table[];
|
110
134
|
}
|
111
135
|
interface ListWorkspacesResponse {
|
112
136
|
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages. */
|
113
|
-
nextPageToken?:
|
137
|
+
nextPageToken?:
|
138
|
+
string;
|
114
139
|
/** The list of workspaces. */
|
115
|
-
workspaces?:
|
140
|
+
workspaces?:
|
141
|
+
Workspace[];
|
116
142
|
}
|
117
143
|
interface LookupDetails {
|
118
144
|
/** The name of the relationship column associated with the lookup. */
|
119
|
-
relationshipColumn?:
|
145
|
+
relationshipColumn?:
|
146
|
+
string;
|
120
147
|
/** The id of the relationship column. */
|
121
|
-
relationshipColumnId?:
|
148
|
+
relationshipColumnId?:
|
149
|
+
string;
|
122
150
|
}
|
123
151
|
interface RelationshipDetails {
|
124
152
|
/** The name of the table this relationship is linked to. */
|
125
|
-
linkedTable?:
|
153
|
+
linkedTable?:
|
154
|
+
string;
|
126
155
|
}
|
127
156
|
interface Row {
|
128
157
|
/** Time when the row was created. */
|
129
|
-
createTime?:
|
158
|
+
createTime?:
|
159
|
+
string;
|
130
160
|
/** The resource name of the row. Row names have the form `tables/{table}/rows/{row}`. The name is ignored when creating a row. */
|
131
|
-
name?:
|
161
|
+
name?:
|
162
|
+
string;
|
132
163
|
/** Time when the row was last updated. */
|
133
|
-
updateTime?:
|
164
|
+
updateTime?:
|
165
|
+
string;
|
134
166
|
/** The values of the row. This is a map of column key to value. Key is user entered name(default) or the internal column id based on the view in the request. */
|
135
|
-
values?:
|
167
|
+
values?:
|
168
|
+
{ [P in string]: any };
|
136
169
|
}
|
137
170
|
interface SavedView {
|
138
171
|
/** Internal id associated with the saved view. */
|
139
|
-
id?:
|
172
|
+
id?:
|
173
|
+
string;
|
140
174
|
/** Display name of the saved view. */
|
141
|
-
name?:
|
175
|
+
name?:
|
176
|
+
string;
|
142
177
|
}
|
143
178
|
interface Table {
|
144
179
|
/** List of columns in this table. Order of columns matches the display order. */
|
145
|
-
columns?:
|
180
|
+
columns?:
|
181
|
+
ColumnDescription[];
|
146
182
|
/** Time when the table was created. */
|
147
|
-
createTime?:
|
183
|
+
createTime?:
|
184
|
+
string;
|
148
185
|
/** The human readable title of the table. */
|
149
|
-
displayName?:
|
186
|
+
displayName?:
|
187
|
+
string;
|
150
188
|
/** The resource name of the table. Table names have the form `tables/{table}`. */
|
151
|
-
name?:
|
189
|
+
name?:
|
190
|
+
string;
|
152
191
|
/** Saved views for this table. */
|
153
|
-
savedViews?:
|
192
|
+
savedViews?:
|
193
|
+
SavedView[];
|
154
194
|
/** The time zone of the table. IANA Time Zone Database time zone, e.g. "America/New_York". */
|
155
|
-
timeZone?:
|
195
|
+
timeZone?:
|
196
|
+
string;
|
156
197
|
/** Time when the table was last updated excluding updates to individual rows */
|
157
|
-
updateTime?:
|
198
|
+
updateTime?:
|
199
|
+
string;
|
158
200
|
}
|
159
201
|
interface UpdateRowRequest {
|
160
202
|
/** Required. The row to update. */
|
161
|
-
row?:
|
203
|
+
row?:
|
204
|
+
Row;
|
162
205
|
/** The list of fields to update. */
|
163
|
-
updateMask?:
|
206
|
+
updateMask?:
|
207
|
+
string;
|
164
208
|
/** Optional. Column key to use for values in the row. Defaults to user entered name. */
|
165
|
-
view?:
|
209
|
+
view?:
|
210
|
+
string;
|
166
211
|
}
|
167
212
|
interface Workspace {
|
168
213
|
/** Time when the workspace was created. */
|
169
|
-
createTime?:
|
214
|
+
createTime?:
|
215
|
+
string;
|
170
216
|
/** The human readable title of the workspace. */
|
171
|
-
displayName?:
|
217
|
+
displayName?:
|
218
|
+
string;
|
172
219
|
/** The resource name of the workspace. Workspace names have the form `workspaces/{workspace}`. */
|
173
|
-
name?:
|
220
|
+
name?:
|
221
|
+
string;
|
174
222
|
/** The list of tables in the workspace. */
|
175
|
-
tables?:
|
223
|
+
tables?:
|
224
|
+
Table[];
|
176
225
|
/** Time when the workspace was last updated. */
|
177
|
-
updateTime?:
|
226
|
+
updateTime?:
|
227
|
+
string;
|
178
228
|
}
|
179
229
|
interface RowsResource {
|
180
230
|
/** Creates multiple rows. */
|
181
231
|
batchCreate(request: {
|
182
232
|
/** V1 error format. */
|
183
|
-
"$.xgafv"?:
|
233
|
+
"$.xgafv"?:
|
234
|
+
string;
|
184
235
|
/** OAuth access token. */
|
185
|
-
access_token?:
|
236
|
+
access_token?:
|
237
|
+
string;
|
186
238
|
/** Data format for response. */
|
187
|
-
alt?:
|
239
|
+
alt?:
|
240
|
+
string;
|
188
241
|
/** JSONP */
|
189
|
-
callback?:
|
242
|
+
callback?:
|
243
|
+
string;
|
190
244
|
/** Selector specifying which fields to include in a partial response. */
|
191
|
-
fields?:
|
245
|
+
fields?:
|
246
|
+
string;
|
192
247
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
193
|
-
key?:
|
248
|
+
key?:
|
249
|
+
string;
|
194
250
|
/** OAuth 2.0 token for the current user. */
|
195
|
-
oauth_token?:
|
251
|
+
oauth_token?:
|
252
|
+
string;
|
196
253
|
/** Required. The parent table where the rows will be created. Format: tables/{table} */
|
197
|
-
parent:
|
254
|
+
parent:
|
255
|
+
string;
|
198
256
|
/** Returns response with indentations and line breaks. */
|
199
|
-
prettyPrint?:
|
257
|
+
prettyPrint?:
|
258
|
+
boolean;
|
200
259
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
201
|
-
quotaUser?:
|
260
|
+
quotaUser?:
|
261
|
+
string;
|
202
262
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
203
|
-
upload_protocol?:
|
263
|
+
upload_protocol?:
|
264
|
+
string;
|
204
265
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
205
|
-
uploadType?:
|
266
|
+
uploadType?:
|
267
|
+
string;
|
206
268
|
/** Request body */
|
207
|
-
resource:
|
269
|
+
resource:
|
270
|
+
BatchCreateRowsRequest;
|
208
271
|
}): Request<BatchCreateRowsResponse>;
|
209
272
|
batchCreate(request: {
|
210
273
|
/** V1 error format. */
|
211
|
-
"$.xgafv"?:
|
274
|
+
"$.xgafv"?:
|
275
|
+
string;
|
212
276
|
/** OAuth access token. */
|
213
|
-
access_token?:
|
277
|
+
access_token?:
|
278
|
+
string;
|
214
279
|
/** Data format for response. */
|
215
|
-
alt?:
|
280
|
+
alt?:
|
281
|
+
string;
|
216
282
|
/** JSONP */
|
217
|
-
callback?:
|
283
|
+
callback?:
|
284
|
+
string;
|
218
285
|
/** Selector specifying which fields to include in a partial response. */
|
219
|
-
fields?:
|
286
|
+
fields?:
|
287
|
+
string;
|
220
288
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
221
|
-
key?:
|
289
|
+
key?:
|
290
|
+
string;
|
222
291
|
/** OAuth 2.0 token for the current user. */
|
223
|
-
oauth_token?:
|
292
|
+
oauth_token?:
|
293
|
+
string;
|
224
294
|
/** Required. The parent table where the rows will be created. Format: tables/{table} */
|
225
|
-
parent:
|
295
|
+
parent:
|
296
|
+
string;
|
226
297
|
/** Returns response with indentations and line breaks. */
|
227
|
-
prettyPrint?:
|
298
|
+
prettyPrint?:
|
299
|
+
boolean;
|
228
300
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
229
|
-
quotaUser?:
|
301
|
+
quotaUser?:
|
302
|
+
string;
|
230
303
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
231
|
-
upload_protocol?:
|
304
|
+
upload_protocol?:
|
305
|
+
string;
|
232
306
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
233
|
-
uploadType?:
|
307
|
+
uploadType?:
|
308
|
+
string;
|
234
309
|
},
|
235
310
|
body: BatchCreateRowsRequest): Request<BatchCreateRowsResponse>;
|
236
311
|
/** Deletes multiple rows. */
|
237
312
|
batchDelete(request: {
|
238
313
|
/** V1 error format. */
|
239
|
-
"$.xgafv"?:
|
314
|
+
"$.xgafv"?:
|
315
|
+
string;
|
240
316
|
/** OAuth access token. */
|
241
|
-
access_token?:
|
317
|
+
access_token?:
|
318
|
+
string;
|
242
319
|
/** Data format for response. */
|
243
|
-
alt?:
|
320
|
+
alt?:
|
321
|
+
string;
|
244
322
|
/** JSONP */
|
245
|
-
callback?:
|
323
|
+
callback?:
|
324
|
+
string;
|
246
325
|
/** Selector specifying which fields to include in a partial response. */
|
247
|
-
fields?:
|
326
|
+
fields?:
|
327
|
+
string;
|
248
328
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
249
|
-
key?:
|
329
|
+
key?:
|
330
|
+
string;
|
250
331
|
/** OAuth 2.0 token for the current user. */
|
251
|
-
oauth_token?:
|
332
|
+
oauth_token?:
|
333
|
+
string;
|
252
334
|
/** Required. The parent table shared by all rows being deleted. Format: tables/{table} */
|
253
|
-
parent:
|
335
|
+
parent:
|
336
|
+
string;
|
254
337
|
/** Returns response with indentations and line breaks. */
|
255
|
-
prettyPrint?:
|
338
|
+
prettyPrint?:
|
339
|
+
boolean;
|
256
340
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
257
|
-
quotaUser?:
|
341
|
+
quotaUser?:
|
342
|
+
string;
|
258
343
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
259
|
-
upload_protocol?:
|
344
|
+
upload_protocol?:
|
345
|
+
string;
|
260
346
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
261
|
-
uploadType?:
|
347
|
+
uploadType?:
|
348
|
+
string;
|
262
349
|
/** Request body */
|
263
|
-
resource:
|
350
|
+
resource:
|
351
|
+
BatchDeleteRowsRequest;
|
264
352
|
}): Request<{}>;
|
265
353
|
batchDelete(request: {
|
266
354
|
/** V1 error format. */
|
267
|
-
"$.xgafv"?:
|
355
|
+
"$.xgafv"?:
|
356
|
+
string;
|
268
357
|
/** OAuth access token. */
|
269
|
-
access_token?:
|
358
|
+
access_token?:
|
359
|
+
string;
|
270
360
|
/** Data format for response. */
|
271
|
-
alt?:
|
361
|
+
alt?:
|
362
|
+
string;
|
272
363
|
/** JSONP */
|
273
|
-
callback?:
|
364
|
+
callback?:
|
365
|
+
string;
|
274
366
|
/** Selector specifying which fields to include in a partial response. */
|
275
|
-
fields?:
|
367
|
+
fields?:
|
368
|
+
string;
|
276
369
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
277
|
-
key?:
|
370
|
+
key?:
|
371
|
+
string;
|
278
372
|
/** OAuth 2.0 token for the current user. */
|
279
|
-
oauth_token?:
|
373
|
+
oauth_token?:
|
374
|
+
string;
|
280
375
|
/** Required. The parent table shared by all rows being deleted. Format: tables/{table} */
|
281
|
-
parent:
|
376
|
+
parent:
|
377
|
+
string;
|
282
378
|
/** Returns response with indentations and line breaks. */
|
283
|
-
prettyPrint?:
|
379
|
+
prettyPrint?:
|
380
|
+
boolean;
|
284
381
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
285
|
-
quotaUser?:
|
382
|
+
quotaUser?:
|
383
|
+
string;
|
286
384
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
287
|
-
upload_protocol?:
|
385
|
+
upload_protocol?:
|
386
|
+
string;
|
288
387
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
289
|
-
uploadType?:
|
388
|
+
uploadType?:
|
389
|
+
string;
|
290
390
|
},
|
291
391
|
body: BatchDeleteRowsRequest): Request<{}>;
|
292
392
|
/** Updates multiple rows. */
|
293
393
|
batchUpdate(request: {
|
294
394
|
/** V1 error format. */
|
295
|
-
"$.xgafv"?:
|
395
|
+
"$.xgafv"?:
|
396
|
+
string;
|
296
397
|
/** OAuth access token. */
|
297
|
-
access_token?:
|
398
|
+
access_token?:
|
399
|
+
string;
|
298
400
|
/** Data format for response. */
|
299
|
-
alt?:
|
401
|
+
alt?:
|
402
|
+
string;
|
300
403
|
/** JSONP */
|
301
|
-
callback?:
|
404
|
+
callback?:
|
405
|
+
string;
|
302
406
|
/** Selector specifying which fields to include in a partial response. */
|
303
|
-
fields?:
|
407
|
+
fields?:
|
408
|
+
string;
|
304
409
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
305
|
-
key?:
|
410
|
+
key?:
|
411
|
+
string;
|
306
412
|
/** OAuth 2.0 token for the current user. */
|
307
|
-
oauth_token?:
|
413
|
+
oauth_token?:
|
414
|
+
string;
|
308
415
|
/** Required. The parent table shared by all rows being updated. Format: tables/{table} */
|
309
|
-
parent:
|
416
|
+
parent:
|
417
|
+
string;
|
310
418
|
/** Returns response with indentations and line breaks. */
|
311
|
-
prettyPrint?:
|
419
|
+
prettyPrint?:
|
420
|
+
boolean;
|
312
421
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
313
|
-
quotaUser?:
|
422
|
+
quotaUser?:
|
423
|
+
string;
|
314
424
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
315
|
-
upload_protocol?:
|
425
|
+
upload_protocol?:
|
426
|
+
string;
|
316
427
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
317
|
-
uploadType?:
|
428
|
+
uploadType?:
|
429
|
+
string;
|
318
430
|
/** Request body */
|
319
|
-
resource:
|
431
|
+
resource:
|
432
|
+
BatchUpdateRowsRequest;
|
320
433
|
}): Request<BatchUpdateRowsResponse>;
|
321
434
|
batchUpdate(request: {
|
322
435
|
/** V1 error format. */
|
323
|
-
"$.xgafv"?:
|
436
|
+
"$.xgafv"?:
|
437
|
+
string;
|
324
438
|
/** OAuth access token. */
|
325
|
-
access_token?:
|
439
|
+
access_token?:
|
440
|
+
string;
|
326
441
|
/** Data format for response. */
|
327
|
-
alt?:
|
442
|
+
alt?:
|
443
|
+
string;
|
328
444
|
/** JSONP */
|
329
|
-
callback?:
|
445
|
+
callback?:
|
446
|
+
string;
|
330
447
|
/** Selector specifying which fields to include in a partial response. */
|
331
|
-
fields?:
|
448
|
+
fields?:
|
449
|
+
string;
|
332
450
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
333
|
-
key?:
|
451
|
+
key?:
|
452
|
+
string;
|
334
453
|
/** OAuth 2.0 token for the current user. */
|
335
|
-
oauth_token?:
|
454
|
+
oauth_token?:
|
455
|
+
string;
|
336
456
|
/** Required. The parent table shared by all rows being updated. Format: tables/{table} */
|
337
|
-
parent:
|
457
|
+
parent:
|
458
|
+
string;
|
338
459
|
/** Returns response with indentations and line breaks. */
|
339
|
-
prettyPrint?:
|
460
|
+
prettyPrint?:
|
461
|
+
boolean;
|
340
462
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
341
|
-
quotaUser?:
|
463
|
+
quotaUser?:
|
464
|
+
string;
|
342
465
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
343
|
-
upload_protocol?:
|
466
|
+
upload_protocol?:
|
467
|
+
string;
|
344
468
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
345
|
-
uploadType?:
|
469
|
+
uploadType?:
|
470
|
+
string;
|
346
471
|
},
|
347
472
|
body: BatchUpdateRowsRequest): Request<BatchUpdateRowsResponse>;
|
348
473
|
/** Creates a row. */
|
349
474
|
create(request: {
|
350
475
|
/** V1 error format. */
|
351
|
-
"$.xgafv"?:
|
476
|
+
"$.xgafv"?:
|
477
|
+
string;
|
352
478
|
/** OAuth access token. */
|
353
|
-
access_token?:
|
479
|
+
access_token?:
|
480
|
+
string;
|
354
481
|
/** Data format for response. */
|
355
|
-
alt?:
|
482
|
+
alt?:
|
483
|
+
string;
|
356
484
|
/** JSONP */
|
357
|
-
callback?:
|
485
|
+
callback?:
|
486
|
+
string;
|
358
487
|
/** Selector specifying which fields to include in a partial response. */
|
359
|
-
fields?:
|
488
|
+
fields?:
|
489
|
+
string;
|
360
490
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
361
|
-
key?:
|
491
|
+
key?:
|
492
|
+
string;
|
362
493
|
/** OAuth 2.0 token for the current user. */
|
363
|
-
oauth_token?:
|
494
|
+
oauth_token?:
|
495
|
+
string;
|
364
496
|
/** Required. The parent table where this row will be created. Format: tables/{table} */
|
365
|
-
parent:
|
497
|
+
parent:
|
498
|
+
string;
|
366
499
|
/** Returns response with indentations and line breaks. */
|
367
|
-
prettyPrint?:
|
500
|
+
prettyPrint?:
|
501
|
+
boolean;
|
368
502
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
369
|
-
quotaUser?:
|
503
|
+
quotaUser?:
|
504
|
+
string;
|
370
505
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
371
|
-
upload_protocol?:
|
506
|
+
upload_protocol?:
|
507
|
+
string;
|
372
508
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
373
|
-
uploadType?:
|
509
|
+
uploadType?:
|
510
|
+
string;
|
374
511
|
/** Optional. Column key to use for values in the row. Defaults to user entered name. */
|
375
|
-
view?:
|
512
|
+
view?:
|
513
|
+
string;
|
376
514
|
/** Request body */
|
377
|
-
resource:
|
515
|
+
resource:
|
516
|
+
Row;
|
378
517
|
}): Request<Row>;
|
379
518
|
create(request: {
|
380
519
|
/** V1 error format. */
|
381
|
-
"$.xgafv"?:
|
520
|
+
"$.xgafv"?:
|
521
|
+
string;
|
382
522
|
/** OAuth access token. */
|
383
|
-
access_token?:
|
523
|
+
access_token?:
|
524
|
+
string;
|
384
525
|
/** Data format for response. */
|
385
|
-
alt?:
|
526
|
+
alt?:
|
527
|
+
string;
|
386
528
|
/** JSONP */
|
387
|
-
callback?:
|
529
|
+
callback?:
|
530
|
+
string;
|
388
531
|
/** Selector specifying which fields to include in a partial response. */
|
389
|
-
fields?:
|
532
|
+
fields?:
|
533
|
+
string;
|
390
534
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
391
|
-
key?:
|
535
|
+
key?:
|
536
|
+
string;
|
392
537
|
/** OAuth 2.0 token for the current user. */
|
393
|
-
oauth_token?:
|
538
|
+
oauth_token?:
|
539
|
+
string;
|
394
540
|
/** Required. The parent table where this row will be created. Format: tables/{table} */
|
395
|
-
parent:
|
541
|
+
parent:
|
542
|
+
string;
|
396
543
|
/** Returns response with indentations and line breaks. */
|
397
|
-
prettyPrint?:
|
544
|
+
prettyPrint?:
|
545
|
+
boolean;
|
398
546
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
399
|
-
quotaUser?:
|
547
|
+
quotaUser?:
|
548
|
+
string;
|
400
549
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
401
|
-
upload_protocol?:
|
550
|
+
upload_protocol?:
|
551
|
+
string;
|
402
552
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
403
|
-
uploadType?:
|
553
|
+
uploadType?:
|
554
|
+
string;
|
404
555
|
/** Optional. Column key to use for values in the row. Defaults to user entered name. */
|
405
|
-
view?:
|
556
|
+
view?:
|
557
|
+
string;
|
406
558
|
},
|
407
559
|
body: Row): Request<Row>;
|
408
560
|
/** Deletes a row. */
|
409
561
|
delete(request?: {
|
410
562
|
/** V1 error format. */
|
411
|
-
"$.xgafv"?:
|
563
|
+
"$.xgafv"?:
|
564
|
+
string;
|
412
565
|
/** OAuth access token. */
|
413
|
-
access_token?:
|
566
|
+
access_token?:
|
567
|
+
string;
|
414
568
|
/** Data format for response. */
|
415
|
-
alt?:
|
569
|
+
alt?:
|
570
|
+
string;
|
416
571
|
/** JSONP */
|
417
|
-
callback?:
|
572
|
+
callback?:
|
573
|
+
string;
|
418
574
|
/** Selector specifying which fields to include in a partial response. */
|
419
|
-
fields?:
|
575
|
+
fields?:
|
576
|
+
string;
|
420
577
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
421
|
-
key?:
|
578
|
+
key?:
|
579
|
+
string;
|
422
580
|
/** Required. The name of the row to delete. Format: tables/{table}/rows/{row} */
|
423
|
-
name:
|
581
|
+
name:
|
582
|
+
string;
|
424
583
|
/** OAuth 2.0 token for the current user. */
|
425
|
-
oauth_token?:
|
584
|
+
oauth_token?:
|
585
|
+
string;
|
426
586
|
/** Returns response with indentations and line breaks. */
|
427
|
-
prettyPrint?:
|
587
|
+
prettyPrint?:
|
588
|
+
boolean;
|
428
589
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
429
|
-
quotaUser?:
|
590
|
+
quotaUser?:
|
591
|
+
string;
|
430
592
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
431
|
-
upload_protocol?:
|
593
|
+
upload_protocol?:
|
594
|
+
string;
|
432
595
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
433
|
-
uploadType?:
|
596
|
+
uploadType?:
|
597
|
+
string;
|
434
598
|
}): Request<{}>;
|
435
599
|
/** Gets a row. Returns NOT_FOUND if the row does not exist in the table. */
|
436
600
|
get(request?: {
|
437
601
|
/** V1 error format. */
|
438
|
-
"$.xgafv"?:
|
602
|
+
"$.xgafv"?:
|
603
|
+
string;
|
439
604
|
/** OAuth access token. */
|
440
|
-
access_token?:
|
605
|
+
access_token?:
|
606
|
+
string;
|
441
607
|
/** Data format for response. */
|
442
|
-
alt?:
|
608
|
+
alt?:
|
609
|
+
string;
|
443
610
|
/** JSONP */
|
444
|
-
callback?:
|
611
|
+
callback?:
|
612
|
+
string;
|
445
613
|
/** Selector specifying which fields to include in a partial response. */
|
446
|
-
fields?:
|
614
|
+
fields?:
|
615
|
+
string;
|
447
616
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
448
|
-
key?:
|
617
|
+
key?:
|
618
|
+
string;
|
449
619
|
/** Required. The name of the row to retrieve. Format: tables/{table}/rows/{row} */
|
450
|
-
name:
|
620
|
+
name:
|
621
|
+
string;
|
451
622
|
/** OAuth 2.0 token for the current user. */
|
452
|
-
oauth_token?:
|
623
|
+
oauth_token?:
|
624
|
+
string;
|
453
625
|
/** Returns response with indentations and line breaks. */
|
454
|
-
prettyPrint?:
|
626
|
+
prettyPrint?:
|
627
|
+
boolean;
|
455
628
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
456
|
-
quotaUser?:
|
629
|
+
quotaUser?:
|
630
|
+
string;
|
457
631
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
458
|
-
upload_protocol?:
|
632
|
+
upload_protocol?:
|
633
|
+
string;
|
459
634
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
460
|
-
uploadType?:
|
635
|
+
uploadType?:
|
636
|
+
string;
|
461
637
|
/** Optional. Column key to use for values in the row. Defaults to user entered name. */
|
462
|
-
view?:
|
638
|
+
view?:
|
639
|
+
string;
|
463
640
|
}): Request<Row>;
|
464
641
|
/** Lists rows in a table. Returns NOT_FOUND if the table does not exist. */
|
465
642
|
list(request?: {
|
466
643
|
/** V1 error format. */
|
467
|
-
"$.xgafv"?:
|
644
|
+
"$.xgafv"?:
|
645
|
+
string;
|
468
646
|
/** OAuth access token. */
|
469
|
-
access_token?:
|
647
|
+
access_token?:
|
648
|
+
string;
|
470
649
|
/** Data format for response. */
|
471
|
-
alt?:
|
650
|
+
alt?:
|
651
|
+
string;
|
472
652
|
/** JSONP */
|
473
|
-
callback?:
|
653
|
+
callback?:
|
654
|
+
string;
|
474
655
|
/** Selector specifying which fields to include in a partial response. */
|
475
|
-
fields?:
|
656
|
+
fields?:
|
657
|
+
string;
|
476
658
|
/**
|
477
659
|
* Optional. Filter to only include resources matching the requirements. For more information, see [Filtering list
|
478
660
|
* results](https://support.google.com/area120-tables/answer/10503371).
|
479
661
|
*/
|
480
|
-
filter?:
|
662
|
+
filter?:
|
663
|
+
string;
|
481
664
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
482
|
-
key?:
|
665
|
+
key?:
|
666
|
+
string;
|
483
667
|
/** OAuth 2.0 token for the current user. */
|
484
|
-
oauth_token?:
|
668
|
+
oauth_token?:
|
669
|
+
string;
|
485
670
|
/** Optional. Sorting order for the list of rows on createTime/updateTime. */
|
486
|
-
orderBy?:
|
671
|
+
orderBy?:
|
672
|
+
string;
|
487
673
|
/**
|
488
674
|
* The maximum number of rows to return. The service may return fewer than this value. If unspecified, at most 50 rows are returned. The maximum value is 1,000; values above 1,000
|
489
675
|
* are coerced to 1,000.
|
490
676
|
*/
|
491
|
-
pageSize?:
|
677
|
+
pageSize?:
|
678
|
+
number;
|
492
679
|
/**
|
493
680
|
* A page token, received from a previous `ListRows` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRows` must match the
|
494
681
|
* call that provided the page token.
|
495
682
|
*/
|
496
|
-
pageToken?:
|
683
|
+
pageToken?:
|
684
|
+
string;
|
497
685
|
/** Required. The parent table. Format: tables/{table} */
|
498
|
-
parent:
|
686
|
+
parent:
|
687
|
+
string;
|
499
688
|
/** Returns response with indentations and line breaks. */
|
500
|
-
prettyPrint?:
|
689
|
+
prettyPrint?:
|
690
|
+
boolean;
|
501
691
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
502
|
-
quotaUser?:
|
692
|
+
quotaUser?:
|
693
|
+
string;
|
503
694
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
504
|
-
upload_protocol?:
|
695
|
+
upload_protocol?:
|
696
|
+
string;
|
505
697
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
506
|
-
uploadType?:
|
698
|
+
uploadType?:
|
699
|
+
string;
|
507
700
|
/** Optional. Column key to use for values in the row. Defaults to user entered name. */
|
508
|
-
view?:
|
701
|
+
view?:
|
702
|
+
string;
|
509
703
|
}): Request<ListRowsResponse>;
|
510
704
|
/** Updates a row. */
|
511
705
|
patch(request: {
|
512
706
|
/** V1 error format. */
|
513
|
-
"$.xgafv"?:
|
707
|
+
"$.xgafv"?:
|
708
|
+
string;
|
514
709
|
/** OAuth access token. */
|
515
|
-
access_token?:
|
710
|
+
access_token?:
|
711
|
+
string;
|
516
712
|
/** Data format for response. */
|
517
|
-
alt?:
|
713
|
+
alt?:
|
714
|
+
string;
|
518
715
|
/** JSONP */
|
519
|
-
callback?:
|
716
|
+
callback?:
|
717
|
+
string;
|
520
718
|
/** Selector specifying which fields to include in a partial response. */
|
521
|
-
fields?:
|
719
|
+
fields?:
|
720
|
+
string;
|
522
721
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
523
|
-
key?:
|
722
|
+
key?:
|
723
|
+
string;
|
524
724
|
/** The resource name of the row. Row names have the form `tables/{table}/rows/{row}`. The name is ignored when creating a row. */
|
525
|
-
name:
|
725
|
+
name:
|
726
|
+
string;
|
526
727
|
/** OAuth 2.0 token for the current user. */
|
527
|
-
oauth_token?:
|
728
|
+
oauth_token?:
|
729
|
+
string;
|
528
730
|
/** Returns response with indentations and line breaks. */
|
529
|
-
prettyPrint?:
|
731
|
+
prettyPrint?:
|
732
|
+
boolean;
|
530
733
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
531
|
-
quotaUser?:
|
734
|
+
quotaUser?:
|
735
|
+
string;
|
532
736
|
/** The list of fields to update. */
|
533
|
-
updateMask?:
|
737
|
+
updateMask?:
|
738
|
+
string;
|
534
739
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
535
|
-
upload_protocol?:
|
740
|
+
upload_protocol?:
|
741
|
+
string;
|
536
742
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
537
|
-
uploadType?:
|
743
|
+
uploadType?:
|
744
|
+
string;
|
538
745
|
/** Optional. Column key to use for values in the row. Defaults to user entered name. */
|
539
|
-
view?:
|
746
|
+
view?:
|
747
|
+
string;
|
540
748
|
/** Request body */
|
541
|
-
resource:
|
749
|
+
resource:
|
750
|
+
Row;
|
542
751
|
}): Request<Row>;
|
543
752
|
patch(request: {
|
544
753
|
/** V1 error format. */
|
545
|
-
"$.xgafv"?:
|
754
|
+
"$.xgafv"?:
|
755
|
+
string;
|
546
756
|
/** OAuth access token. */
|
547
|
-
access_token?:
|
757
|
+
access_token?:
|
758
|
+
string;
|
548
759
|
/** Data format for response. */
|
549
|
-
alt?:
|
760
|
+
alt?:
|
761
|
+
string;
|
550
762
|
/** JSONP */
|
551
|
-
callback?:
|
763
|
+
callback?:
|
764
|
+
string;
|
552
765
|
/** Selector specifying which fields to include in a partial response. */
|
553
|
-
fields?:
|
766
|
+
fields?:
|
767
|
+
string;
|
554
768
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
555
|
-
key?:
|
769
|
+
key?:
|
770
|
+
string;
|
556
771
|
/** The resource name of the row. Row names have the form `tables/{table}/rows/{row}`. The name is ignored when creating a row. */
|
557
|
-
name:
|
772
|
+
name:
|
773
|
+
string;
|
558
774
|
/** OAuth 2.0 token for the current user. */
|
559
|
-
oauth_token?:
|
775
|
+
oauth_token?:
|
776
|
+
string;
|
560
777
|
/** Returns response with indentations and line breaks. */
|
561
|
-
prettyPrint?:
|
778
|
+
prettyPrint?:
|
779
|
+
boolean;
|
562
780
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
563
|
-
quotaUser?:
|
781
|
+
quotaUser?:
|
782
|
+
string;
|
564
783
|
/** The list of fields to update. */
|
565
|
-
updateMask?:
|
784
|
+
updateMask?:
|
785
|
+
string;
|
566
786
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
567
|
-
upload_protocol?:
|
787
|
+
upload_protocol?:
|
788
|
+
string;
|
568
789
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
569
|
-
uploadType?:
|
790
|
+
uploadType?:
|
791
|
+
string;
|
570
792
|
/** Optional. Column key to use for values in the row. Defaults to user entered name. */
|
571
|
-
view?:
|
793
|
+
view?:
|
794
|
+
string;
|
572
795
|
},
|
573
796
|
body: Row): Request<Row>;
|
574
797
|
}
|
@@ -576,131 +799,183 @@ declare namespace gapi.client {
|
|
576
799
|
/** Gets a table. Returns NOT_FOUND if the table does not exist. */
|
577
800
|
get(request?: {
|
578
801
|
/** V1 error format. */
|
579
|
-
"$.xgafv"?:
|
802
|
+
"$.xgafv"?:
|
803
|
+
string;
|
580
804
|
/** OAuth access token. */
|
581
|
-
access_token?:
|
805
|
+
access_token?:
|
806
|
+
string;
|
582
807
|
/** Data format for response. */
|
583
|
-
alt?:
|
808
|
+
alt?:
|
809
|
+
string;
|
584
810
|
/** JSONP */
|
585
|
-
callback?:
|
811
|
+
callback?:
|
812
|
+
string;
|
586
813
|
/** Selector specifying which fields to include in a partial response. */
|
587
|
-
fields?:
|
814
|
+
fields?:
|
815
|
+
string;
|
588
816
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
589
|
-
key?:
|
817
|
+
key?:
|
818
|
+
string;
|
590
819
|
/** Required. The name of the table to retrieve. Format: tables/{table} */
|
591
|
-
name:
|
820
|
+
name:
|
821
|
+
string;
|
592
822
|
/** OAuth 2.0 token for the current user. */
|
593
|
-
oauth_token?:
|
823
|
+
oauth_token?:
|
824
|
+
string;
|
594
825
|
/** Returns response with indentations and line breaks. */
|
595
|
-
prettyPrint?:
|
826
|
+
prettyPrint?:
|
827
|
+
boolean;
|
596
828
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
597
|
-
quotaUser?:
|
829
|
+
quotaUser?:
|
830
|
+
string;
|
598
831
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
599
|
-
upload_protocol?:
|
832
|
+
upload_protocol?:
|
833
|
+
string;
|
600
834
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
601
|
-
uploadType?:
|
835
|
+
uploadType?:
|
836
|
+
string;
|
602
837
|
}): Request<Table>;
|
603
838
|
/** Lists tables for the user. */
|
604
839
|
list(request?: {
|
605
840
|
/** V1 error format. */
|
606
|
-
"$.xgafv"?:
|
841
|
+
"$.xgafv"?:
|
842
|
+
string;
|
607
843
|
/** OAuth access token. */
|
608
|
-
access_token?:
|
844
|
+
access_token?:
|
845
|
+
string;
|
609
846
|
/** Data format for response. */
|
610
|
-
alt?:
|
847
|
+
alt?:
|
848
|
+
string;
|
611
849
|
/** JSONP */
|
612
|
-
callback?:
|
850
|
+
callback?:
|
851
|
+
string;
|
613
852
|
/** Selector specifying which fields to include in a partial response. */
|
614
|
-
fields?:
|
853
|
+
fields?:
|
854
|
+
string;
|
615
855
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
616
|
-
key?:
|
856
|
+
key?:
|
857
|
+
string;
|
617
858
|
/** OAuth 2.0 token for the current user. */
|
618
|
-
oauth_token?:
|
859
|
+
oauth_token?:
|
860
|
+
string;
|
619
861
|
/** Optional. Sorting order for the list of tables on createTime/updateTime. */
|
620
|
-
orderBy?:
|
862
|
+
orderBy?:
|
863
|
+
string;
|
621
864
|
/**
|
622
865
|
* The maximum number of tables to return. The service may return fewer than this value. If unspecified, at most 20 tables are returned. The maximum value is 100; values above 100
|
623
866
|
* are coerced to 100.
|
624
867
|
*/
|
625
|
-
pageSize?:
|
868
|
+
pageSize?:
|
869
|
+
number;
|
626
870
|
/**
|
627
871
|
* A page token, received from a previous `ListTables` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTables` must match
|
628
872
|
* the call that provided the page token.
|
629
873
|
*/
|
630
|
-
pageToken?:
|
874
|
+
pageToken?:
|
875
|
+
string;
|
631
876
|
/** Returns response with indentations and line breaks. */
|
632
|
-
prettyPrint?:
|
877
|
+
prettyPrint?:
|
878
|
+
boolean;
|
633
879
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
634
|
-
quotaUser?:
|
880
|
+
quotaUser?:
|
881
|
+
string;
|
635
882
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
636
|
-
upload_protocol?:
|
883
|
+
upload_protocol?:
|
884
|
+
string;
|
637
885
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
638
|
-
uploadType?:
|
886
|
+
uploadType?:
|
887
|
+
string;
|
639
888
|
}): Request<ListTablesResponse>;
|
640
|
-
rows:
|
889
|
+
rows:
|
890
|
+
RowsResource;
|
641
891
|
}
|
642
892
|
interface WorkspacesResource {
|
643
893
|
/** Gets a workspace. Returns NOT_FOUND if the workspace does not exist. */
|
644
894
|
get(request?: {
|
645
895
|
/** V1 error format. */
|
646
|
-
"$.xgafv"?:
|
896
|
+
"$.xgafv"?:
|
897
|
+
string;
|
647
898
|
/** OAuth access token. */
|
648
|
-
access_token?:
|
899
|
+
access_token?:
|
900
|
+
string;
|
649
901
|
/** Data format for response. */
|
650
|
-
alt?:
|
902
|
+
alt?:
|
903
|
+
string;
|
651
904
|
/** JSONP */
|
652
|
-
callback?:
|
905
|
+
callback?:
|
906
|
+
string;
|
653
907
|
/** Selector specifying which fields to include in a partial response. */
|
654
|
-
fields?:
|
908
|
+
fields?:
|
909
|
+
string;
|
655
910
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
656
|
-
key?:
|
911
|
+
key?:
|
912
|
+
string;
|
657
913
|
/** Required. The name of the workspace to retrieve. Format: workspaces/{workspace} */
|
658
|
-
name:
|
914
|
+
name:
|
915
|
+
string;
|
659
916
|
/** OAuth 2.0 token for the current user. */
|
660
|
-
oauth_token?:
|
917
|
+
oauth_token?:
|
918
|
+
string;
|
661
919
|
/** Returns response with indentations and line breaks. */
|
662
|
-
prettyPrint?:
|
920
|
+
prettyPrint?:
|
921
|
+
boolean;
|
663
922
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
664
|
-
quotaUser?:
|
923
|
+
quotaUser?:
|
924
|
+
string;
|
665
925
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
666
|
-
upload_protocol?:
|
926
|
+
upload_protocol?:
|
927
|
+
string;
|
667
928
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
668
|
-
uploadType?:
|
929
|
+
uploadType?:
|
930
|
+
string;
|
669
931
|
}): Request<Workspace>;
|
670
932
|
/** Lists workspaces for the user. */
|
671
933
|
list(request?: {
|
672
934
|
/** V1 error format. */
|
673
|
-
"$.xgafv"?:
|
935
|
+
"$.xgafv"?:
|
936
|
+
string;
|
674
937
|
/** OAuth access token. */
|
675
|
-
access_token?:
|
938
|
+
access_token?:
|
939
|
+
string;
|
676
940
|
/** Data format for response. */
|
677
|
-
alt?:
|
941
|
+
alt?:
|
942
|
+
string;
|
678
943
|
/** JSONP */
|
679
|
-
callback?:
|
944
|
+
callback?:
|
945
|
+
string;
|
680
946
|
/** Selector specifying which fields to include in a partial response. */
|
681
|
-
fields?:
|
947
|
+
fields?:
|
948
|
+
string;
|
682
949
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
683
|
-
key?:
|
950
|
+
key?:
|
951
|
+
string;
|
684
952
|
/** OAuth 2.0 token for the current user. */
|
685
|
-
oauth_token?:
|
953
|
+
oauth_token?:
|
954
|
+
string;
|
686
955
|
/**
|
687
956
|
* The maximum number of workspaces to return. The service may return fewer than this value. If unspecified, at most 10 workspaces are returned. The maximum value is 25; values
|
688
957
|
* above 25 are coerced to 25.
|
689
958
|
*/
|
690
|
-
pageSize?:
|
959
|
+
pageSize?:
|
960
|
+
number;
|
691
961
|
/**
|
692
962
|
* A page token, received from a previous `ListWorkspaces` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkspaces`
|
693
963
|
* must match the call that provided the page token.
|
694
964
|
*/
|
695
|
-
pageToken?:
|
965
|
+
pageToken?:
|
966
|
+
string;
|
696
967
|
/** Returns response with indentations and line breaks. */
|
697
|
-
prettyPrint?:
|
968
|
+
prettyPrint?:
|
969
|
+
boolean;
|
698
970
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
699
|
-
quotaUser?:
|
971
|
+
quotaUser?:
|
972
|
+
string;
|
700
973
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
701
|
-
upload_protocol?:
|
974
|
+
upload_protocol?:
|
975
|
+
string;
|
702
976
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
703
|
-
uploadType?:
|
977
|
+
uploadType?:
|
978
|
+
string;
|
704
979
|
}): Request<ListWorkspacesResponse>;
|
705
980
|
}
|
706
981
|
|
package/package.json
CHANGED
package/tests.ts
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
5
5
|
|
6
|
-
// Revision:
|
6
|
+
// Revision: 20230504
|
7
7
|
|
8
8
|
gapi.load('client', async () => {
|
9
9
|
/** now we can use gapi.client */
|