@maxim_mazurok/gapi.client.metastore-v1 0.0.20250121 → 0.0.20250204

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.
Files changed (3) hide show
  1. package/index.d.ts +26 -26
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
package/index.d.ts CHANGED
@@ -9,14 +9,14 @@
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://metastore.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20250121
12
+ // Revision: 20250204
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Dataproc Metastore API v1 */
18
18
  function load(
19
- urlOrObject: 'https://metastore.googleapis.com/$discovery/rest?version=v1'
19
+ urlOrObject: 'https://metastore.googleapis.com/$discovery/rest?version=v1',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'metastore', version: 'v1'): Promise<void>;
@@ -655,7 +655,7 @@ declare namespace gapi.client {
655
655
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
656
656
  uploadType?: string;
657
657
  },
658
- body: Federation
658
+ body: Federation,
659
659
  ): Request<Operation>;
660
660
  /** Deletes a single federation. */
661
661
  delete(request?: {
@@ -841,7 +841,7 @@ declare namespace gapi.client {
841
841
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
842
842
  uploadType?: string;
843
843
  },
844
- body: Federation
844
+ body: Federation,
845
845
  ): Request<Operation>;
846
846
  /** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
847
847
  setIamPolicy(
@@ -871,7 +871,7 @@ declare namespace gapi.client {
871
871
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
872
872
  uploadType?: string;
873
873
  },
874
- body: SetIamPolicyRequest
874
+ body: SetIamPolicyRequest,
875
875
  ): Request<Policy>;
876
876
  /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
877
877
  testIamPermissions(
@@ -901,7 +901,7 @@ declare namespace gapi.client {
901
901
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
902
902
  uploadType?: string;
903
903
  },
904
- body: TestIamPermissionsRequest
904
+ body: TestIamPermissionsRequest,
905
905
  ): Request<TestIamPermissionsResponse>;
906
906
  }
907
907
  interface OperationsResource {
@@ -961,7 +961,7 @@ declare namespace gapi.client {
961
961
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
962
962
  uploadType?: string;
963
963
  },
964
- body: CancelOperationRequest
964
+ body: CancelOperationRequest,
965
965
  ): Request<{}>;
966
966
  /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. */
967
967
  delete(request?: {
@@ -1116,7 +1116,7 @@ declare namespace gapi.client {
1116
1116
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1117
1117
  uploadType?: string;
1118
1118
  },
1119
- body: Backup
1119
+ body: Backup,
1120
1120
  ): Request<Operation>;
1121
1121
  /** Deletes a single backup. */
1122
1122
  delete(request?: {
@@ -1266,7 +1266,7 @@ declare namespace gapi.client {
1266
1266
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1267
1267
  uploadType?: string;
1268
1268
  },
1269
- body: SetIamPolicyRequest
1269
+ body: SetIamPolicyRequest,
1270
1270
  ): Request<Policy>;
1271
1271
  }
1272
1272
  interface TablesResource {
@@ -1327,7 +1327,7 @@ declare namespace gapi.client {
1327
1327
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1328
1328
  uploadType?: string;
1329
1329
  },
1330
- body: SetIamPolicyRequest
1330
+ body: SetIamPolicyRequest,
1331
1331
  ): Request<Policy>;
1332
1332
  }
1333
1333
  interface DatabasesResource {
@@ -1388,7 +1388,7 @@ declare namespace gapi.client {
1388
1388
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1389
1389
  uploadType?: string;
1390
1390
  },
1391
- body: SetIamPolicyRequest
1391
+ body: SetIamPolicyRequest,
1392
1392
  ): Request<Policy>;
1393
1393
  tables: TablesResource;
1394
1394
  }
@@ -1457,7 +1457,7 @@ declare namespace gapi.client {
1457
1457
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1458
1458
  uploadType?: string;
1459
1459
  },
1460
- body: MetadataImport
1460
+ body: MetadataImport,
1461
1461
  ): Request<Operation>;
1462
1462
  /** Gets details of a single import. */
1463
1463
  get(request?: {
@@ -1585,7 +1585,7 @@ declare namespace gapi.client {
1585
1585
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1586
1586
  uploadType?: string;
1587
1587
  },
1588
- body: MetadataImport
1588
+ body: MetadataImport,
1589
1589
  ): Request<Operation>;
1590
1590
  }
1591
1591
  interface MigrationExecutionsResource {
@@ -1738,7 +1738,7 @@ declare namespace gapi.client {
1738
1738
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1739
1739
  uploadType?: string;
1740
1740
  },
1741
- body: AlterMetadataResourceLocationRequest
1741
+ body: AlterMetadataResourceLocationRequest,
1742
1742
  ): Request<Operation>;
1743
1743
  /** Alter metadata table properties. */
