@maxim_mazurok/gapi.client.metastore-v1alpha 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 +31 -31
  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=v1alpha
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 v1alpha */
18
18
  function load(
19
- urlOrObject: 'https://metastore.googleapis.com/$discovery/rest?version=v1alpha'
19
+ urlOrObject: 'https://metastore.googleapis.com/$discovery/rest?version=v1alpha',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'metastore', version: 'v1alpha'): Promise<void>;
@@ -24,7 +24,7 @@ declare namespace gapi.client {
24
24
  function load(
25
25
  name: 'metastore',
26
26
  version: 'v1alpha',
27
- callback: () => any
27
+ callback: () => any,
28
28
  ): void;
29
29
 
30
30
  namespace metastore {
@@ -706,7 +706,7 @@ declare namespace gapi.client {
706
706
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
707
707
  uploadType?: string;
708
708
  },
709
- body: Federation
709
+ body: Federation,
710
710
  ): Request<Operation>;
711
711
  /** Deletes a single federation. */
712
712
  delete(request?: {
@@ -892,7 +892,7 @@ declare namespace gapi.client {
892
892
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
893
893
  uploadType?: string;
894
894
  },
895
- body: Federation
895
+ body: Federation,
896
896
  ): Request<Operation>;
897
897
  /** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
898
898
  setIamPolicy(
@@ -922,7 +922,7 @@ declare namespace gapi.client {
922
922
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
923
923
  uploadType?: string;
924
924
  },
925
- body: SetIamPolicyRequest
925
+ body: SetIamPolicyRequest,
926
926
  ): Request<Policy>;
927
927
  /** 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. */
928
928
  testIamPermissions(
@@ -952,7 +952,7 @@ declare namespace gapi.client {
952
952
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
953
953
  uploadType?: string;
954
954
  },
955
- body: TestIamPermissionsRequest
955
+ body: TestIamPermissionsRequest,
956
956
  ): Request<TestIamPermissionsResponse>;
957
957
  }
958
958
  interface OperationsResource {
@@ -1012,7 +1012,7 @@ declare namespace gapi.client {
1012
1012
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1013
1013
  uploadType?: string;
1014
1014
  },
1015
- body: CancelOperationRequest
1015
+ body: CancelOperationRequest,
1016
1016
  ): Request<{}>;
1017
1017
  /** 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. */
1018
1018
  delete(request?: {
@@ -1167,7 +1167,7 @@ declare namespace gapi.client {
1167
1167
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1168
1168
  uploadType?: string;
1169
1169
  },
1170
- body: Backup
1170
+ body: Backup,
1171
1171
  ): Request<Operation>;
1172
1172
  /** Deletes a single backup. */
1173
1173
  delete(request?: {
@@ -1317,7 +1317,7 @@ declare namespace gapi.client {
1317
1317
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1318
1318
  uploadType?: string;
1319
1319
  },
1320
- body: SetIamPolicyRequest
1320
+ body: SetIamPolicyRequest,
1321
1321
  ): Request<Policy>;
1322
1322
  /** 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. */
1323
1323
  testIamPermissions(
@@ -1347,7 +1347,7 @@ declare namespace gapi.client {
1347
1347
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1348
1348
  uploadType?: string;
1349
1349
  },
1350
- body: TestIamPermissionsRequest
1350
+ body: TestIamPermissionsRequest,
1351
1351
  ): Request<TestIamPermissionsResponse>;
1352
1352
  }
1353
1353
  interface TablesResource {
@@ -1408,7 +1408,7 @@ declare namespace gapi.client {
1408
1408
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1409
1409
  uploadType?: string;
1410
1410
  },
1411
- body: SetIamPolicyRequest
1411
+ body: SetIamPolicyRequest,
1412
1412
  ): Request<Policy>;
1413
1413
  /** 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. */
1414
1414
  testIamPermissions(
@@ -1438,7 +1438,7 @@ declare namespace gapi.client {
1438
1438
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1439
1439
  uploadType?: string;
1440
1440
  },
1441
- body: TestIamPermissionsRequest
1441
+ body: TestIamPermissionsRequest,
1442
1442
  ): Request<TestIamPermissionsResponse>;
1443
1443
  }
1444
1444
  interface DatabasesResource {
@@ -1499,7 +1499,7 @@ declare namespace gapi.client {
1499
1499
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1500
1500
  uploadType?: string;
1501
1501
  },
1502
- body: SetIamPolicyRequest
1502
+ body: SetIamPolicyRequest,
1503
1503
  ): Request<Policy>;
1504
1504
  /** 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. */
1505
1505
  testIamPermissions(
@@ -1529,7 +1529,7 @@ declare namespace gapi.client {
1529
1529
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1530
1530
  uploadType?: string;
1531
1531
  },
1532
- body: TestIamPermissionsRequest
1532
+ body: TestIamPermissionsRequest,
1533
1533
  ): Request<TestIamPermissionsResponse>;
1534
1534
  tables: TablesResource;
1535
1535
  }
@@ -1598,7 +1598,7 @@ declare namespace gapi.client {
1598
1598
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1599
1599
  uploadType?: string;
1600
1600
  },
1601
- body: MetadataImport
1601
+ body: MetadataImport,
1602
1602
  ): Request<Operation>;
1603
1603
  /** Gets details of a single import. */
1604
1604
  get(request?: {
@@ -1726,7 +1726,7 @@ declare namespace gapi.client {
1726
1726
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1727
1727
  uploadType?: string;
1728
1728
  },
1729
- body: MetadataImport
1729
+ body: MetadataImport,
1730
1730
  ): Request<Operation>;
1731
1731
  }
