@maxim_mazurok/gapi.client.metastore-v1 0.0.20230413 → 0.0.20230502
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 +1789 -749
- package/package.json +1 -1
- package/tests.ts +25 -1
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: 20230502
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -186,6 +186,16 @@ gapi.load('client', async () => {
|
|
|
186
186
|
pageSize: 42,
|
|
187
187
|
pageToken: "Test string",
|
|
188
188
|
});
|
|
189
|
+
/**
|
|
190
|
+
* Alter metadata resource location. The metadata resource can be a database, table, or partition. This functionality only updates the parent directory for the respective metadata resource
|
|
191
|
+
* and does not transfer any existing data to the new location.
|
|
192
|
+
*/
|
|
193
|
+
await gapi.client.metastore.projects.locations.services.alterLocation({
|
|
194
|
+
service: "Test string",
|
|
195
|
+
}, {
|
|
196
|
+
locationUri: "Test string",
|
|
197
|
+
resourceName: "Test string",
|
|
198
|
+
});
|
|
189
199
|
/** Creates a metastore service in a project and location. */
|
|
190
200
|
await gapi.client.metastore.projects.locations.services.create({
|
|
191
201
|
parent: "Test string",
|
|
@@ -311,6 +321,14 @@ gapi.load('client', async () => {
|
|
|
311
321
|
pageToken: "Test string",
|
|
312
322
|
parent: "Test string",
|
|
313
323
|
});
|
|
324
|
+
/** Move a table to another database. */
|
|
325
|
+
await gapi.client.metastore.projects.locations.services.moveTableToDatabase({
|
|
326
|
+
service: "Test string",
|
|
327
|
+
}, {
|
|
328
|
+
dbName: "Test string",
|
|
329
|
+
destinationDbName: "Test string",
|
|
330
|
+
tableName: "Test string",
|
|
331
|
+
});
|
|
314
332
|
/** Updates the parameters of a single service. */
|
|
315
333
|
await gapi.client.metastore.projects.locations.services.patch({
|
|
316
334
|
name: "Test string",
|
|
@@ -406,6 +424,12 @@ gapi.load('client', async () => {
|
|
|
406
424
|
uid: "Test string",
|
|
407
425
|
updateTime: "Test string",
|
|
408
426
|
});
|
|
427
|
+
/** Query DPMS metadata. */
|
|
428
|
+
await gapi.client.metastore.projects.locations.services.queryMetadata({
|
|
429
|
+
service: "Test string",
|
|
430
|
+
}, {
|
|
431
|
+
query: "Test string",
|
|
432
|
+
});
|
|
409
433
|
/** Restores a service from a backup. */
|
|
410
434
|
await gapi.client.metastore.projects.locations.services.restore({
|
|
411
435
|
service: "Test string",
|