1744
1744
  alterTableProperties(request: {
@@ -1796,7 +1796,7 @@ declare namespace gapi.client {
1796
1796
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1797
1797
  uploadType?: string;
1798
1798
  },
1799
- body: AlterTablePropertiesRequest
1799
+ body: AlterTablePropertiesRequest,
1800
1800
  ): Request<Operation>;
1801
1801
  /** Cancels the ongoing Managed Migration process. */
1802
1802
  cancelMigration(request: {
@@ -1854,7 +1854,7 @@ declare namespace gapi.client {
1854
1854
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1855
1855
  uploadType?: string;
1856
1856
  },
1857
- body: CancelMigrationRequest
1857
+ body: CancelMigrationRequest,
1858
1858
  ): Request<Operation>;
1859
1859
  /** Completes the managed migration process. The Dataproc Metastore service will switch to using its own backend database after successful migration. */
1860
1860
  completeMigration(request: {
@@ -1912,7 +1912,7 @@ declare namespace gapi.client {
1912
1912
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1913
1913
  uploadType?: string;
1914
1914
  },
1915
- body: CompleteMigrationRequest
1915
+ body: CompleteMigrationRequest,
1916
1916
  ): Request<Operation>;
1917
1917
  /** Creates a metastore service in a project and location. */
1918
1918
  create(request: {
@@ -1978,7 +1978,7 @@ declare namespace gapi.client {
1978
1978
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1979
1979
  uploadType?: string;
1980
1980
  },
1981
- body: Service
1981
+ body: Service,
1982
1982
  ): Request<Operation>;
1983
1983
  /** Deletes a single service. */
1984
1984
  delete(request?: {
@@ -2065,7 +2065,7 @@ declare namespace gapi.client {
2065
2065
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2066
2066
  uploadType?: string;
2067
2067
  },
2068
- body: ExportMetadataRequest
2068
+ body: ExportMetadataRequest,
2069
2069
  ): Request<Operation>;
2070
2070
  /** Gets the details of a single service. */
2071
2071
  get(request?: {
@@ -2214,7 +2214,7 @@ declare namespace gapi.client {
2214
2214
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2215
2215
  uploadType?: string;
2216
2216
  },
2217
- body: MoveTableToDatabaseRequest
2217
+ body: MoveTableToDatabaseRequest,
2218
2218
  ): Request<Operation>;
2219
2219
  /** Updates the parameters of a single service. */
2220
2220
  patch(request: {
@@ -2280,7 +2280,7 @@ declare namespace gapi.client {
2280
2280
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2281
2281
  uploadType?: string;
2282
2282
  },
2283
- body: Service
2283
+ body: Service,
2284
2284
  ): Request<Operation>;
2285
2285
  /** Query Dataproc Metastore metadata. */
2286
2286
  queryMetadata(request: {
@@ -2338,7 +2338,7 @@ declare namespace gapi.client {
2338
2338
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2339
2339
  uploadType?: string;
2340
2340
  },
2341
- body: QueryMetadataRequest
2341
+ body: QueryMetadataRequest,
2342
2342
  ): Request<Operation>;
2343
2343
  /** Restores a service from a backup. */
2344
2344
  restore(request: {
@@ -2396,7 +2396,7 @@ declare namespace gapi.client {
2396
2396
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2397
2397
  uploadType?: string;
2398
2398
  },
2399
- body: RestoreServiceRequest
2399
+ body: RestoreServiceRequest,
2400
2400
  ): Request<Operation>;
2401
2401
  /** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
2402
2402
  setIamPolicy(
@@ -2426,7 +2426,7 @@ declare namespace gapi.client {
2426
2426
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2427
2427
  uploadType?: string;
2428
2428
  },
2429
- body: SetIamPolicyRequest
2429
+ body: SetIamPolicyRequest,
2430
2430
  ): Request<Policy>;
2431
2431
  /** Starts the Managed Migration process. */
2432
2432
  startMigration(request: {
@@ -2484,7 +2484,7 @@ declare namespace gapi.client {
2484
2484
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2485
2485
  uploadType?: string;
2486
2486
  },
2487
- body: StartMigrationRequest
2487
+ body: StartMigrationRequest,
2488
2488
  ): Request<Operation>;
2489
2489
  /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
2490
2490
  testIamPermissions(
@@ -2514,7 +2514,7 @@ declare namespace gapi.client {
2514
2514
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2515
2515
  uploadType?: string;
2516
2516
  },
2517
- body: TestIamPermissionsRequest
2517
+ body: TestIamPermissionsRequest,
2518
2518
  ): Request<TestIamPermissionsResponse>;
2519
2519
  backups: BackupsResource;
2520
2520
  databases: DatabasesResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.metastore-v1",
3
- "version": "0.0.20250121",
3
+ "version": "0.0.20250204",
4
4
  "description": "TypeScript typings for Dataproc Metastore API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -30,7 +30,7 @@ gapi.client.load(
30
30
  () => {
31
31
  // now we can use:
32
32
  // gapi.client.metastore
33
- }
33
+ },
34
34
  );
35
35
  ```
36
36
 
@@ -62,7 +62,7 @@ gapi.auth.authorize(
62
62
  } else {
63
63
  /* handle authorization error */
64
64
  }
65
- }
65
+ },
66
66
  );
67
67
  ```
68
68