@maxim_mazurok/gapi.client.datamigration-v1beta1 0.0.20250108 → 0.0.20250122

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 +19 -19
  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://datamigration.googleapis.com/$discovery/rest?version=v1beta1
12
- // Revision: 20250108
12
+ // Revision: 20250122
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Database Migration API v1beta1 */
18
18
  function load(
19
- urlOrObject: 'https://datamigration.googleapis.com/$discovery/rest?version=v1beta1'
19
+ urlOrObject: 'https://datamigration.googleapis.com/$discovery/rest?version=v1beta1',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'datamigration', version: 'v1beta1'): Promise<void>;
@@ -24,7 +24,7 @@ declare namespace gapi.client {
24
24
  function load(
25
25
  name: 'datamigration',
26
26
  version: 'v1beta1',
27
- callback: () => any
27
+ callback: () => any,
28
28
  ): void;
29
29
 
30
30
  namespace datamigration {
@@ -434,7 +434,7 @@ declare namespace gapi.client {
434
434
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
435
435
  uploadType?: string;
436
436
  },
437
- body: ConnectionProfile
437
+ body: ConnectionProfile,
438
438
  ): Request<Operation>;
439
439
  /** Deletes a single Database Migration Service connection profile. A connection profile can only be deleted if it is not in use by any active migration jobs. */
440
440
  delete(request?: {
@@ -622,7 +622,7 @@ declare namespace gapi.client {
622
622
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
623
623
  uploadType?: string;
624
624
  },
625
- body: ConnectionProfile
625
+ body: ConnectionProfile,
626
626
  ): Request<Operation>;
627
627
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
628
628
  setIamPolicy(
@@ -652,7 +652,7 @@ declare namespace gapi.client {
652
652
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
653
653
  uploadType?: string;
654
654
  },
655
- body: SetIamPolicyRequest
655
+ body: SetIamPolicyRequest,
656
656
  ): Request<Policy>;
657
657
  /** 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. */
658
658
  testIamPermissions(
@@ -682,7 +682,7 @@ declare namespace gapi.client {
682
682
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
683
683
  uploadType?: string;
684
684
  },
685
- body: TestIamPermissionsRequest
685
+ body: TestIamPermissionsRequest,
686
686
  ): Request<TestIamPermissionsResponse>;
687
687
  }
688
688
  interface MigrationJobsResource {
@@ -750,7 +750,7 @@ declare namespace gapi.client {
750
750
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
751
751
  uploadType?: string;
752
752
  },
753
- body: MigrationJob
753
+ body: MigrationJob,
754
754
  ): Request<Operation>;
755
755
  /** Deletes a single migration job. */
756
756
  delete(request?: {
@@ -839,7 +839,7 @@ declare namespace gapi.client {
839
839
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
840
840
  uploadType?: string;
841
841
  },
842
- body: GenerateSshScriptRequest
842
+ body: GenerateSshScriptRequest,
843
843
  ): Request<SshScript>;
844
844
  /** Gets details of a single migration job. */
845
845
  get(request?: {
@@ -996,7 +996,7 @@ declare namespace gapi.client {
996
996
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
997
997
  uploadType?: string;
998
998
  },
999
- body: MigrationJob
999
+ body: MigrationJob,
1000
1000
  ): Request<Operation>;
1001
1001
  /** Promote a migration job, stopping replication to the destination and promoting the destination to be a standalone database. */
1002
1002
  promote(request: {
@@ -1054,7 +1054,7 @@ declare namespace gapi.client {
1054
1054
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1055
1055
  uploadType?: string;
1056
1056
  },
1057
- body: PromoteMigrationJobRequest
1057
+ body: PromoteMigrationJobRequest,
1058
1058
  ): Request<Operation>;
1059
1059
  /** Restart a stopped or failed migration job, resetting the destination instance to its original state and starting the migration process from scratch. */
1060
1060
  restart(request: {
@@ -1112,7 +1112,7 @@ declare namespace gapi.client {
1112
1112
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1113
1113
  uploadType?: string;
1114
1114
  },
1115
- body: RestartMigrationJobRequest
1115
+ body: RestartMigrationJobRequest,
1116
1116
  ): Request<Operation>;
1117
1117
  /** Resume a migration job that is currently stopped and is resumable (was stopped during CDC phase). */
1118
1118
  resume(request: {
@@ -1170,7 +1170,7 @@ declare namespace gapi.client {
1170
1170
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1171
1171
  uploadType?: string;
1172
1172
  },
1173
- body: ResumeMigrationJobRequest
1173
+ body: ResumeMigrationJobRequest,
1174
1174
  ): Request<Operation>;
1175
1175
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
1176
1176
  setIamPolicy(
@@ -1200,7 +1200,7 @@ declare namespace gapi.client {
1200
1200
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1201
1201
  uploadType?: string;
1202
1202
  },
1203
- body: SetIamPolicyRequest
1203
+ body: SetIamPolicyRequest,
1204
1204
  ): Request<Policy>;
1205
1205
  /** Start an already created migration job. */
1206
1206
  start(request: {
@@ -1258,7 +1258,7 @@ declare namespace gapi.client {
1258
1258
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1259
1259
  uploadType?: string;
1260
1260
  },
1261
- body: StartMigrationJobRequest
1261
+ body: StartMigrationJobRequest,
1262
1262
  ): Request<Operation>;
1263
1263
  /** Stops a running migration job. */
1264
1264
  stop(request: {
@@ -1316,7 +1316,7 @@ declare namespace gapi.client {
1316
1316
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1317
1317
  uploadType?: string;
1318
1318
  },
1319
- body: StopMigrationJobRequest
1319
+ body: StopMigrationJobRequest,
1320
1320
  ): Request<Operation>;
1321
1321
  /** 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. */
1322
1322
  testIamPermissions(
@@ -1346,7 +1346,7 @@ declare namespace gapi.client {
1346
1346
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1347
1347
  uploadType?: string;
1348
1348
  },
1349
- body: TestIamPermissionsRequest
1349
+ body: TestIamPermissionsRequest,
1350
1350
  ): Request<TestIamPermissionsResponse>;
1351
1351
  /** Verify a migration job, making sure the destination can reach the source and that all configuration and prerequisites are met. */
1352
1352
  verify(request: {
@@ -1404,7 +1404,7 @@ declare namespace gapi.client {
1404
1404
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1405
1405
  uploadType?: string;
1406
1406
  },
1407
- body: VerifyMigrationJobRequest
1407
+ body: VerifyMigrationJobRequest,
1408
1408
  ): Request<Operation>;
1409
1409
  }
1410
1410
  interface OperationsResource {
@@ -1464,7 +1464,7 @@ declare namespace gapi.client {
1464
1464
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1465
1465
  uploadType?: string;
1466
1466
  },
1467
- body: CancelOperationRequest
1467
+ body: CancelOperationRequest,
1468
1468
  ): Request<{}>;
1469
1469
  /** 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`. */
1470
1470
  delete(request?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.datamigration-v1beta1",
3
- "version": "0.0.20250108",
3
+ "version": "0.0.20250122",
4
4
  "description": "TypeScript typings for Database Migration API v1beta1",
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.datamigration
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