@maxim_mazurok/gapi.client.biglake-v1 0.0.20231016
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 +1109 -0
- package/package.json +20 -0
- package/readme.md +71 -0
- package/tests.ts +185 -0
- package/tsconfig.json +18 -0
- package/tslint.json +6 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,1109 @@
|
|
|
1
|
+
/* Type definitions for non-npm package BigLake API v1 0.0 */
|
|
2
|
+
// Project: https://cloud.google.com/bigquery/
|
|
3
|
+
// Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
|
|
4
|
+
// Nick Amoscato <https://github.com/namoscato>
|
|
5
|
+
// Declan Vong <https://github.com/declanvong>
|
|
6
|
+
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
7
|
+
|
|
8
|
+
// IMPORTANT
|
|
9
|
+
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
|
+
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
|
+
// Generated from: https://biglake.googleapis.com/$discovery/rest?version=v1
|
|
12
|
+
// Revision: 20231016
|
|
13
|
+
|
|
14
|
+
/// <reference types="gapi.client" />
|
|
15
|
+
|
|
16
|
+
declare namespace gapi.client {
|
|
17
|
+
/** Load BigLake API v1 */
|
|
18
|
+
function load(urlOrObject: "https://biglake.googleapis.com/$discovery/rest?version=v1"): Promise<void>;
|
|
19
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
20
|
+
function load(name: "biglake", version: "v1"): Promise<void>;
|
|
21
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
22
|
+
function load(name: "biglake", version: "v1", callback: () => any): void;
|
|
23
|
+
|
|
24
|
+
namespace biglake {
|
|
25
|
+
interface Catalog {
|
|
26
|
+
/** Output only. The creation time of the catalog. */
|
|
27
|
+
createTime?:
|
|
28
|
+
string;
|
|
29
|
+
/** Output only. The deletion time of the catalog. Only set after the catalog is deleted. */
|
|
30
|
+
deleteTime?:
|
|
31
|
+
string;
|
|
32
|
+
/** Output only. The time when this catalog is considered expired. Only set after the catalog is deleted. */
|
|
33
|
+
expireTime?:
|
|
34
|
+
string;
|
|
35
|
+
/** Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id} */
|
|
36
|
+
name?:
|
|
37
|
+
string;
|
|
38
|
+
/** Output only. The last modification time of the catalog. */
|
|
39
|
+
updateTime?:
|
|
40
|
+
string;
|
|
41
|
+
}
|
|
42
|
+
interface Database {
|
|
43
|
+
/** Output only. The creation time of the database. */
|
|
44
|
+
createTime?:
|
|
45
|
+
string;
|
|
46
|
+
/** Output only. The deletion time of the database. Only set after the database is deleted. */
|
|
47
|
+
deleteTime?:
|
|
48
|
+
string;
|
|
49
|
+
/** Output only. The time when this database is considered expired. Only set after the database is deleted. */
|
|
50
|
+
expireTime?:
|
|
51
|
+
string;
|
|
52
|
+
/** Options of a Hive database. */
|
|
53
|
+
hiveOptions?:
|
|
54
|
+
HiveDatabaseOptions;
|
|
55
|
+
/** Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} */
|
|
56
|
+
name?:
|
|
57
|
+
string;
|
|
58
|
+
/** The database type. */
|
|
59
|
+
type?:
|
|
60
|
+
string;
|
|
61
|
+
/** Output only. The last modification time of the database. */
|
|
62
|
+
updateTime?:
|
|
63
|
+
string;
|
|
64
|
+
}
|
|
65
|
+
interface HiveDatabaseOptions {
|
|
66
|
+
/** Cloud Storage folder URI where the database data is stored, starting with "gs://". */
|
|
67
|
+
locationUri?:
|
|
68
|
+
string;
|
|
69
|
+
/** Stores user supplied Hive database parameters. */
|
|
70
|
+
parameters?:
|
|
71
|
+
{ [P in string]: string };
|
|
72
|
+
}
|
|
73
|
+
interface HiveTableOptions {
|
|
74
|
+
/** Stores user supplied Hive table parameters. */
|
|
75
|
+
parameters?:
|
|
76
|
+
{ [P in string]: string };
|
|
77
|
+
/** Stores physical storage information of the data. */
|
|
78
|
+
storageDescriptor?:
|
|
79
|
+
StorageDescriptor;
|
|
80
|
+
/** Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE. */
|
|
81
|
+
tableType?:
|
|
82
|
+
string;
|
|
83
|
+
}
|
|
84
|
+
interface ListCatalogsResponse {
|
|
85
|
+
/** The catalogs from the specified project. */
|
|
86
|
+
catalogs?:
|
|
87
|
+
Catalog[];
|
|
88
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
89
|
+
nextPageToken?:
|
|
90
|
+
string;
|
|
91
|
+
}
|
|
92
|
+
interface ListDatabasesResponse {
|
|
93
|
+
/** The databases from the specified catalog. */
|
|
94
|
+
databases?:
|
|
95
|
+
Database[];
|
|
96
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
97
|
+
nextPageToken?:
|
|
98
|
+
string;
|
|
99
|
+
}
|
|
100
|
+
interface ListTablesResponse {
|
|
101
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
102
|
+
nextPageToken?:
|
|
103
|
+
string;
|
|
104
|
+
/** The tables from the specified database. */
|
|
105
|
+
tables?:
|
|
106
|
+
Table[];
|
|
107
|
+
}
|
|
108
|
+
interface RenameTableRequest {
|
|
109
|
+
/**
|
|
110
|
+
* Required. The new `name` for the specified table, must be in the same database. Format:
|
|
111
|
+
* projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}
|
|
112
|
+
*/
|
|
113
|
+
newName?:
|
|
114
|
+
string;
|
|
115
|
+
}
|
|
116
|
+
interface SerDeInfo {
|
|
117
|
+
/** The fully qualified Java class name of the serialization library. */
|
|
118
|
+
serializationLib?:
|
|
119
|
+
string;
|
|
120
|
+
}
|
|
121
|
+
interface StorageDescriptor {
|
|
122
|
+
/** The fully qualified Java class name of the input format. */
|
|
123
|
+
inputFormat?:
|
|
124
|
+
string;
|
|
125
|
+
/** Cloud Storage folder URI where the table data is stored, starting with "gs://". */
|
|
126
|
+
locationUri?:
|
|
127
|
+
string;
|
|
128
|
+
/** The fully qualified Java class name of the output format. */
|
|
129
|
+
outputFormat?:
|
|
130
|
+
string;
|
|
131
|
+
/** Serializer and deserializer information. */
|
|
132
|
+
serdeInfo?:
|
|
133
|
+
SerDeInfo;
|
|
134
|
+
}
|
|
135
|
+
interface Table {
|
|
136
|
+
/** Output only. The creation time of the table. */
|
|
137
|
+
createTime?:
|
|
138
|
+
string;
|
|
139
|
+
/** Output only. The deletion time of the table. Only set after the table is deleted. */
|
|
140
|
+
deleteTime?:
|
|
141
|
+
string;
|
|
142
|
+
/**
|
|
143
|
+
* The checksum of a table object computed by the server based on the value of other fields. It may be sent on update requests to ensure the client has an up-to-date value before
|
|
144
|
+
* proceeding. It is only checked for update table operations.
|
|
145
|
+
*/
|
|
146
|
+
etag?:
|
|
147
|
+
string;
|
|
148
|
+
/** Output only. The time when this table is considered expired. Only set after the table is deleted. */
|
|
149
|
+
expireTime?:
|
|
150
|
+
string;
|
|
151
|
+
/** Options of a Hive table. */
|
|
152
|
+
hiveOptions?:
|
|
153
|
+
HiveTableOptions;
|
|
154
|
+
/** Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id} */
|
|
155
|
+
name?:
|
|
156
|
+
string;
|
|
157
|
+
/** The table type. */
|
|
158
|
+
type?:
|
|
159
|
+
string;
|
|
160
|
+
/** Output only. The last modification time of the table. */
|
|
161
|
+
updateTime?:
|
|
162
|
+
string;
|
|
163
|
+
}
|
|
164
|
+
interface TablesResource {
|
|
165
|
+
/** Creates a new table. */
|
|
166
|
+
create(request: {
|
|
167
|
+
/** V1 error format. */
|
|
168
|
+
"$.xgafv"?:
|
|
169
|
+
string;
|
|
170
|
+
/** OAuth access token. */
|
|
171
|
+
access_token?:
|
|
172
|
+
string;
|
|
173
|
+
/** Data format for response. */
|
|
174
|
+
alt?:
|
|
175
|
+
string;
|
|
176
|
+
/** JSONP */
|
|
177
|
+
callback?:
|
|
178
|
+
string;
|
|
179
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
180
|
+
fields?:
|
|
181
|
+
string;
|
|
182
|
+
/** 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. */
|
|
183
|
+
key?:
|
|
184
|
+
string;
|
|
185
|
+
/** OAuth 2.0 token for the current user. */
|
|
186
|
+
oauth_token?:
|
|
187
|
+
string;
|
|
188
|
+
/** Required. The parent resource where this table will be created. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} */
|
|
189
|
+
parent:
|
|
190
|
+
string;
|
|
191
|
+
/** Returns response with indentations and line breaks. */
|
|
192
|
+
prettyPrint?:
|
|
193
|
+
boolean;
|
|
194
|
+
/** 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. */
|
|
195
|
+
quotaUser?:
|
|
196
|
+
string;
|
|
197
|
+
/** Required. The ID to use for the table, which will become the final component of the table's resource name. */
|
|
198
|
+
tableId?:
|
|
199
|
+
string;
|
|
200
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
201
|
+
upload_protocol?:
|
|
202
|
+
string;
|
|
203
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
204
|
+
uploadType?:
|
|
205
|
+
string;
|
|
206
|
+
/** Request body */
|
|
207
|
+
resource:
|
|
208
|
+
Table;
|
|
209
|
+
}): Request<Table>;
|
|
210
|
+
create(request: {
|
|
211
|
+
/** V1 error format. */
|
|
212
|
+
"$.xgafv"?:
|
|
213
|
+
string;
|
|
214
|
+
/** OAuth access token. */
|
|
215
|
+
access_token?:
|
|
216
|
+
string;
|
|
217
|
+
/** Data format for response. */
|
|
218
|
+
alt?:
|
|
219
|
+
string;
|
|
220
|
+
/** JSONP */
|
|
221
|
+
callback?:
|
|
222
|
+
string;
|
|
223
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
224
|
+
fields?:
|
|
225
|
+
string;
|
|
226
|
+
/** 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. */
|
|
227
|
+
key?:
|
|
228
|
+
string;
|
|
229
|
+
/** OAuth 2.0 token for the current user. */
|
|
230
|
+
oauth_token?:
|
|
231
|
+
string;
|
|
232
|
+
/** Required. The parent resource where this table will be created. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} */
|
|
233
|
+
parent:
|
|
234
|
+
string;
|
|
235
|
+
/** Returns response with indentations and line breaks. */
|
|
236
|
+
prettyPrint?:
|
|
237
|
+
boolean;
|
|
238
|
+
/** 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. */
|
|
239
|
+
quotaUser?:
|
|
240
|
+
string;
|
|
241
|
+
/** Required. The ID to use for the table, which will become the final component of the table's resource name. */
|
|
242
|
+
tableId?:
|
|
243
|
+
string;
|
|
244
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
245
|
+
upload_protocol?:
|
|
246
|
+
string;
|
|
247
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
248
|
+
uploadType?:
|
|
249
|
+
string;
|
|
250
|
+
},
|
|
251
|
+
body: Table): Request<Table>;
|
|
252
|
+
/** Deletes an existing table specified by the table ID. */
|
|
253
|
+
delete(request?: {
|
|
254
|
+
/** V1 error format. */
|
|
255
|
+
"$.xgafv"?:
|
|
256
|
+
string;
|
|
257
|
+
/** OAuth access token. */
|
|
258
|
+
access_token?:
|
|
259
|
+
string;
|
|
260
|
+
/** Data format for response. */
|
|
261
|
+
alt?:
|
|
262
|
+
string;
|
|
263
|
+
/** JSONP */
|
|
264
|
+
callback?:
|
|
265
|
+
string;
|
|
266
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
267
|
+
fields?:
|
|
268
|
+
string;
|
|
269
|
+
/** 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. */
|
|
270
|
+
key?:
|
|
271
|
+
string;
|
|
272
|
+
/** Required. The name of the table to delete. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id} */
|
|
273
|
+
name:
|
|
274
|
+
string;
|
|
275
|
+
/** OAuth 2.0 token for the current user. */
|
|
276
|
+
oauth_token?:
|
|
277
|
+
string;
|
|
278
|
+
/** Returns response with indentations and line breaks. */
|
|
279
|
+
prettyPrint?:
|
|
280
|
+
boolean;
|
|
281
|
+
/** 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. */
|
|
282
|
+
quotaUser?:
|
|
283
|
+
string;
|
|
284
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
285
|
+
upload_protocol?:
|
|
286
|
+
string;
|
|
287
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
288
|
+
uploadType?:
|
|
289
|
+
string;
|
|
290
|
+
}): Request<Table>;
|
|
291
|
+
/** Gets the table specified by the resource name. */
|
|
292
|
+
get(request?: {
|
|
293
|
+
/** V1 error format. */
|
|
294
|
+
"$.xgafv"?:
|
|
295
|
+
string;
|
|
296
|
+
/** OAuth access token. */
|
|
297
|
+
access_token?:
|
|
298
|
+
string;
|
|
299
|
+
/** Data format for response. */
|
|
300
|
+
alt?:
|
|
301
|
+
string;
|
|
302
|
+
/** JSONP */
|
|
303
|
+
callback?:
|
|
304
|
+
string;
|
|
305
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
306
|
+
fields?:
|
|
307
|
+
string;
|
|
308
|
+
/** 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. */
|
|
309
|
+
key?:
|
|
310
|
+
string;
|
|
311
|
+
/** Required. The name of the table to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id} */
|
|
312
|
+
name:
|
|
313
|
+
string;
|
|
314
|
+
/** OAuth 2.0 token for the current user. */
|
|
315
|
+
oauth_token?:
|
|
316
|
+
string;
|
|
317
|
+
/** Returns response with indentations and line breaks. */
|
|
318
|
+
prettyPrint?:
|
|
319
|
+
boolean;
|
|
320
|
+
/** 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. */
|
|
321
|
+
quotaUser?:
|
|
322
|
+
string;
|
|
323
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
324
|
+
upload_protocol?:
|
|
325
|
+
string;
|
|
326
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
327
|
+
uploadType?:
|
|
328
|
+
string;
|
|
329
|
+
}): Request<Table>;
|
|
330
|
+
/** List all tables in a specified database. */
|
|
331
|
+
list(request?: {
|
|
332
|
+
/** V1 error format. */
|
|
333
|
+
"$.xgafv"?:
|
|
334
|
+
string;
|
|
335
|
+
/** OAuth access token. */
|
|
336
|
+
access_token?:
|
|
337
|
+
string;
|
|
338
|
+
/** Data format for response. */
|
|
339
|
+
alt?:
|
|
340
|
+
string;
|
|
341
|
+
/** JSONP */
|
|
342
|
+
callback?:
|
|
343
|
+
string;
|
|
344
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
345
|
+
fields?:
|
|
346
|
+
string;
|
|
347
|
+
/** 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. */
|
|
348
|
+
key?:
|
|
349
|
+
string;
|
|
350
|
+
/** OAuth 2.0 token for the current user. */
|
|
351
|
+
oauth_token?:
|
|
352
|
+
string;
|
|
353
|
+
/**
|
|
354
|
+
* The maximum number of tables to return. The service may return fewer than this value. If unspecified, at most 50 tables will be returned. The maximum value is 1000; values above
|
|
355
|
+
* 1000 will be coerced to 1000.
|
|
356
|
+
*/
|
|
357
|
+
pageSize?:
|
|
358
|
+
number;
|
|
359
|
+
/**
|
|
360
|
+
* 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
|
|
361
|
+
* the call that provided the page token.
|
|
362
|
+
*/
|
|
363
|
+
pageToken?:
|
|
364
|
+
string;
|
|
365
|
+
/** Required. The parent, which owns this collection of tables. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} */
|
|
366
|
+
parent:
|
|
367
|
+
string;
|
|
368
|
+
/** Returns response with indentations and line breaks. */
|
|
369
|
+
prettyPrint?:
|
|
370
|
+
boolean;
|
|
371
|
+
/** 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. */
|
|
372
|
+
quotaUser?:
|
|
373
|
+
string;
|
|
374
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
375
|
+
upload_protocol?:
|
|
376
|
+
string;
|
|
377
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
378
|
+
uploadType?:
|
|
379
|
+
string;
|
|
380
|
+
/** The view for the returned tables. */
|
|
381
|
+
view?:
|
|
382
|
+
string;
|
|
383
|
+
}): Request<ListTablesResponse>;
|
|
384
|
+
/** Updates an existing table specified by the table ID. */
|
|
385
|
+
patch(request: {
|
|
386
|
+
/** V1 error format. */
|
|
387
|
+
"$.xgafv"?:
|
|
388
|
+
string;
|
|
389
|
+
/** OAuth access token. */
|
|
390
|
+
access_token?:
|
|
391
|
+
string;
|
|
392
|
+
/** Data format for response. */
|
|
393
|
+
alt?:
|
|
394
|
+
string;
|
|
395
|
+
/** JSONP */
|
|
396
|
+
callback?:
|
|
397
|
+
string;
|
|
398
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
399
|
+
fields?:
|
|
400
|
+
string;
|
|
401
|
+
/** 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. */
|
|
402
|
+
key?:
|
|
403
|
+
string;
|
|
404
|
+
/** Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id} */
|
|
405
|
+
name:
|
|
406
|
+
string;
|
|
407
|
+
/** OAuth 2.0 token for the current user. */
|
|
408
|
+
oauth_token?:
|
|
409
|
+
string;
|
|
410
|
+
/** Returns response with indentations and line breaks. */
|
|
411
|
+
prettyPrint?:
|
|
412
|
+
boolean;
|
|
413
|
+
/** 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. */
|
|
414
|
+
quotaUser?:
|
|
415
|
+
string;
|
|
416
|
+
/**
|
|
417
|
+
* The list of fields to update. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to
|
|
418
|
+
* all of the fields that are allowed to update.
|
|
419
|
+
*/
|
|
420
|
+
updateMask?:
|
|
421
|
+
string;
|
|
422
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
423
|
+
upload_protocol?:
|
|
424
|
+
string;
|
|
425
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
426
|
+
uploadType?:
|
|
427
|
+
string;
|
|
428
|
+
/** Request body */
|
|
429
|
+
resource:
|
|
430
|
+
Table;
|
|
431
|
+
}): Request<Table>;
|
|
432
|
+
patch(request: {
|
|
433
|
+
/** V1 error format. */
|
|
434
|
+
"$.xgafv"?:
|
|
435
|
+
string;
|
|
436
|
+
/** OAuth access token. */
|
|
437
|
+
access_token?:
|
|
438
|
+
string;
|
|
439
|
+
/** Data format for response. */
|
|
440
|
+
alt?:
|
|
441
|
+
string;
|
|
442
|
+
/** JSONP */
|
|
443
|
+
callback?:
|
|
444
|
+
string;
|
|
445
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
446
|
+
fields?:
|
|
447
|
+
string;
|
|
448
|
+
/** 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. */
|
|
449
|
+
key?:
|
|
450
|
+
string;
|
|
451
|
+
/** Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id} */
|
|
452
|
+
name:
|
|
453
|
+
string;
|
|
454
|
+
/** OAuth 2.0 token for the current user. */
|
|
455
|
+
oauth_token?:
|
|
456
|
+
string;
|
|
457
|
+
/** Returns response with indentations and line breaks. */
|
|
458
|
+
prettyPrint?:
|
|
459
|
+
boolean;
|
|
460
|
+
/** 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. */
|
|
461
|
+
quotaUser?:
|
|
462
|
+
string;
|
|
463
|
+
/**
|
|
464
|
+
* The list of fields to update. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to
|
|
465
|
+
* all of the fields that are allowed to update.
|
|
466
|
+
*/
|
|
467
|
+
updateMask?:
|
|
468
|
+
string;
|
|
469
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
470
|
+
upload_protocol?:
|
|
471
|
+
string;
|
|
472
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
473
|
+
uploadType?:
|
|
474
|
+
string;
|
|
475
|
+
},
|
|
476
|
+
body: Table): Request<Table>;
|
|
477
|
+
/** Renames an existing table specified by the table ID. */
|
|
478
|
+
rename(request: {
|
|
479
|
+
/** V1 error format. */
|
|
480
|
+
"$.xgafv"?:
|
|
481
|
+
string;
|
|
482
|
+
/** OAuth access token. */
|
|
483
|
+
access_token?:
|
|
484
|
+
string;
|
|
485
|
+
/** Data format for response. */
|
|
486
|
+
alt?:
|
|
487
|
+
string;
|
|
488
|
+
/** JSONP */
|
|
489
|
+
callback?:
|
|
490
|
+
string;
|
|
491
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
492
|
+
fields?:
|
|
493
|
+
string;
|
|
494
|
+
/** 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. */
|
|
495
|
+
key?:
|
|
496
|
+
string;
|
|
497
|
+
/**
|
|
498
|
+
* Required. The table's `name` field is used to identify the table to rename. Format:
|
|
499
|
+
* projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}
|
|
500
|
+
*/
|
|
501
|
+
name:
|
|
502
|
+
string;
|
|
503
|
+
/** OAuth 2.0 token for the current user. */
|
|
504
|
+
oauth_token?:
|
|
505
|
+
string;
|
|
506
|
+
/** Returns response with indentations and line breaks. */
|
|
507
|
+
prettyPrint?:
|
|
508
|
+
boolean;
|
|
509
|
+
/** 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. */
|
|
510
|
+
quotaUser?:
|
|
511
|
+
string;
|
|
512
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
513
|
+
upload_protocol?:
|
|
514
|
+
string;
|
|
515
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
516
|
+
uploadType?:
|
|
517
|
+
string;
|
|
518
|
+
/** Request body */
|
|
519
|
+
resource:
|
|
520
|
+
RenameTableRequest;
|
|
521
|
+
}): Request<Table>;
|
|
522
|
+
rename(request: {
|
|
523
|
+
/** V1 error format. */
|
|
524
|
+
"$.xgafv"?:
|
|
525
|
+
string;
|
|
526
|
+
/** OAuth access token. */
|
|
527
|
+
access_token?:
|
|
528
|
+
string;
|
|
529
|
+
/** Data format for response. */
|
|
530
|
+
alt?:
|
|
531
|
+
string;
|
|
532
|
+
/** JSONP */
|
|
533
|
+
callback?:
|
|
534
|
+
string;
|
|
535
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
536
|
+
fields?:
|
|
537
|
+
string;
|
|
538
|
+
/** 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. */
|
|
539
|
+
key?:
|
|
540
|
+
string;
|
|
541
|
+
/**
|
|
542
|
+
* Required. The table's `name` field is used to identify the table to rename. Format:
|
|
543
|
+
* projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}
|
|
544
|
+
*/
|
|
545
|
+
name:
|
|
546
|
+
string;
|
|
547
|
+
/** OAuth 2.0 token for the current user. */
|
|
548
|
+
oauth_token?:
|
|
549
|
+
string;
|
|
550
|
+
/** Returns response with indentations and line breaks. */
|
|
551
|
+
prettyPrint?:
|
|
552
|
+
boolean;
|
|
553
|
+
/** 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. */
|
|
554
|
+
quotaUser?:
|
|
555
|
+
string;
|
|
556
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
557
|
+
upload_protocol?:
|
|
558
|
+
string;
|
|
559
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
560
|
+
uploadType?:
|
|
561
|
+
string;
|
|
562
|
+
},
|
|
563
|
+
body: RenameTableRequest): Request<Table>;
|
|
564
|
+
}
|
|
565
|
+
interface DatabasesResource {
|
|
566
|
+
/** Creates a new database. */
|
|
567
|
+
create(request: {
|
|
568
|
+
/** V1 error format. */
|
|
569
|
+
"$.xgafv"?:
|
|
570
|
+
string;
|
|
571
|
+
/** OAuth access token. */
|
|
572
|
+
access_token?:
|
|
573
|
+
string;
|
|
574
|
+
/** Data format for response. */
|
|
575
|
+
alt?:
|
|
576
|
+
string;
|
|
577
|
+
/** JSONP */
|
|
578
|
+
callback?:
|
|
579
|
+
string;
|
|
580
|
+
/** Required. The ID to use for the database, which will become the final component of the database's resource name. */
|
|
581
|
+
databaseId?:
|
|
582
|
+
string;
|
|
583
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
584
|
+
fields?:
|
|
585
|
+
string;
|
|
586
|
+
/** 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. */
|
|
587
|
+
key?:
|
|
588
|
+
string;
|
|
589
|
+
/** OAuth 2.0 token for the current user. */
|
|
590
|
+
oauth_token?:
|
|
591
|
+
string;
|
|
592
|
+
/** Required. The parent resource where this database will be created. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id} */
|
|
593
|
+
parent:
|
|
594
|
+
string;
|
|
595
|
+
/** Returns response with indentations and line breaks. */
|
|
596
|
+
prettyPrint?:
|
|
597
|
+
boolean;
|
|
598
|
+
/** 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. */
|
|
599
|
+
quotaUser?:
|
|
600
|
+
string;
|
|
601
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
602
|
+
upload_protocol?:
|
|
603
|
+
string;
|
|
604
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
605
|
+
uploadType?:
|
|
606
|
+
string;
|
|
607
|
+
/** Request body */
|
|
608
|
+
resource:
|
|
609
|
+
Database;
|
|
610
|
+
}): Request<Database>;
|
|
611
|
+
create(request: {
|
|
612
|
+
/** V1 error format. */
|
|
613
|
+
"$.xgafv"?:
|
|
614
|
+
string;
|
|
615
|
+
/** OAuth access token. */
|
|
616
|
+
access_token?:
|
|
617
|
+
string;
|
|
618
|
+
/** Data format for response. */
|
|
619
|
+
alt?:
|
|
620
|
+
string;
|
|
621
|
+
/** JSONP */
|
|
622
|
+
callback?:
|
|
623
|
+
string;
|
|
624
|
+
/** Required. The ID to use for the database, which will become the final component of the database's resource name. */
|
|
625
|
+
databaseId?:
|
|
626
|
+
string;
|
|
627
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
628
|
+
fields?:
|
|
629
|
+
string;
|
|
630
|
+
/** 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. */
|
|
631
|
+
key?:
|
|
632
|
+
string;
|
|
633
|
+
/** OAuth 2.0 token for the current user. */
|
|
634
|
+
oauth_token?:
|
|
635
|
+
string;
|
|
636
|
+
/** Required. The parent resource where this database will be created. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id} */
|
|
637
|
+
parent:
|
|
638
|
+
string;
|
|
639
|
+
/** Returns response with indentations and line breaks. */
|
|
640
|
+
prettyPrint?:
|
|
641
|
+
boolean;
|
|
642
|
+
/** 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. */
|
|
643
|
+
quotaUser?:
|
|
644
|
+
string;
|
|
645
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
646
|
+
upload_protocol?:
|
|
647
|
+
string;
|
|
648
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
649
|
+
uploadType?:
|
|
650
|
+
string;
|
|
651
|
+
},
|
|
652
|
+
body: Database): Request<Database>;
|
|
653
|
+
/** Deletes an existing database specified by the database ID. */
|
|
654
|
+
delete(request?: {
|
|
655
|
+
/** V1 error format. */
|
|
656
|
+
"$.xgafv"?:
|
|
657
|
+
string;
|
|
658
|
+
/** OAuth access token. */
|
|
659
|
+
access_token?:
|
|
660
|
+
string;
|
|
661
|
+
/** Data format for response. */
|
|
662
|
+
alt?:
|
|
663
|
+
string;
|
|
664
|
+
/** JSONP */
|
|
665
|
+
callback?:
|
|
666
|
+
string;
|
|
667
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
668
|
+
fields?:
|
|
669
|
+
string;
|
|
670
|
+
/** 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. */
|
|
671
|
+
key?:
|
|
672
|
+
string;
|
|
673
|
+
/** Required. The name of the database to delete. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} */
|
|
674
|
+
name:
|
|
675
|
+
string;
|
|
676
|
+
/** OAuth 2.0 token for the current user. */
|
|
677
|
+
oauth_token?:
|
|
678
|
+
string;
|
|
679
|
+
/** Returns response with indentations and line breaks. */
|
|
680
|
+
prettyPrint?:
|
|
681
|
+
boolean;
|
|
682
|
+
/** 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. */
|
|
683
|
+
quotaUser?:
|
|
684
|
+
string;
|
|
685
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
686
|
+
upload_protocol?:
|
|
687
|
+
string;
|
|
688
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
689
|
+
uploadType?:
|
|
690
|
+
string;
|
|
691
|
+
}): Request<Database>;
|
|
692
|
+
/** Gets the database specified by the resource name. */
|
|
693
|
+
get(request?: {
|
|
694
|
+
/** V1 error format. */
|
|
695
|
+
"$.xgafv"?:
|
|
696
|
+
string;
|
|
697
|
+
/** OAuth access token. */
|
|
698
|
+
access_token?:
|
|
699
|
+
string;
|
|
700
|
+
/** Data format for response. */
|
|
701
|
+
alt?:
|
|
702
|
+
string;
|
|
703
|
+
/** JSONP */
|
|
704
|
+
callback?:
|
|
705
|
+
string;
|
|
706
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
707
|
+
fields?:
|
|
708
|
+
string;
|
|
709
|
+
/** 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. */
|
|
710
|
+
key?:
|
|
711
|
+
string;
|
|
712
|
+
/** Required. The name of the database to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} */
|
|
713
|
+
name:
|
|
714
|
+
string;
|
|
715
|
+
/** OAuth 2.0 token for the current user. */
|
|
716
|
+
oauth_token?:
|
|
717
|
+
string;
|
|
718
|
+
/** Returns response with indentations and line breaks. */
|
|
719
|
+
prettyPrint?:
|
|
720
|
+
boolean;
|
|
721
|
+
/** 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. */
|
|
722
|
+
quotaUser?:
|
|
723
|
+
string;
|
|
724
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
725
|
+
upload_protocol?:
|
|
726
|
+
string;
|
|
727
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
728
|
+
uploadType?:
|
|
729
|
+
string;
|
|
730
|
+
}): Request<Database>;
|
|
731
|
+
/** List all databases in a specified catalog. */
|
|
732
|
+
list(request?: {
|
|
733
|
+
/** V1 error format. */
|
|
734
|
+
"$.xgafv"?:
|
|
735
|
+
string;
|
|
736
|
+
/** OAuth access token. */
|
|
737
|
+
access_token?:
|
|
738
|
+
string;
|
|
739
|
+
/** Data format for response. */
|
|
740
|
+
alt?:
|
|
741
|
+
string;
|
|
742
|
+
/** JSONP */
|
|
743
|
+
callback?:
|
|
744
|
+
string;
|
|
745
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
746
|
+
fields?:
|
|
747
|
+
string;
|
|
748
|
+
/** 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. */
|
|
749
|
+
key?:
|
|
750
|
+
string;
|
|
751
|
+
/** OAuth 2.0 token for the current user. */
|
|
752
|
+
oauth_token?:
|
|
753
|
+
string;
|
|
754
|
+
/**
|
|
755
|
+
* The maximum number of databases to return. The service may return fewer than this value. If unspecified, at most 50 databases will be returned. The maximum value is 1000; values
|
|
756
|
+
* above 1000 will be coerced to 1000.
|
|
757
|
+
*/
|
|
758
|
+
pageSize?:
|
|
759
|
+
number;
|
|
760
|
+
/**
|
|
761
|
+
* A page token, received from a previous `ListDatabases` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDatabases` must
|
|
762
|
+
* match the call that provided the page token.
|
|
763
|
+
*/
|
|
764
|
+
pageToken?:
|
|
765
|
+
string;
|
|
766
|
+
/** Required. The parent, which owns this collection of databases. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id} */
|
|
767
|
+
parent:
|
|
768
|
+
string;
|
|
769
|
+
/** Returns response with indentations and line breaks. */
|
|
770
|
+
prettyPrint?:
|
|
771
|
+
boolean;
|
|
772
|
+
/** 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. */
|
|
773
|
+
quotaUser?:
|
|
774
|
+
string;
|
|
775
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
776
|
+
upload_protocol?:
|
|
777
|
+
string;
|
|
778
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
779
|
+
uploadType?:
|
|
780
|
+
string;
|
|
781
|
+
}): Request<ListDatabasesResponse>;
|
|
782
|
+
/** Updates an existing database specified by the database ID. */
|
|
783
|
+
patch(request: {
|
|
784
|
+
/** V1 error format. */
|
|
785
|
+
"$.xgafv"?:
|
|
786
|
+
string;
|
|
787
|
+
/** OAuth access token. */
|
|
788
|
+
access_token?:
|
|
789
|
+
string;
|
|
790
|
+
/** Data format for response. */
|
|
791
|
+
alt?:
|
|
792
|
+
string;
|
|
793
|
+
/** JSONP */
|
|
794
|
+
callback?:
|
|
795
|
+
string;
|
|
796
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
797
|
+
fields?:
|
|
798
|
+
string;
|
|
799
|
+
/** 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. */
|
|
800
|
+
key?:
|
|
801
|
+
string;
|
|
802
|
+
/** Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} */
|
|
803
|
+
name:
|
|
804
|
+
string;
|
|
805
|
+
/** OAuth 2.0 token for the current user. */
|
|
806
|
+
oauth_token?:
|
|
807
|
+
string;
|
|
808
|
+
/** Returns response with indentations and line breaks. */
|
|
809
|
+
prettyPrint?:
|
|
810
|
+
boolean;
|
|
811
|
+
/** 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. */
|
|
812
|
+
quotaUser?:
|
|
813
|
+
string;
|
|
814
|
+
/**
|
|
815
|
+
* The list of fields to update. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to
|
|
816
|
+
* all of the fields that are allowed to update.
|
|
817
|
+
*/
|
|
818
|
+
updateMask?:
|
|
819
|
+
string;
|
|
820
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
821
|
+
upload_protocol?:
|
|
822
|
+
string;
|
|
823
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
824
|
+
uploadType?:
|
|
825
|
+
string;
|
|
826
|
+
/** Request body */
|
|
827
|
+
resource:
|
|
828
|
+
Database;
|
|
829
|
+
}): Request<Database>;
|
|
830
|
+
patch(request: {
|
|
831
|
+
/** V1 error format. */
|
|
832
|
+
"$.xgafv"?:
|
|
833
|
+
string;
|
|
834
|
+
/** OAuth access token. */
|
|
835
|
+
access_token?:
|
|
836
|
+
string;
|
|
837
|
+
/** Data format for response. */
|
|
838
|
+
alt?:
|
|
839
|
+
string;
|
|
840
|
+
/** JSONP */
|
|
841
|
+
callback?:
|
|
842
|
+
string;
|
|
843
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
844
|
+
fields?:
|
|
845
|
+
string;
|
|
846
|
+
/** 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. */
|
|
847
|
+
key?:
|
|
848
|
+
string;
|
|
849
|
+
/** Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} */
|
|
850
|
+
name:
|
|
851
|
+
string;
|
|
852
|
+
/** OAuth 2.0 token for the current user. */
|
|
853
|
+
oauth_token?:
|
|
854
|
+
string;
|
|
855
|
+
/** Returns response with indentations and line breaks. */
|
|
856
|
+
prettyPrint?:
|
|
857
|
+
boolean;
|
|
858
|
+
/** 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. */
|
|
859
|
+
quotaUser?:
|
|
860
|
+
string;
|
|
861
|
+
/**
|
|
862
|
+
* The list of fields to update. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to
|
|
863
|
+
* all of the fields that are allowed to update.
|
|
864
|
+
*/
|
|
865
|
+
updateMask?:
|
|
866
|
+
string;
|
|
867
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
868
|
+
upload_protocol?:
|
|
869
|
+
string;
|
|
870
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
871
|
+
uploadType?:
|
|
872
|
+
string;
|
|
873
|
+
},
|
|
874
|
+
body: Database): Request<Database>;
|
|
875
|
+
tables:
|
|
876
|
+
TablesResource;
|
|
877
|
+
}
|
|
878
|
+
interface CatalogsResource {
|
|
879
|
+
/** Creates a new catalog. */
|
|
880
|
+
create(request: {
|
|
881
|
+
/** V1 error format. */
|
|
882
|
+
"$.xgafv"?:
|
|
883
|
+
string;
|
|
884
|
+
/** OAuth access token. */
|
|
885
|
+
access_token?:
|
|
886
|
+
string;
|
|
887
|
+
/** Data format for response. */
|
|
888
|
+
alt?:
|
|
889
|
+
string;
|
|
890
|
+
/** JSONP */
|
|
891
|
+
callback?:
|
|
892
|
+
string;
|
|
893
|
+
/** Required. The ID to use for the catalog, which will become the final component of the catalog's resource name. */
|
|
894
|
+
catalogId?:
|
|
895
|
+
string;
|
|
896
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
897
|
+
fields?:
|
|
898
|
+
string;
|
|
899
|
+
/** 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. */
|
|
900
|
+
key?:
|
|
901
|
+
string;
|
|
902
|
+
/** OAuth 2.0 token for the current user. */
|
|
903
|
+
oauth_token?:
|
|
904
|
+
string;
|
|
905
|
+
/** Required. The parent resource where this catalog will be created. Format: projects/{project_id_or_number}/locations/{location_id} */
|
|
906
|
+
parent:
|
|
907
|
+
string;
|
|
908
|
+
/** Returns response with indentations and line breaks. */
|
|
909
|
+
prettyPrint?:
|
|
910
|
+
boolean;
|
|
911
|
+
/** 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. */
|
|
912
|
+
quotaUser?:
|
|
913
|
+
string;
|
|
914
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
915
|
+
upload_protocol?:
|
|
916
|
+
string;
|
|
917
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
918
|
+
uploadType?:
|
|
919
|
+
string;
|
|
920
|
+
/** Request body */
|
|
921
|
+
resource:
|
|
922
|
+
Catalog;
|
|
923
|
+
}): Request<Catalog>;
|
|
924
|
+
create(request: {
|
|
925
|
+
/** V1 error format. */
|
|
926
|
+
"$.xgafv"?:
|
|
927
|
+
string;
|
|
928
|
+
/** OAuth access token. */
|
|
929
|
+
access_token?:
|
|
930
|
+
string;
|
|
931
|
+
/** Data format for response. */
|
|
932
|
+
alt?:
|
|
933
|
+
string;
|
|
934
|
+
/** JSONP */
|
|
935
|
+
callback?:
|
|
936
|
+
string;
|
|
937
|
+
/** Required. The ID to use for the catalog, which will become the final component of the catalog's resource name. */
|
|
938
|
+
catalogId?:
|
|
939
|
+
string;
|
|
940
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
941
|
+
fields?:
|
|
942
|
+
string;
|
|
943
|
+
/** 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. */
|
|
944
|
+
key?:
|
|
945
|
+
string;
|
|
946
|
+
/** OAuth 2.0 token for the current user. */
|
|
947
|
+
oauth_token?:
|
|
948
|
+
string;
|
|
949
|
+
/** Required. The parent resource where this catalog will be created. Format: projects/{project_id_or_number}/locations/{location_id} */
|
|
950
|
+
parent:
|
|
951
|
+
string;
|
|
952
|
+
/** Returns response with indentations and line breaks. */
|
|
953
|
+
prettyPrint?:
|
|
954
|
+
boolean;
|
|
955
|
+
/** 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. */
|
|
956
|
+
quotaUser?:
|
|
957
|
+
string;
|
|
958
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
959
|
+
upload_protocol?:
|
|
960
|
+
string;
|
|
961
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
962
|
+
uploadType?:
|
|
963
|
+
string;
|
|
964
|
+
},
|
|
965
|
+
body: Catalog): Request<Catalog>;
|
|
966
|
+
/** Deletes an existing catalog specified by the catalog ID. */
|
|
967
|
+
delete(request?: {
|
|
968
|
+
/** V1 error format. */
|
|
969
|
+
"$.xgafv"?:
|
|
970
|
+
string;
|
|
971
|
+
/** OAuth access token. */
|
|
972
|
+
access_token?:
|
|
973
|
+
string;
|
|
974
|
+
/** Data format for response. */
|
|
975
|
+
alt?:
|
|
976
|
+
string;
|
|
977
|
+
/** JSONP */
|
|
978
|
+
callback?:
|
|
979
|
+
string;
|
|
980
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
981
|
+
fields?:
|
|
982
|
+
string;
|
|
983
|
+
/** 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. */
|
|
984
|
+
key?:
|
|
985
|
+
string;
|
|
986
|
+
/** Required. The name of the catalog to delete. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id} */
|
|
987
|
+
name:
|
|
988
|
+
string;
|
|
989
|
+
/** OAuth 2.0 token for the current user. */
|
|
990
|
+
oauth_token?:
|
|
991
|
+
string;
|
|
992
|
+
/** Returns response with indentations and line breaks. */
|
|
993
|
+
prettyPrint?:
|
|
994
|
+
boolean;
|
|
995
|
+
/** 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. */
|
|
996
|
+
quotaUser?:
|
|
997
|
+
string;
|
|
998
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
999
|
+
upload_protocol?:
|
|
1000
|
+
string;
|
|
1001
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1002
|
+
uploadType?:
|
|
1003
|
+
string;
|
|
1004
|
+
}): Request<Catalog>;
|
|
1005
|
+
/** Gets the catalog specified by the resource name. */
|
|
1006
|
+
get(request?: {
|
|
1007
|
+
/** V1 error format. */
|
|
1008
|
+
"$.xgafv"?:
|
|
1009
|
+
string;
|
|
1010
|
+
/** OAuth access token. */
|
|
1011
|
+
access_token?:
|
|
1012
|
+
string;
|
|
1013
|
+
/** Data format for response. */
|
|
1014
|
+
alt?:
|
|
1015
|
+
string;
|
|
1016
|
+
/** JSONP */
|
|
1017
|
+
callback?:
|
|
1018
|
+
string;
|
|
1019
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1020
|
+
fields?:
|
|
1021
|
+
string;
|
|
1022
|
+
/** 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. */
|
|
1023
|
+
key?:
|
|
1024
|
+
string;
|
|
1025
|
+
/** Required. The name of the catalog to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id} */
|
|
1026
|
+
name:
|
|
1027
|
+
string;
|
|
1028
|
+
/** OAuth 2.0 token for the current user. */
|
|
1029
|
+
oauth_token?:
|
|
1030
|
+
string;
|
|
1031
|
+
/** Returns response with indentations and line breaks. */
|
|
1032
|
+
prettyPrint?:
|
|
1033
|
+
boolean;
|
|
1034
|
+
/** 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. */
|
|
1035
|
+
quotaUser?:
|
|
1036
|
+
string;
|
|
1037
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1038
|
+
upload_protocol?:
|
|
1039
|
+
string;
|
|
1040
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1041
|
+
uploadType?:
|
|
1042
|
+
string;
|
|
1043
|
+
}): Request<Catalog>;
|
|
1044
|
+
/** List all catalogs in a specified project. */
|
|
1045
|
+
list(request?: {
|
|
1046
|
+
/** V1 error format. */
|
|
1047
|
+
"$.xgafv"?:
|
|
1048
|
+
string;
|
|
1049
|
+
/** OAuth access token. */
|
|
1050
|
+
access_token?:
|
|
1051
|
+
string;
|
|
1052
|
+
/** Data format for response. */
|
|
1053
|
+
alt?:
|
|
1054
|
+
string;
|
|
1055
|
+
/** JSONP */
|
|
1056
|
+
callback?:
|
|
1057
|
+
string;
|
|
1058
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1059
|
+
fields?:
|
|
1060
|
+
string;
|
|
1061
|
+
/** 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. */
|
|
1062
|
+
key?:
|
|
1063
|
+
string;
|
|
1064
|
+
/** OAuth 2.0 token for the current user. */
|
|
1065
|
+
oauth_token?:
|
|
1066
|
+
string;
|
|
1067
|
+
/**
|
|
1068
|
+
* The maximum number of catalogs to return. The service may return fewer than this value. If unspecified, at most 50 catalogs will be returned. The maximum value is 1000; values
|
|
1069
|
+
* above 1000 will be coerced to 1000.
|
|
1070
|
+
*/
|
|
1071
|
+
pageSize?:
|
|
1072
|
+
number;
|
|
1073
|
+
/**
|
|
1074
|
+
* A page token, received from a previous `ListCatalogs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCatalogs` must
|
|
1075
|
+
* match the call that provided the page token.
|
|
1076
|
+
*/
|
|
1077
|
+
pageToken?:
|
|
1078
|
+
string;
|
|
1079
|
+
/** Required. The parent, which owns this collection of catalogs. Format: projects/{project_id_or_number}/locations/{location_id} */
|
|
1080
|
+
parent:
|
|
1081
|
+
string;
|
|
1082
|
+
/** Returns response with indentations and line breaks. */
|
|
1083
|
+
prettyPrint?:
|
|
1084
|
+
boolean;
|
|
1085
|
+
/** 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. */
|
|
1086
|
+
quotaUser?:
|
|
1087
|
+
string;
|
|
1088
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1089
|
+
upload_protocol?:
|
|
1090
|
+
string;
|
|
1091
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1092
|
+
uploadType?:
|
|
1093
|
+
string;
|
|
1094
|
+
}): Request<ListCatalogsResponse>;
|
|
1095
|
+
databases:
|
|
1096
|
+
DatabasesResource;
|
|
1097
|
+
}
|
|
1098
|
+
interface LocationsResource {
|
|
1099
|
+
catalogs:
|
|
1100
|
+
CatalogsResource;
|
|
1101
|
+
}
|
|
1102
|
+
interface ProjectsResource {
|
|
1103
|
+
locations:
|
|
1104
|
+
LocationsResource;
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
const projects: ProjectsResource;
|
|
1108
|
+
}
|
|
1109
|
+
}
|