@google-cloud/dms 4.0.0 → 4.0.1
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.0.1](https://github.com/googleapis/google-cloud-node/compare/dms-v4.0.0...dms-v4.0.1) (2025-03-19)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* [Many APIs] await/catch promises, and update listOperationsAsync return type ([#6184](https://github.com/googleapis/google-cloud-node/issues/6184)) ([2fcd202](https://github.com/googleapis/google-cloud-node/commit/2fcd2029c35e8fb2199d03ac6e61e2d821ddf72e))
|
|
9
|
+
|
|
3
10
|
## [4.0.0](https://github.com/googleapis/google-cloud-node/compare/dms-v3.4.0...dms-v4.0.0) (2025-03-18)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -2549,7 +2549,7 @@ export declare class DataMigrationServiceClient {
|
|
|
2549
2549
|
* // doThingsWith(response)
|
|
2550
2550
|
* ```
|
|
2551
2551
|
*/
|
|
2552
|
-
listOperationsAsync(request: protos.google.longrunning.ListOperationsRequest, options?: gax.CallOptions): AsyncIterable<protos.google.longrunning.
|
|
2552
|
+
listOperationsAsync(request: protos.google.longrunning.ListOperationsRequest, options?: gax.CallOptions): AsyncIterable<protos.google.longrunning.IOperation>;
|
|
2553
2553
|
/**
|
|
2554
2554
|
* Starts asynchronous cancellation on a long-running operation. The server
|
|
2555
2555
|
* makes a best effort to cancel the operation, but success is not
|
|
@@ -527,7 +527,9 @@ class DataMigrationServiceClient {
|
|
|
527
527
|
this._gaxModule.routingHeader.fromParams({
|
|
528
528
|
name: request.name ?? '',
|
|
529
529
|
});
|
|
530
|
-
this.initialize()
|
|
530
|
+
this.initialize().catch(err => {
|
|
531
|
+
throw err;
|
|
532
|
+
});
|
|
531
533
|
this._log.info('getMigrationJob request %j', request);
|
|
532
534
|
const wrappedCallback = callback
|
|
533
535
|
? (error, response, options, rawResponse) => {
|
|
@@ -559,7 +561,9 @@ class DataMigrationServiceClient {
|
|
|
559
561
|
this._gaxModule.routingHeader.fromParams({
|
|
560
562
|
migration_job: request.migrationJob ?? '',
|
|
561
563
|
});
|
|
562
|
-
this.initialize()
|
|
564
|
+
this.initialize().catch(err => {
|
|
565
|
+
throw err;
|
|
566
|
+
});
|
|
563
567
|
this._log.info('generateSshScript request %j', request);
|
|
564
568
|
const wrappedCallback = callback
|
|
565
569
|
? (error, response, options, rawResponse) => {
|
|
@@ -591,7 +595,9 @@ class DataMigrationServiceClient {
|
|
|
591
595
|
this._gaxModule.routingHeader.fromParams({
|
|
592
596
|
migration_job: request.migrationJob ?? '',
|
|
593
597
|
});
|
|
594
|
-
this.initialize()
|
|
598
|
+
this.initialize().catch(err => {
|
|
599
|
+
throw err;
|
|
600
|
+
});
|
|
595
601
|
this._log.info('generateTcpProxyScript request %j', request);
|
|
596
602
|
const wrappedCallback = callback
|
|
597
603
|
? (error, response, options, rawResponse) => {
|
|
@@ -623,7 +629,9 @@ class DataMigrationServiceClient {
|
|
|
623
629
|
this._gaxModule.routingHeader.fromParams({
|
|
624
630
|
name: request.name ?? '',
|
|
625
631
|
});
|
|
626
|
-
this.initialize()
|
|
632
|
+
this.initialize().catch(err => {
|
|
633
|
+
throw err;
|
|
634
|
+
});
|
|
627
635
|
this._log.info('getConnectionProfile request %j', request);
|
|
628
636
|
const wrappedCallback = callback
|
|
629
637
|
? (error, response, options, rawResponse) => {
|
|
@@ -655,7 +663,9 @@ class DataMigrationServiceClient {
|
|
|
655
663
|
this._gaxModule.routingHeader.fromParams({
|
|
656
664
|
name: request.name ?? '',
|
|
657
665
|
});
|
|
658
|
-
this.initialize()
|
|
666
|
+
this.initialize().catch(err => {
|
|
667
|
+
throw err;
|
|
668
|
+
});
|
|
659
669
|
this._log.info('getPrivateConnection request %j', request);
|
|
660
670
|
const wrappedCallback = callback
|
|
661
671
|
? (error, response, options, rawResponse) => {
|
|
@@ -687,7 +697,9 @@ class DataMigrationServiceClient {
|
|
|
687
697
|
this._gaxModule.routingHeader.fromParams({
|
|
688
698
|
name: request.name ?? '',
|
|
689
699
|
});
|
|
690
|
-
this.initialize()
|
|
700
|
+
this.initialize().catch(err => {
|
|
701
|
+
throw err;
|
|
702
|
+
});
|
|
691
703
|
this._log.info('getConversionWorkspace request %j', request);
|
|
692
704
|
const wrappedCallback = callback
|
|
693
705
|
? (error, response, options, rawResponse) => {
|
|
@@ -719,7 +731,9 @@ class DataMigrationServiceClient {
|
|
|
719
731
|
this._gaxModule.routingHeader.fromParams({
|
|
720
732
|
parent: request.parent ?? '',
|
|
721
733
|
});
|
|
722
|
-
this.initialize()
|
|
734
|
+
this.initialize().catch(err => {
|
|
735
|
+
throw err;
|
|
736
|
+
});
|
|
723
737
|
this._log.info('createMappingRule request %j', request);
|
|
724
738
|
const wrappedCallback = callback
|
|
725
739
|
? (error, response, options, rawResponse) => {
|
|
@@ -751,7 +765,9 @@ class DataMigrationServiceClient {
|
|
|
751
765
|
this._gaxModule.routingHeader.fromParams({
|
|
752
766
|
name: request.name ?? '',
|
|
753
767
|
});
|
|
754
|
-
this.initialize()
|
|
768
|
+
this.initialize().catch(err => {
|
|
769
|
+
throw err;
|
|
770
|
+
});
|
|
755
771
|
this._log.info('deleteMappingRule request %j', request);
|
|
756
772
|
const wrappedCallback = callback
|
|
757
773
|
? (error, response, options, rawResponse) => {
|
|
@@ -783,7 +799,9 @@ class DataMigrationServiceClient {
|
|
|
783
799
|
this._gaxModule.routingHeader.fromParams({
|
|
784
800
|
name: request.name ?? '',
|
|
785
801
|
});
|
|
786
|
-
this.initialize()
|
|
802
|
+
this.initialize().catch(err => {
|
|
803
|
+
throw err;
|
|
804
|
+
});
|
|
787
805
|
this._log.info('getMappingRule request %j', request);
|
|
788
806
|
const wrappedCallback = callback
|
|
789
807
|
? (error, response, options, rawResponse) => {
|
|
@@ -815,7 +833,9 @@ class DataMigrationServiceClient {
|
|
|
815
833
|
this._gaxModule.routingHeader.fromParams({
|
|
816
834
|
conversion_workspace: request.conversionWorkspace ?? '',
|
|
817
835
|
});
|
|
818
|
-
this.initialize()
|
|
836
|
+
this.initialize().catch(err => {
|
|
837
|
+
throw err;
|
|
838
|
+
});
|
|
819
839
|
this._log.info('searchBackgroundJobs request %j', request);
|
|
820
840
|
const wrappedCallback = callback
|
|
821
841
|
? (error, response, options, rawResponse) => {
|
|
@@ -847,7 +867,9 @@ class DataMigrationServiceClient {
|
|
|
847
867
|
this._gaxModule.routingHeader.fromParams({
|
|
848
868
|
conversion_workspace: request.conversionWorkspace ?? '',
|
|
849
869
|
});
|
|
850
|
-
this.initialize()
|
|
870
|
+
this.initialize().catch(err => {
|
|
871
|
+
throw err;
|
|
872
|
+
});
|
|
851
873
|
this._log.info('describeConversionWorkspaceRevisions request %j', request);
|
|
852
874
|
const wrappedCallback = callback
|
|
853
875
|
? (error, response, options, rawResponse) => {
|
|
@@ -879,7 +901,9 @@ class DataMigrationServiceClient {
|
|
|
879
901
|
this._gaxModule.routingHeader.fromParams({
|
|
880
902
|
parent: request.parent ?? '',
|
|
881
903
|
});
|
|
882
|
-
this.initialize()
|
|
904
|
+
this.initialize().catch(err => {
|
|
905
|
+
throw err;
|
|
906
|
+
});
|
|
883
907
|
const wrappedCallback = callback
|
|
884
908
|
? (error, response, rawResponse, _) => {
|
|
885
909
|
this._log.info('createMigrationJob response %j', rawResponse);
|
|
@@ -929,7 +953,9 @@ class DataMigrationServiceClient {
|
|
|
929
953
|
this._gaxModule.routingHeader.fromParams({
|
|
930
954
|
'migration_job.name': request.migrationJob.name ?? '',
|
|
931
955
|
});
|
|
932
|
-
this.initialize()
|
|
956
|
+
this.initialize().catch(err => {
|
|
957
|
+
throw err;
|
|
958
|
+
});
|
|
933
959
|
const wrappedCallback = callback
|
|
934
960
|
? (error, response, rawResponse, _) => {
|
|
935
961
|
this._log.info('updateMigrationJob response %j', rawResponse);
|
|
@@ -979,7 +1005,9 @@ class DataMigrationServiceClient {
|
|
|
979
1005
|
this._gaxModule.routingHeader.fromParams({
|
|
980
1006
|
name: request.name ?? '',
|
|
981
1007
|
});
|
|
982
|
-
this.initialize()
|
|
1008
|
+
this.initialize().catch(err => {
|
|
1009
|
+
throw err;
|
|
1010
|
+
});
|
|
983
1011
|
const wrappedCallback = callback
|
|
984
1012
|
? (error, response, rawResponse, _) => {
|
|
985
1013
|
this._log.info('deleteMigrationJob response %j', rawResponse);
|
|
@@ -1029,7 +1057,9 @@ class DataMigrationServiceClient {
|
|
|
1029
1057
|
this._gaxModule.routingHeader.fromParams({
|
|
1030
1058
|
name: request.name ?? '',
|
|
1031
1059
|
});
|
|
1032
|
-
this.initialize()
|
|
1060
|
+
this.initialize().catch(err => {
|
|
1061
|
+
throw err;
|
|
1062
|
+
});
|
|
1033
1063
|
const wrappedCallback = callback
|
|
1034
1064
|
? (error, response, rawResponse, _) => {
|
|
1035
1065
|
this._log.info('startMigrationJob response %j', rawResponse);
|
|
@@ -1079,7 +1109,9 @@ class DataMigrationServiceClient {
|
|
|
1079
1109
|
this._gaxModule.routingHeader.fromParams({
|
|
1080
1110
|
name: request.name ?? '',
|
|
1081
1111
|
});
|
|
1082
|
-
this.initialize()
|
|
1112
|
+
this.initialize().catch(err => {
|
|
1113
|
+
throw err;
|
|
1114
|
+
});
|
|
1083
1115
|
const wrappedCallback = callback
|
|
1084
1116
|
? (error, response, rawResponse, _) => {
|
|
1085
1117
|
this._log.info('stopMigrationJob response %j', rawResponse);
|
|
@@ -1129,7 +1161,9 @@ class DataMigrationServiceClient {
|
|
|
1129
1161
|
this._gaxModule.routingHeader.fromParams({
|
|
1130
1162
|
name: request.name ?? '',
|
|
1131
1163
|
});
|
|
1132
|
-
this.initialize()
|
|
1164
|
+
this.initialize().catch(err => {
|
|
1165
|
+
throw err;
|
|
1166
|
+
});
|
|
1133
1167
|
const wrappedCallback = callback
|
|
1134
1168
|
? (error, response, rawResponse, _) => {
|
|
1135
1169
|
this._log.info('resumeMigrationJob response %j', rawResponse);
|
|
@@ -1179,7 +1213,9 @@ class DataMigrationServiceClient {
|
|
|
1179
1213
|
this._gaxModule.routingHeader.fromParams({
|
|
1180
1214
|
name: request.name ?? '',
|
|
1181
1215
|
});
|
|
1182
|
-
this.initialize()
|
|
1216
|
+
this.initialize().catch(err => {
|
|
1217
|
+
throw err;
|
|
1218
|
+
});
|
|
1183
1219
|
const wrappedCallback = callback
|
|
1184
1220
|
? (error, response, rawResponse, _) => {
|
|
1185
1221
|
this._log.info('promoteMigrationJob response %j', rawResponse);
|
|
@@ -1229,7 +1265,9 @@ class DataMigrationServiceClient {
|
|
|
1229
1265
|
this._gaxModule.routingHeader.fromParams({
|
|
1230
1266
|
name: request.name ?? '',
|
|
1231
1267
|
});
|
|
1232
|
-
this.initialize()
|
|
1268
|
+
this.initialize().catch(err => {
|
|
1269
|
+
throw err;
|
|
1270
|
+
});
|
|
1233
1271
|
const wrappedCallback = callback
|
|
1234
1272
|
? (error, response, rawResponse, _) => {
|
|
1235
1273
|
this._log.info('verifyMigrationJob response %j', rawResponse);
|
|
@@ -1279,7 +1317,9 @@ class DataMigrationServiceClient {
|
|
|
1279
1317
|
this._gaxModule.routingHeader.fromParams({
|
|
1280
1318
|
name: request.name ?? '',
|
|
1281
1319
|
});
|
|
1282
|
-
this.initialize()
|
|
1320
|
+
this.initialize().catch(err => {
|
|
1321
|
+
throw err;
|
|
1322
|
+
});
|
|
1283
1323
|
const wrappedCallback = callback
|
|
1284
1324
|
? (error, response, rawResponse, _) => {
|
|
1285
1325
|
this._log.info('restartMigrationJob response %j', rawResponse);
|
|
@@ -1329,7 +1369,9 @@ class DataMigrationServiceClient {
|
|
|
1329
1369
|
this._gaxModule.routingHeader.fromParams({
|
|
1330
1370
|
parent: request.parent ?? '',
|
|
1331
1371
|
});
|
|
1332
|
-
this.initialize()
|
|
1372
|
+
this.initialize().catch(err => {
|
|
1373
|
+
throw err;
|
|
1374
|
+
});
|
|
1333
1375
|
const wrappedCallback = callback
|
|
1334
1376
|
? (error, response, rawResponse, _) => {
|
|
1335
1377
|
this._log.info('createConnectionProfile response %j', rawResponse);
|
|
@@ -1379,7 +1421,9 @@ class DataMigrationServiceClient {
|
|
|
1379
1421
|
this._gaxModule.routingHeader.fromParams({
|
|
1380
1422
|
'connection_profile.name': request.connectionProfile.name ?? '',
|
|
1381
1423
|
});
|
|
1382
|
-
this.initialize()
|
|
1424
|
+
this.initialize().catch(err => {
|
|
1425
|
+
throw err;
|
|
1426
|
+
});
|
|
1383
1427
|
const wrappedCallback = callback
|
|
1384
1428
|
? (error, response, rawResponse, _) => {
|
|
1385
1429
|
this._log.info('updateConnectionProfile response %j', rawResponse);
|
|
@@ -1429,7 +1473,9 @@ class DataMigrationServiceClient {
|
|
|
1429
1473
|
this._gaxModule.routingHeader.fromParams({
|
|
1430
1474
|
name: request.name ?? '',
|
|
1431
1475
|
});
|
|
1432
|
-
this.initialize()
|
|
1476
|
+
this.initialize().catch(err => {
|
|
1477
|
+
throw err;
|
|
1478
|
+
});
|
|
1433
1479
|
const wrappedCallback = callback
|
|
1434
1480
|
? (error, response, rawResponse, _) => {
|
|
1435
1481
|
this._log.info('deleteConnectionProfile response %j', rawResponse);
|
|
@@ -1479,7 +1525,9 @@ class DataMigrationServiceClient {
|
|
|
1479
1525
|
this._gaxModule.routingHeader.fromParams({
|
|
1480
1526
|
parent: request.parent ?? '',
|
|
1481
1527
|
});
|
|
1482
|
-
this.initialize()
|
|
1528
|
+
this.initialize().catch(err => {
|
|
1529
|
+
throw err;
|
|
1530
|
+
});
|
|
1483
1531
|
const wrappedCallback = callback
|
|
1484
1532
|
? (error, response, rawResponse, _) => {
|
|
1485
1533
|
this._log.info('createPrivateConnection response %j', rawResponse);
|
|
@@ -1529,7 +1577,9 @@ class DataMigrationServiceClient {
|
|
|
1529
1577
|
this._gaxModule.routingHeader.fromParams({
|
|
1530
1578
|
name: request.name ?? '',
|
|
1531
1579
|
});
|
|
1532
|
-
this.initialize()
|
|
1580
|
+
this.initialize().catch(err => {
|
|
1581
|
+
throw err;
|
|
1582
|
+
});
|
|
1533
1583
|
const wrappedCallback = callback
|
|
1534
1584
|
? (error, response, rawResponse, _) => {
|
|
1535
1585
|
this._log.info('deletePrivateConnection response %j', rawResponse);
|
|
@@ -1579,7 +1629,9 @@ class DataMigrationServiceClient {
|
|
|
1579
1629
|
this._gaxModule.routingHeader.fromParams({
|
|
1580
1630
|
parent: request.parent ?? '',
|
|
1581
1631
|
});
|
|
1582
|
-
this.initialize()
|
|
1632
|
+
this.initialize().catch(err => {
|
|
1633
|
+
throw err;
|
|
1634
|
+
});
|
|
1583
1635
|
const wrappedCallback = callback
|
|
1584
1636
|
? (error, response, rawResponse, _) => {
|
|
1585
1637
|
this._log.info('createConversionWorkspace response %j', rawResponse);
|
|
@@ -1629,7 +1681,9 @@ class DataMigrationServiceClient {
|
|
|
1629
1681
|
this._gaxModule.routingHeader.fromParams({
|
|
1630
1682
|
'conversion_workspace.name': request.conversionWorkspace.name ?? '',
|
|
1631
1683
|
});
|
|
1632
|
-
this.initialize()
|
|
1684
|
+
this.initialize().catch(err => {
|
|
1685
|
+
throw err;
|
|
1686
|
+
});
|
|
1633
1687
|
const wrappedCallback = callback
|
|
1634
1688
|
? (error, response, rawResponse, _) => {
|
|
1635
1689
|
this._log.info('updateConversionWorkspace response %j', rawResponse);
|
|
@@ -1679,7 +1733,9 @@ class DataMigrationServiceClient {
|
|
|
1679
1733
|
this._gaxModule.routingHeader.fromParams({
|
|
1680
1734
|
name: request.name ?? '',
|
|
1681
1735
|
});
|
|
1682
|
-
this.initialize()
|
|
1736
|
+
this.initialize().catch(err => {
|
|
1737
|
+
throw err;
|
|
1738
|
+
});
|
|
1683
1739
|
const wrappedCallback = callback
|
|
1684
1740
|
? (error, response, rawResponse, _) => {
|
|
1685
1741
|
this._log.info('deleteConversionWorkspace response %j', rawResponse);
|
|
@@ -1729,7 +1785,9 @@ class DataMigrationServiceClient {
|
|
|
1729
1785
|
this._gaxModule.routingHeader.fromParams({
|
|
1730
1786
|
name: request.name ?? '',
|
|
1731
1787
|
});
|
|
1732
|
-
this.initialize()
|
|
1788
|
+
this.initialize().catch(err => {
|
|
1789
|
+
throw err;
|
|
1790
|
+
});
|
|
1733
1791
|
const wrappedCallback = callback
|
|
1734
1792
|
? (error, response, rawResponse, _) => {
|
|
1735
1793
|
this._log.info('seedConversionWorkspace response %j', rawResponse);
|
|
@@ -1779,7 +1837,9 @@ class DataMigrationServiceClient {
|
|
|
1779
1837
|
this._gaxModule.routingHeader.fromParams({
|
|
1780
1838
|
parent: request.parent ?? '',
|
|
1781
1839
|
});
|
|
1782
|
-
this.initialize()
|
|
1840
|
+
this.initialize().catch(err => {
|
|
1841
|
+
throw err;
|
|
1842
|
+
});
|
|
1783
1843
|
const wrappedCallback = callback
|
|
1784
1844
|
? (error, response, rawResponse, _) => {
|
|
1785
1845
|
this._log.info('importMappingRules response %j', rawResponse);
|
|
@@ -1829,7 +1889,9 @@ class DataMigrationServiceClient {
|
|
|
1829
1889
|
this._gaxModule.routingHeader.fromParams({
|
|
1830
1890
|
name: request.name ?? '',
|
|
1831
1891
|
});
|
|
1832
|
-
this.initialize()
|
|
1892
|
+
this.initialize().catch(err => {
|
|
1893
|
+
throw err;
|
|
1894
|
+
});
|
|
1833
1895
|
const wrappedCallback = callback
|
|
1834
1896
|
? (error, response, rawResponse, _) => {
|
|
1835
1897
|
this._log.info('convertConversionWorkspace response %j', rawResponse);
|
|
@@ -1879,7 +1941,9 @@ class DataMigrationServiceClient {
|
|
|
1879
1941
|
this._gaxModule.routingHeader.fromParams({
|
|
1880
1942
|
name: request.name ?? '',
|
|
1881
1943
|
});
|
|
1882
|
-
this.initialize()
|
|
1944
|
+
this.initialize().catch(err => {
|
|
1945
|
+
throw err;
|
|
1946
|
+
});
|
|
1883
1947
|
const wrappedCallback = callback
|
|
1884
1948
|
? (error, response, rawResponse, _) => {
|
|
1885
1949
|
this._log.info('commitConversionWorkspace response %j', rawResponse);
|
|
@@ -1929,7 +1993,9 @@ class DataMigrationServiceClient {
|
|
|
1929
1993
|
this._gaxModule.routingHeader.fromParams({
|
|
1930
1994
|
name: request.name ?? '',
|
|
1931
1995
|
});
|
|
1932
|
-
this.initialize()
|
|
1996
|
+
this.initialize().catch(err => {
|
|
1997
|
+
throw err;
|
|
1998
|
+
});
|
|
1933
1999
|
const wrappedCallback = callback
|
|
1934
2000
|
? (error, response, rawResponse, _) => {
|
|
1935
2001
|
this._log.info('rollbackConversionWorkspace response %j', rawResponse);
|
|
@@ -1979,7 +2045,9 @@ class DataMigrationServiceClient {
|
|
|
1979
2045
|
this._gaxModule.routingHeader.fromParams({
|
|
1980
2046
|
name: request.name ?? '',
|
|
1981
2047
|
});
|
|
1982
|
-
this.initialize()
|
|
2048
|
+
this.initialize().catch(err => {
|
|
2049
|
+
throw err;
|
|
2050
|
+
});
|
|
1983
2051
|
const wrappedCallback = callback
|
|
1984
2052
|
? (error, response, rawResponse, _) => {
|
|
1985
2053
|
this._log.info('applyConversionWorkspace response %j', rawResponse);
|
|
@@ -2029,7 +2097,9 @@ class DataMigrationServiceClient {
|
|
|
2029
2097
|
this._gaxModule.routingHeader.fromParams({
|
|
2030
2098
|
parent: request.parent ?? '',
|
|
2031
2099
|
});
|
|
2032
|
-
this.initialize()
|
|
2100
|
+
this.initialize().catch(err => {
|
|
2101
|
+
throw err;
|
|
2102
|
+
});
|
|
2033
2103
|
const wrappedCallback = callback
|
|
2034
2104
|
? (error, values, nextPageRequest, rawResponse) => {
|
|
2035
2105
|
this._log.info('listMigrationJobs values %j', values);
|
|
@@ -2096,7 +2166,9 @@ class DataMigrationServiceClient {
|
|
|
2096
2166
|
});
|
|
2097
2167
|
const defaultCallSettings = this._defaults['listMigrationJobs'];
|
|
2098
2168
|
const callSettings = defaultCallSettings.merge(options);
|
|
2099
|
-
this.initialize()
|
|
2169
|
+
this.initialize().catch(err => {
|
|
2170
|
+
throw err;
|
|
2171
|
+
});
|
|
2100
2172
|
this._log.info('listMigrationJobs stream %j', request);
|
|
2101
2173
|
return this.descriptors.page.listMigrationJobs.createStream(this.innerApiCalls.listMigrationJobs, request, callSettings);
|
|
2102
2174
|
}
|
|
@@ -2155,7 +2227,9 @@ class DataMigrationServiceClient {
|
|
|
2155
2227
|
});
|
|
2156
2228
|
const defaultCallSettings = this._defaults['listMigrationJobs'];
|
|
2157
2229
|
const callSettings = defaultCallSettings.merge(options);
|
|
2158
|
-
this.initialize()
|
|
2230
|
+
this.initialize().catch(err => {
|
|
2231
|
+
throw err;
|
|
2232
|
+
});
|
|
2159
2233
|
this._log.info('listMigrationJobs iterate %j', request);
|
|
2160
2234
|
return this.descriptors.page.listMigrationJobs.asyncIterate(this.innerApiCalls['listMigrationJobs'], request, callSettings);
|
|
2161
2235
|
}
|
|
@@ -2176,7 +2250,9 @@ class DataMigrationServiceClient {
|
|
|
2176
2250
|
this._gaxModule.routingHeader.fromParams({
|
|
2177
2251
|
parent: request.parent ?? '',
|
|
2178
2252
|
});
|
|
2179
|
-
this.initialize()
|
|
2253
|
+
this.initialize().catch(err => {
|
|
2254
|
+
throw err;
|
|
2255
|
+
});
|
|
2180
2256
|
const wrappedCallback = callback
|
|
2181
2257
|
? (error, values, nextPageRequest, rawResponse) => {
|
|
2182
2258
|
this._log.info('listConnectionProfiles values %j', values);
|
|
@@ -2242,7 +2318,9 @@ class DataMigrationServiceClient {
|
|
|
2242
2318
|
});
|
|
2243
2319
|
const defaultCallSettings = this._defaults['listConnectionProfiles'];
|
|
2244
2320
|
const callSettings = defaultCallSettings.merge(options);
|
|
2245
|
-
this.initialize()
|
|
2321
|
+
this.initialize().catch(err => {
|
|
2322
|
+
throw err;
|
|
2323
|
+
});
|
|
2246
2324
|
this._log.info('listConnectionProfiles stream %j', request);
|
|
2247
2325
|
return this.descriptors.page.listConnectionProfiles.createStream(this.innerApiCalls.listConnectionProfiles, request, callSettings);
|
|
2248
2326
|
}
|
|
@@ -2300,7 +2378,9 @@ class DataMigrationServiceClient {
|
|
|
2300
2378
|
});
|
|
2301
2379
|
const defaultCallSettings = this._defaults['listConnectionProfiles'];
|
|
2302
2380
|
const callSettings = defaultCallSettings.merge(options);
|
|
2303
|
-
this.initialize()
|
|
2381
|
+
this.initialize().catch(err => {
|
|
2382
|
+
throw err;
|
|
2383
|
+
});
|
|
2304
2384
|
this._log.info('listConnectionProfiles iterate %j', request);
|
|
2305
2385
|
return this.descriptors.page.listConnectionProfiles.asyncIterate(this.innerApiCalls['listConnectionProfiles'], request, callSettings);
|
|
2306
2386
|
}
|
|
@@ -2321,7 +2401,9 @@ class DataMigrationServiceClient {
|
|
|
2321
2401
|
this._gaxModule.routingHeader.fromParams({
|
|
2322
2402
|
parent: request.parent ?? '',
|
|
2323
2403
|
});
|
|
2324
|
-
this.initialize()
|
|
2404
|
+
this.initialize().catch(err => {
|
|
2405
|
+
throw err;
|
|
2406
|
+
});
|
|
2325
2407
|
const wrappedCallback = callback
|
|
2326
2408
|
? (error, values, nextPageRequest, rawResponse) => {
|
|
2327
2409
|
this._log.info('listPrivateConnections values %j', values);
|
|
@@ -2384,7 +2466,9 @@ class DataMigrationServiceClient {
|
|
|
2384
2466
|
});
|
|
2385
2467
|
const defaultCallSettings = this._defaults['listPrivateConnections'];
|
|
2386
2468
|
const callSettings = defaultCallSettings.merge(options);
|
|
2387
|
-
this.initialize()
|
|
2469
|
+
this.initialize().catch(err => {
|
|
2470
|
+
throw err;
|
|
2471
|
+
});
|
|
2388
2472
|
this._log.info('listPrivateConnections stream %j', request);
|
|
2389
2473
|
return this.descriptors.page.listPrivateConnections.createStream(this.innerApiCalls.listPrivateConnections, request, callSettings);
|
|
2390
2474
|
}
|
|
@@ -2439,7 +2523,9 @@ class DataMigrationServiceClient {
|
|
|
2439
2523
|
});
|
|
2440
2524
|
const defaultCallSettings = this._defaults['listPrivateConnections'];
|
|
2441
2525
|
const callSettings = defaultCallSettings.merge(options);
|
|
2442
|
-
this.initialize()
|
|
2526
|
+
this.initialize().catch(err => {
|
|
2527
|
+
throw err;
|
|
2528
|
+
});
|
|
2443
2529
|
this._log.info('listPrivateConnections iterate %j', request);
|
|
2444
2530
|
return this.descriptors.page.listPrivateConnections.asyncIterate(this.innerApiCalls['listPrivateConnections'], request, callSettings);
|
|
2445
2531
|
}
|
|
@@ -2460,7 +2546,9 @@ class DataMigrationServiceClient {
|
|
|
2460
2546
|
this._gaxModule.routingHeader.fromParams({
|
|
2461
2547
|
parent: request.parent ?? '',
|
|
2462
2548
|
});
|
|
2463
|
-
this.initialize()
|
|
2549
|
+
this.initialize().catch(err => {
|
|
2550
|
+
throw err;
|
|
2551
|
+
});
|
|
2464
2552
|
const wrappedCallback = callback
|
|
2465
2553
|
? (error, values, nextPageRequest, rawResponse) => {
|
|
2466
2554
|
this._log.info('listConversionWorkspaces values %j', values);
|
|
@@ -2522,7 +2610,9 @@ class DataMigrationServiceClient {
|
|
|
2522
2610
|
});
|
|
2523
2611
|
const defaultCallSettings = this._defaults['listConversionWorkspaces'];
|
|
2524
2612
|
const callSettings = defaultCallSettings.merge(options);
|
|
2525
|
-
this.initialize()
|
|
2613
|
+
this.initialize().catch(err => {
|
|
2614
|
+
throw err;
|
|
2615
|
+
});
|
|
2526
2616
|
this._log.info('listConversionWorkspaces stream %j', request);
|
|
2527
2617
|
return this.descriptors.page.listConversionWorkspaces.createStream(this.innerApiCalls.listConversionWorkspaces, request, callSettings);
|
|
2528
2618
|
}
|
|
@@ -2576,7 +2666,9 @@ class DataMigrationServiceClient {
|
|
|
2576
2666
|
});
|
|
2577
2667
|
const defaultCallSettings = this._defaults['listConversionWorkspaces'];
|
|
2578
2668
|
const callSettings = defaultCallSettings.merge(options);
|
|
2579
|
-
this.initialize()
|
|
2669
|
+
this.initialize().catch(err => {
|
|
2670
|
+
throw err;
|
|
2671
|
+
});
|
|
2580
2672
|
this._log.info('listConversionWorkspaces iterate %j', request);
|
|
2581
2673
|
return this.descriptors.page.listConversionWorkspaces.asyncIterate(this.innerApiCalls['listConversionWorkspaces'], request, callSettings);
|
|
2582
2674
|
}
|
|
@@ -2597,7 +2689,9 @@ class DataMigrationServiceClient {
|
|
|
2597
2689
|
this._gaxModule.routingHeader.fromParams({
|
|
2598
2690
|
parent: request.parent ?? '',
|
|
2599
2691
|
});
|
|
2600
|
-
this.initialize()
|
|
2692
|
+
this.initialize().catch(err => {
|
|
2693
|
+
throw err;
|
|
2694
|
+
});
|
|
2601
2695
|
const wrappedCallback = callback
|
|
2602
2696
|
? (error, values, nextPageRequest, rawResponse) => {
|
|
2603
2697
|
this._log.info('listMappingRules values %j', values);
|
|
@@ -2651,7 +2745,9 @@ class DataMigrationServiceClient {
|
|
|
2651
2745
|
});
|
|
2652
2746
|
const defaultCallSettings = this._defaults['listMappingRules'];
|
|
2653
2747
|
const callSettings = defaultCallSettings.merge(options);
|
|
2654
|
-
this.initialize()
|
|
2748
|
+
this.initialize().catch(err => {
|
|
2749
|
+
throw err;
|
|
2750
|
+
});
|
|
2655
2751
|
this._log.info('listMappingRules stream %j', request);
|
|
2656
2752
|
return this.descriptors.page.listMappingRules.createStream(this.innerApiCalls.listMappingRules, request, callSettings);
|
|
2657
2753
|
}
|
|
@@ -2697,7 +2793,9 @@ class DataMigrationServiceClient {
|
|
|
2697
2793
|
});
|
|
2698
2794
|
const defaultCallSettings = this._defaults['listMappingRules'];
|
|
2699
2795
|
const callSettings = defaultCallSettings.merge(options);
|
|
2700
|
-
this.initialize()
|
|
2796
|
+
this.initialize().catch(err => {
|
|
2797
|
+
throw err;
|
|
2798
|
+
});
|
|
2701
2799
|
this._log.info('listMappingRules iterate %j', request);
|
|
2702
2800
|
return this.descriptors.page.listMappingRules.asyncIterate(this.innerApiCalls['listMappingRules'], request, callSettings);
|
|
2703
2801
|
}
|
|
@@ -2718,7 +2816,9 @@ class DataMigrationServiceClient {
|
|
|
2718
2816
|
this._gaxModule.routingHeader.fromParams({
|
|
2719
2817
|
conversion_workspace: request.conversionWorkspace ?? '',
|
|
2720
2818
|
});
|
|
2721
|
-
this.initialize()
|
|
2819
|
+
this.initialize().catch(err => {
|
|
2820
|
+
throw err;
|
|
2821
|
+
});
|
|
2722
2822
|
const wrappedCallback = callback
|
|
2723
2823
|
? (error, values, nextPageRequest, rawResponse) => {
|
|
2724
2824
|
this._log.info('describeDatabaseEntities values %j', values);
|
|
@@ -2786,7 +2886,9 @@ class DataMigrationServiceClient {
|
|
|
2786
2886
|
});
|
|
2787
2887
|
const defaultCallSettings = this._defaults['describeDatabaseEntities'];
|
|
2788
2888
|
const callSettings = defaultCallSettings.merge(options);
|
|
2789
|
-
this.initialize()
|
|
2889
|
+
this.initialize().catch(err => {
|
|
2890
|
+
throw err;
|
|
2891
|
+
});
|
|
2790
2892
|
this._log.info('describeDatabaseEntities stream %j', request);
|
|
2791
2893
|
return this.descriptors.page.describeDatabaseEntities.createStream(this.innerApiCalls.describeDatabaseEntities, request, callSettings);
|
|
2792
2894
|
}
|
|
@@ -2846,7 +2948,9 @@ class DataMigrationServiceClient {
|
|
|
2846
2948
|
});
|
|
2847
2949
|
const defaultCallSettings = this._defaults['describeDatabaseEntities'];
|
|
2848
2950
|
const callSettings = defaultCallSettings.merge(options);
|
|
2849
|
-
this.initialize()
|
|
2951
|
+
this.initialize().catch(err => {
|
|
2952
|
+
throw err;
|
|
2953
|
+
});
|
|
2850
2954
|
this._log.info('describeDatabaseEntities iterate %j', request);
|
|
2851
2955
|
return this.descriptors.page.describeDatabaseEntities.asyncIterate(this.innerApiCalls['describeDatabaseEntities'], request, callSettings);
|
|
2852
2956
|
}
|
|
@@ -2867,7 +2971,9 @@ class DataMigrationServiceClient {
|
|
|
2867
2971
|
this._gaxModule.routingHeader.fromParams({
|
|
2868
2972
|
name: request.name ?? '',
|
|
2869
2973
|
});
|
|
2870
|
-
this.initialize()
|
|
2974
|
+
this.initialize().catch(err => {
|
|
2975
|
+
throw err;
|
|
2976
|
+
});
|
|
2871
2977
|
const wrappedCallback = callback
|
|
2872
2978
|
? (error, values, nextPageRequest, rawResponse) => {
|
|
2873
2979
|
this._log.info('fetchStaticIps values %j', values);
|
|
@@ -2915,7 +3021,9 @@ class DataMigrationServiceClient {
|
|
|
2915
3021
|
});
|
|
2916
3022
|
const defaultCallSettings = this._defaults['fetchStaticIps'];
|
|
2917
3023
|
const callSettings = defaultCallSettings.merge(options);
|
|
2918
|
-
this.initialize()
|
|
3024
|
+
this.initialize().catch(err => {
|
|
3025
|
+
throw err;
|
|
3026
|
+
});
|
|
2919
3027
|
this._log.info('fetchStaticIps stream %j', request);
|
|
2920
3028
|
return this.descriptors.page.fetchStaticIps.createStream(this.innerApiCalls.fetchStaticIps, request, callSettings);
|
|
2921
3029
|
}
|
|
@@ -2955,7 +3063,9 @@ class DataMigrationServiceClient {
|
|
|
2955
3063
|
});
|
|
2956
3064
|
const defaultCallSettings = this._defaults['fetchStaticIps'];
|
|
2957
3065
|
const callSettings = defaultCallSettings.merge(options);
|
|
2958
|
-
this.initialize()
|
|
3066
|
+
this.initialize().catch(err => {
|
|
3067
|
+
throw err;
|
|
3068
|
+
});
|
|
2959
3069
|
this._log.info('fetchStaticIps iterate %j', request);
|
|
2960
3070
|
return this.descriptors.page.fetchStaticIps.asyncIterate(this.innerApiCalls['fetchStaticIps'], request, callSettings);
|
|
2961
3071
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@google-cloud/dms",
|
|
3
3
|
"description": "Cloud Database Migration API client for Node.js",
|
|
4
|
-
"version": "4.0.
|
|
4
|
+
"version": "4.0.1",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Google LLC",
|
|
7
7
|
"engines": {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"test": "c8 mocha build/test"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"google-gax": "^5.0.
|
|
49
|
+
"google-gax": "^5.0.1-rc.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/mocha": "^10.0.10",
|