1732
1732
  interface MigrationExecutionsResource {
@@ -1879,7 +1879,7 @@ declare namespace gapi.client {
1879
1879
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1880
1880
  uploadType?: string;
1881
1881
  },
1882
- body: AlterMetadataResourceLocationRequest
1882
+ body: AlterMetadataResourceLocationRequest,
1883
1883
  ): Request<Operation>;
1884
1884
  /** Alter metadata table properties. */
1885
1885
  alterTableProperties(request: {
@@ -1937,7 +1937,7 @@ declare namespace gapi.client {
1937
1937
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1938
1938
  uploadType?: string;
1939
1939
  },
1940
- body: AlterTablePropertiesRequest
1940
+ body: AlterTablePropertiesRequest,
1941
1941
  ): Request<Operation>;
1942
1942
  /** Cancels the ongoing Managed Migration process. */
1943
1943
  cancelMigration(request: {
@@ -1995,7 +1995,7 @@ declare namespace gapi.client {
1995
1995
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1996
1996
  uploadType?: string;
1997
1997
  },
1998
- body: CancelMigrationRequest
1998
+ body: CancelMigrationRequest,
1999
1999
  ): Request<Operation>;
2000
2000
  /** Completes the managed migration process. The Dataproc Metastore service will switch to using its own backend database after successful migration. */
2001
2001
  completeMigration(request: {
@@ -2053,7 +2053,7 @@ declare namespace gapi.client {
2053
2053
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2054
2054
  uploadType?: string;
2055
2055
  },
2056
- body: CompleteMigrationRequest
2056
+ body: CompleteMigrationRequest,
2057
2057
  ): Request<Operation>;
2058
2058
  /** Creates a metastore service in a project and location. */
2059
2059
  create(request: {
@@ -2119,7 +2119,7 @@ declare namespace gapi.client {
2119
2119
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2120
2120
  uploadType?: string;
2121
2121
  },
2122
- body: Service
2122
+ body: Service,
2123
2123
  ): Request<Operation>;
2124
2124
  /** Deletes a single service. */
2125
2125
  delete(request?: {
@@ -2206,7 +2206,7 @@ declare namespace gapi.client {
2206
2206
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2207
2207
  uploadType?: string;
2208
2208
  },
2209
- body: ExportMetadataRequest
2209
+ body: ExportMetadataRequest,
2210
2210
  ): Request<Operation>;
2211
2211
  /** Gets the details of a single service. */
2212
2212
  get(request?: {
@@ -2355,7 +2355,7 @@ declare namespace gapi.client {
2355
2355
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2356
2356
  uploadType?: string;
2357
2357
  },
2358
- body: MoveTableToDatabaseRequest
2358
+ body: MoveTableToDatabaseRequest,
2359
2359
  ): Request<Operation>;
2360
2360
  /** Updates the parameters of a single service. */
2361
2361
  patch(request: {
@@ -2421,7 +2421,7 @@ declare namespace gapi.client {
2421
2421
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2422
2422
  uploadType?: string;
2423
2423
  },
2424
- body: Service
2424
+ body: Service,
2425
2425
  ): Request<Operation>;
2426
2426
  /** Query Dataproc Metastore metadata. */
2427
2427
  queryMetadata(request: {
@@ -2479,7 +2479,7 @@ declare namespace gapi.client {
2479
2479
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2480
2480
  uploadType?: string;
2481
2481
  },
2482
- body: QueryMetadataRequest
2482
+ body: QueryMetadataRequest,
2483
2483
  ): Request<Operation>;
2484
2484
  /** Removes the attached IAM policies for a resource */
2485
2485
  removeIamPolicy(
@@ -2509,7 +2509,7 @@ declare namespace gapi.client {
2509
2509
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2510
2510
  uploadType?: string;
2511
2511
  },
2512
- body: RemoveIamPolicyRequest
2512
+ body: RemoveIamPolicyRequest,
2513
2513
  ): Request<RemoveIamPolicyResponse>;
2514
2514
  /** Restores a service from a backup. */
2515
2515
  restore(request: {
@@ -2567,7 +2567,7 @@ declare namespace gapi.client {
2567
2567
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2568
2568
  uploadType?: string;
2569
2569
  },
2570
- body: RestoreServiceRequest
2570
+ body: RestoreServiceRequest,
2571
2571
  ): Request<Operation>;
2572
2572
  /** Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. */
2573
2573
  setIamPolicy(
@@ -2597,7 +2597,7 @@ declare namespace gapi.client {
2597
2597
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2598
2598
  uploadType?: string;
2599
2599
  },
2600
- body: SetIamPolicyRequest
2600
+ body: SetIamPolicyRequest,
2601
2601
  ): Request<Policy>;
2602
2602
  /** Starts the Managed Migration process. */
2603
2603
  startMigration(request: {
@@ -2655,7 +2655,7 @@ declare namespace gapi.client {
2655
2655
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2656
2656
  uploadType?: string;
2657
2657
  },
2658
- body: StartMigrationRequest
2658
+ body: StartMigrationRequest,
2659
2659
  ): Request<Operation>;
2660
2660
  /** 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. */
2661
2661
  testIamPermissions(
@@ -2685,7 +2685,7 @@ declare namespace gapi.client {
2685
2685
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2686
2686
  uploadType?: string;
2687
2687
  },
2688
- body: TestIamPermissionsRequest
2688
+ body: TestIamPermissionsRequest,
2689
2689
  ): Request<TestIamPermissionsResponse>;
2690
2690
  backups: BackupsResource;
2691
2691
  databases: DatabasesResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.metastore-v1alpha",
3
- "version": "0.0.20250121",
3
+ "version": "0.0.20250204",
4
4
  "description": "TypeScript typings for Dataproc Metastore API v1alpha",
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