@maxim_mazurok/gapi.client.datamigration-v1 0.0.20230723 → 0.0.20230802

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 +7 -5
  2. package/package.json +2 -2
  3. package/tests.ts +2 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
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=v1
12
- // Revision: 20230723
12
+ // Revision: 20230802
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1217,9 +1217,9 @@ declare namespace gapi.client {
1217
1217
  name?:
1218
1218
  string;
1219
1219
  /**
1220
- * The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the
1221
- * original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the
1222
- * original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
1220
+ * The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original
1221
+ * method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original
1222
+ * method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
1223
1223
  */
1224
1224
  response?:
1225
1225
  { [P in string]: any };
@@ -1418,8 +1418,10 @@ declare namespace gapi.client {
1418
1418
  // tslint:disable-next-line:no-empty-interface
1419
1419
  interface PromoteMigrationJobRequest {
1420
1420
  }
1421
- // tslint:disable-next-line:no-empty-interface
1422
1421
  interface RestartMigrationJobRequest {
1422
+ /** Optional. Restart the migration job without running prior configuration verification. Defaults to `false`. */
1423
+ skipValidation?:
1424
+ boolean;
1423
1425
  }
1424
1426
  // tslint:disable-next-line:no-empty-interface
1425
1427
  interface ResumeMigrationJobRequest {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.datamigration-v1",
3
- "version": "0.0.20230723",
3
+ "version": "0.0.20230802",
4
4
  "description": "TypeScript typings for Database Migration API v1",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -15,6 +15,6 @@
15
15
  "types": "index.d.ts",
16
16
  "dependencies": {
17
17
  "@types/gapi.client": "*",
18
- "@types/gapi.client.discovery": "*"
18
+ "@types/gapi.client.discovery-v1": "*"
19
19
  }
20
20
  }
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: 20230723
6
+ // Revision: 20230802
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -993,6 +993,7 @@ gapi.load('client', async () => {
993
993
  await gapi.client.datamigration.projects.locations.migrationJobs.restart({
994
994
  name: "Test string",
995
995
  }, {
996
+ skipValidation: true,
996
997
  });
997
998
  /** Resume a migration job that is currently stopped and is resumable (was stopped during CDC phase). */
998
999
  await gapi.client.datamigration.projects.locations.migrationJobs.resume({