@google-cloud/dlp 6.0.0 → 6.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 +7 -0
- package/build/src/v2/dlp_service_client.js +237 -79
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
[1]: https://www.npmjs.com/package/PACKAGE NAME?activeTab=versions
|
|
6
6
|
|
|
7
|
+
## [6.0.1](https://github.com/googleapis/google-cloud-node/compare/dlp-v6.0.0...dlp-v6.0.1) (2025-03-19)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* [Many APIs] await/catch promises, and update listOperationsAsync return type ([#6190](https://github.com/googleapis/google-cloud-node/issues/6190)) ([f4866df](https://github.com/googleapis/google-cloud-node/commit/f4866dfa6ab481163150f54928a9857d2dfef948))
|
|
13
|
+
|
|
7
14
|
## [6.0.0](https://github.com/googleapis/google-cloud-node/compare/dlp-v5.13.0...dlp-v6.0.0) (2025-03-18)
|
|
8
15
|
|
|
9
16
|
|
|
@@ -406,7 +406,9 @@ class DlpServiceClient {
|
|
|
406
406
|
this._gaxModule.routingHeader.fromParams({
|
|
407
407
|
parent: request.parent ?? '',
|
|
408
408
|
});
|
|
409
|
-
this.initialize()
|
|
409
|
+
this.initialize().catch(err => {
|
|
410
|
+
throw err;
|
|
411
|
+
});
|
|
410
412
|
this._log.info('inspectContent request %j', request);
|
|
411
413
|
const wrappedCallback = callback
|
|
412
414
|
? (error, response, options, rawResponse) => {
|
|
@@ -438,7 +440,9 @@ class DlpServiceClient {
|
|
|
438
440
|
this._gaxModule.routingHeader.fromParams({
|
|
439
441
|
parent: request.parent ?? '',
|
|
440
442
|
});
|
|
441
|
-
this.initialize()
|
|
443
|
+
this.initialize().catch(err => {
|
|
444
|
+
throw err;
|
|
445
|
+
});
|
|
442
446
|
this._log.info('redactImage request %j', request);
|
|
443
447
|
const wrappedCallback = callback
|
|
444
448
|
? (error, response, options, rawResponse) => {
|
|
@@ -470,7 +474,9 @@ class DlpServiceClient {
|
|
|
470
474
|
this._gaxModule.routingHeader.fromParams({
|
|
471
475
|
parent: request.parent ?? '',
|
|
472
476
|
});
|
|
473
|
-
this.initialize()
|
|
477
|
+
this.initialize().catch(err => {
|
|
478
|
+
throw err;
|
|
479
|
+
});
|
|
474
480
|
this._log.info('deidentifyContent request %j', request);
|
|
475
481
|
const wrappedCallback = callback
|
|
476
482
|
? (error, response, options, rawResponse) => {
|
|
@@ -502,7 +508,9 @@ class DlpServiceClient {
|
|
|
502
508
|
this._gaxModule.routingHeader.fromParams({
|
|
503
509
|
parent: request.parent ?? '',
|
|
504
510
|
});
|
|
505
|
-
this.initialize()
|
|
511
|
+
this.initialize().catch(err => {
|
|
512
|
+
throw err;
|
|
513
|
+
});
|
|
506
514
|
this._log.info('reidentifyContent request %j', request);
|
|
507
515
|
const wrappedCallback = callback
|
|
508
516
|
? (error, response, options, rawResponse) => {
|
|
@@ -534,7 +542,9 @@ class DlpServiceClient {
|
|
|
534
542
|
this._gaxModule.routingHeader.fromParams({
|
|
535
543
|
parent: request.parent ?? '',
|
|
536
544
|
});
|
|
537
|
-
this.initialize()
|
|
545
|
+
this.initialize().catch(err => {
|
|
546
|
+
throw err;
|
|
547
|
+
});
|
|
538
548
|
this._log.info('listInfoTypes request %j', request);
|
|
539
549
|
const wrappedCallback = callback
|
|
540
550
|
? (error, response, options, rawResponse) => {
|
|
@@ -566,7 +576,9 @@ class DlpServiceClient {
|
|
|
566
576
|
this._gaxModule.routingHeader.fromParams({
|
|
567
577
|
parent: request.parent ?? '',
|
|
568
578
|
});
|
|
569
|
-
this.initialize()
|
|
579
|
+
this.initialize().catch(err => {
|
|
580
|
+
throw err;
|
|
581
|
+
});
|
|
570
582
|
this._log.info('createInspectTemplate request %j', request);
|
|
571
583
|
const wrappedCallback = callback
|
|
572
584
|
? (error, response, options, rawResponse) => {
|
|
@@ -598,7 +610,9 @@ class DlpServiceClient {
|
|
|
598
610
|
this._gaxModule.routingHeader.fromParams({
|
|
599
611
|
name: request.name ?? '',
|
|
600
612
|
});
|
|
601
|
-
this.initialize()
|
|
613
|
+
this.initialize().catch(err => {
|
|
614
|
+
throw err;
|
|
615
|
+
});
|
|
602
616
|
this._log.info('updateInspectTemplate request %j', request);
|
|
603
617
|
const wrappedCallback = callback
|
|
604
618
|
? (error, response, options, rawResponse) => {
|
|
@@ -630,7 +644,9 @@ class DlpServiceClient {
|
|
|
630
644
|
this._gaxModule.routingHeader.fromParams({
|
|
631
645
|
name: request.name ?? '',
|
|
632
646
|
});
|
|
633
|
-
this.initialize()
|
|
647
|
+
this.initialize().catch(err => {
|
|
648
|
+
throw err;
|
|
649
|
+
});
|
|
634
650
|
this._log.info('getInspectTemplate request %j', request);
|
|
635
651
|
const wrappedCallback = callback
|
|
636
652
|
? (error, response, options, rawResponse) => {
|
|
@@ -662,7 +678,9 @@ class DlpServiceClient {
|
|
|
662
678
|
this._gaxModule.routingHeader.fromParams({
|
|
663
679
|
name: request.name ?? '',
|
|
664
680
|
});
|
|
665
|
-
this.initialize()
|
|
681
|
+
this.initialize().catch(err => {
|
|
682
|
+
throw err;
|
|
683
|
+
});
|
|
666
684
|
this._log.info('deleteInspectTemplate request %j', request);
|
|
667
685
|
const wrappedCallback = callback
|
|
668
686
|
? (error, response, options, rawResponse) => {
|
|
@@ -694,7 +712,9 @@ class DlpServiceClient {
|
|
|
694
712
|
this._gaxModule.routingHeader.fromParams({
|
|
695
713
|
parent: request.parent ?? '',
|
|
696
714
|
});
|
|
697
|
-
this.initialize()
|
|
715
|
+
this.initialize().catch(err => {
|
|
716
|
+
throw err;
|
|
717
|
+
});
|
|
698
718
|
this._log.info('createDeidentifyTemplate request %j', request);
|
|
699
719
|
const wrappedCallback = callback
|
|
700
720
|
? (error, response, options, rawResponse) => {
|
|
@@ -726,7 +746,9 @@ class DlpServiceClient {
|
|
|
726
746
|
this._gaxModule.routingHeader.fromParams({
|
|
727
747
|
name: request.name ?? '',
|
|
728
748
|
});
|
|
729
|
-
this.initialize()
|
|
749
|
+
this.initialize().catch(err => {
|
|
750
|
+
throw err;
|
|
751
|
+
});
|
|
730
752
|
this._log.info('updateDeidentifyTemplate request %j', request);
|
|
731
753
|
const wrappedCallback = callback
|
|
732
754
|
? (error, response, options, rawResponse) => {
|
|
@@ -758,7 +780,9 @@ class DlpServiceClient {
|
|
|
758
780
|
this._gaxModule.routingHeader.fromParams({
|
|
759
781
|
name: request.name ?? '',
|
|
760
782
|
});
|
|
761
|
-
this.initialize()
|
|
783
|
+
this.initialize().catch(err => {
|
|
784
|
+
throw err;
|
|
785
|
+
});
|
|
762
786
|
this._log.info('getDeidentifyTemplate request %j', request);
|
|
763
787
|
const wrappedCallback = callback
|
|
764
788
|
? (error, response, options, rawResponse) => {
|
|
@@ -790,7 +814,9 @@ class DlpServiceClient {
|
|
|
790
814
|
this._gaxModule.routingHeader.fromParams({
|
|
791
815
|
name: request.name ?? '',
|
|
792
816
|
});
|
|
793
|
-
this.initialize()
|
|
817
|
+
this.initialize().catch(err => {
|
|
818
|
+
throw err;
|
|
819
|
+
});
|
|
794
820
|
this._log.info('deleteDeidentifyTemplate request %j', request);
|
|
795
821
|
const wrappedCallback = callback
|
|
796
822
|
? (error, response, options, rawResponse) => {
|
|
@@ -822,7 +848,9 @@ class DlpServiceClient {
|
|
|
822
848
|
this._gaxModule.routingHeader.fromParams({
|
|
823
849
|
parent: request.parent ?? '',
|
|
824
850
|
});
|
|
825
|
-
this.initialize()
|
|
851
|
+
this.initialize().catch(err => {
|
|
852
|
+
throw err;
|
|
853
|
+
});
|
|
826
854
|
this._log.info('createJobTrigger request %j', request);
|
|
827
855
|
const wrappedCallback = callback
|
|
828
856
|
? (error, response, options, rawResponse) => {
|
|
@@ -854,7 +882,9 @@ class DlpServiceClient {
|
|
|
854
882
|
this._gaxModule.routingHeader.fromParams({
|
|
855
883
|
name: request.name ?? '',
|
|
856
884
|
});
|
|
857
|
-
this.initialize()
|
|
885
|
+
this.initialize().catch(err => {
|
|
886
|
+
throw err;
|
|
887
|
+
});
|
|
858
888
|
this._log.info('updateJobTrigger request %j', request);
|
|
859
889
|
const wrappedCallback = callback
|
|
860
890
|
? (error, response, options, rawResponse) => {
|
|
@@ -886,7 +916,9 @@ class DlpServiceClient {
|
|
|
886
916
|
this._gaxModule.routingHeader.fromParams({
|
|
887
917
|
name: request.name ?? '',
|
|
888
918
|
});
|
|
889
|
-
this.initialize()
|
|
919
|
+
this.initialize().catch(err => {
|
|
920
|
+
throw err;
|
|
921
|
+
});
|
|
890
922
|
this._log.info('hybridInspectJobTrigger request %j', request);
|
|
891
923
|
const wrappedCallback = callback
|
|
892
924
|
? (error, response, options, rawResponse) => {
|
|
@@ -918,7 +950,9 @@ class DlpServiceClient {
|
|
|
918
950
|
this._gaxModule.routingHeader.fromParams({
|
|
919
951
|
name: request.name ?? '',
|
|
920
952
|
});
|
|
921
|
-
this.initialize()
|
|
953
|
+
this.initialize().catch(err => {
|
|
954
|
+
throw err;
|
|
955
|
+
});
|
|
922
956
|
this._log.info('getJobTrigger request %j', request);
|
|
923
957
|
const wrappedCallback = callback
|
|
924
958
|
? (error, response, options, rawResponse) => {
|
|
@@ -950,7 +984,9 @@ class DlpServiceClient {
|
|
|
950
984
|
this._gaxModule.routingHeader.fromParams({
|
|
951
985
|
name: request.name ?? '',
|
|
952
986
|
});
|
|
953
|
-
this.initialize()
|
|
987
|
+
this.initialize().catch(err => {
|
|
988
|
+
throw err;
|
|
989
|
+
});
|
|
954
990
|
this._log.info('deleteJobTrigger request %j', request);
|
|
955
991
|
const wrappedCallback = callback
|
|
956
992
|
? (error, response, options, rawResponse) => {
|
|
@@ -982,7 +1018,9 @@ class DlpServiceClient {
|
|
|
982
1018
|
this._gaxModule.routingHeader.fromParams({
|
|
983
1019
|
name: request.name ?? '',
|
|
984
1020
|
});
|
|
985
|
-
this.initialize()
|
|
1021
|
+
this.initialize().catch(err => {
|
|
1022
|
+
throw err;
|
|
1023
|
+
});
|
|
986
1024
|
this._log.info('activateJobTrigger request %j', request);
|
|
987
1025
|
const wrappedCallback = callback
|
|
988
1026
|
? (error, response, options, rawResponse) => {
|
|
@@ -1014,7 +1052,9 @@ class DlpServiceClient {
|
|
|
1014
1052
|
this._gaxModule.routingHeader.fromParams({
|
|
1015
1053
|
parent: request.parent ?? '',
|
|
1016
1054
|
});
|
|
1017
|
-
this.initialize()
|
|
1055
|
+
this.initialize().catch(err => {
|
|
1056
|
+
throw err;
|
|
1057
|
+
});
|
|
1018
1058
|
this._log.info('createDiscoveryConfig request %j', request);
|
|
1019
1059
|
const wrappedCallback = callback
|
|
1020
1060
|
? (error, response, options, rawResponse) => {
|
|
@@ -1046,7 +1086,9 @@ class DlpServiceClient {
|
|
|
1046
1086
|
this._gaxModule.routingHeader.fromParams({
|
|
1047
1087
|
name: request.name ?? '',
|
|
1048
1088
|
});
|
|
1049
|
-
this.initialize()
|
|
1089
|
+
this.initialize().catch(err => {
|
|
1090
|
+
throw err;
|
|
1091
|
+
});
|
|
1050
1092
|
this._log.info('updateDiscoveryConfig request %j', request);
|
|
1051
1093
|
const wrappedCallback = callback
|
|
1052
1094
|
? (error, response, options, rawResponse) => {
|
|
@@ -1078,7 +1120,9 @@ class DlpServiceClient {
|
|
|
1078
1120
|
this._gaxModule.routingHeader.fromParams({
|
|
1079
1121
|
name: request.name ?? '',
|
|
1080
1122
|
});
|
|
1081
|
-
this.initialize()
|
|
1123
|
+
this.initialize().catch(err => {
|
|
1124
|
+
throw err;
|
|
1125
|
+
});
|
|
1082
1126
|
this._log.info('getDiscoveryConfig request %j', request);
|
|
1083
1127
|
const wrappedCallback = callback
|
|
1084
1128
|
? (error, response, options, rawResponse) => {
|
|
@@ -1110,7 +1154,9 @@ class DlpServiceClient {
|
|
|
1110
1154
|
this._gaxModule.routingHeader.fromParams({
|
|
1111
1155
|
name: request.name ?? '',
|
|
1112
1156
|
});
|
|
1113
|
-
this.initialize()
|
|
1157
|
+
this.initialize().catch(err => {
|
|
1158
|
+
throw err;
|
|
1159
|
+
});
|
|
1114
1160
|
this._log.info('deleteDiscoveryConfig request %j', request);
|
|
1115
1161
|
const wrappedCallback = callback
|
|
1116
1162
|
? (error, response, options, rawResponse) => {
|
|
@@ -1142,7 +1188,9 @@ class DlpServiceClient {
|
|
|
1142
1188
|
this._gaxModule.routingHeader.fromParams({
|
|
1143
1189
|
parent: request.parent ?? '',
|
|
1144
1190
|
});
|
|
1145
|
-
this.initialize()
|
|
1191
|
+
this.initialize().catch(err => {
|
|
1192
|
+
throw err;
|
|
1193
|
+
});
|
|
1146
1194
|
this._log.info('createDlpJob request %j', request);
|
|
1147
1195
|
const wrappedCallback = callback
|
|
1148
1196
|
? (error, response, options, rawResponse) => {
|
|
@@ -1174,7 +1222,9 @@ class DlpServiceClient {
|
|
|
1174
1222
|
this._gaxModule.routingHeader.fromParams({
|
|
1175
1223
|
name: request.name ?? '',
|
|
1176
1224
|
});
|
|
1177
|
-
this.initialize()
|
|
1225
|
+
this.initialize().catch(err => {
|
|
1226
|
+
throw err;
|
|
1227
|
+
});
|
|
1178
1228
|
this._log.info('getDlpJob request %j', request);
|
|
1179
1229
|
const wrappedCallback = callback
|
|
1180
1230
|
? (error, response, options, rawResponse) => {
|
|
@@ -1206,7 +1256,9 @@ class DlpServiceClient {
|
|
|
1206
1256
|
this._gaxModule.routingHeader.fromParams({
|
|
1207
1257
|
name: request.name ?? '',
|
|
1208
1258
|
});
|
|
1209
|
-
this.initialize()
|
|
1259
|
+
this.initialize().catch(err => {
|
|
1260
|
+
throw err;
|
|
1261
|
+
});
|
|
1210
1262
|
this._log.info('deleteDlpJob request %j', request);
|
|
1211
1263
|
const wrappedCallback = callback
|
|
1212
1264
|
? (error, response, options, rawResponse) => {
|
|
@@ -1238,7 +1290,9 @@ class DlpServiceClient {
|
|
|
1238
1290
|
this._gaxModule.routingHeader.fromParams({
|
|
1239
1291
|
name: request.name ?? '',
|
|
1240
1292
|
});
|
|
1241
|
-
this.initialize()
|
|
1293
|
+
this.initialize().catch(err => {
|
|
1294
|
+
throw err;
|
|
1295
|
+
});
|
|
1242
1296
|
this._log.info('cancelDlpJob request %j', request);
|
|
1243
1297
|
const wrappedCallback = callback
|
|
1244
1298
|
? (error, response, options, rawResponse) => {
|
|
@@ -1270,7 +1324,9 @@ class DlpServiceClient {
|
|
|
1270
1324
|
this._gaxModule.routingHeader.fromParams({
|
|
1271
1325
|
parent: request.parent ?? '',
|
|
1272
1326
|
});
|
|
1273
|
-
this.initialize()
|
|
1327
|
+
this.initialize().catch(err => {
|
|
1328
|
+
throw err;
|
|
1329
|
+
});
|
|
1274
1330
|
this._log.info('createStoredInfoType request %j', request);
|
|
1275
1331
|
const wrappedCallback = callback
|
|
1276
1332
|
? (error, response, options, rawResponse) => {
|
|
@@ -1302,7 +1358,9 @@ class DlpServiceClient {
|
|
|
1302
1358
|
this._gaxModule.routingHeader.fromParams({
|
|
1303
1359
|
name: request.name ?? '',
|
|
1304
1360
|
});
|
|
1305
|
-
this.initialize()
|
|
1361
|
+
this.initialize().catch(err => {
|
|
1362
|
+
throw err;
|
|
1363
|
+
});
|
|
1306
1364
|
this._log.info('updateStoredInfoType request %j', request);
|
|
1307
1365
|
const wrappedCallback = callback
|
|
1308
1366
|
? (error, response, options, rawResponse) => {
|
|
@@ -1334,7 +1392,9 @@ class DlpServiceClient {
|
|
|
1334
1392
|
this._gaxModule.routingHeader.fromParams({
|
|
1335
1393
|
name: request.name ?? '',
|
|
1336
1394
|
});
|
|
1337
|
-
this.initialize()
|
|
1395
|
+
this.initialize().catch(err => {
|
|
1396
|
+
throw err;
|
|
1397
|
+
});
|
|
1338
1398
|
this._log.info('getStoredInfoType request %j', request);
|
|
1339
1399
|
const wrappedCallback = callback
|
|
1340
1400
|
? (error, response, options, rawResponse) => {
|
|
@@ -1366,7 +1426,9 @@ class DlpServiceClient {
|
|
|
1366
1426
|
this._gaxModule.routingHeader.fromParams({
|
|
1367
1427
|
name: request.name ?? '',
|
|
1368
1428
|
});
|
|
1369
|
-
this.initialize()
|
|
1429
|
+
this.initialize().catch(err => {
|
|
1430
|
+
throw err;
|
|
1431
|
+
});
|
|
1370
1432
|
this._log.info('deleteStoredInfoType request %j', request);
|
|
1371
1433
|
const wrappedCallback = callback
|
|
1372
1434
|
? (error, response, options, rawResponse) => {
|
|
@@ -1398,7 +1460,9 @@ class DlpServiceClient {
|
|
|
1398
1460
|
this._gaxModule.routingHeader.fromParams({
|
|
1399
1461
|
name: request.name ?? '',
|
|
1400
1462
|
});
|
|
1401
|
-
this.initialize()
|
|
1463
|
+
this.initialize().catch(err => {
|
|
1464
|
+
throw err;
|
|
1465
|
+
});
|
|
1402
1466
|
this._log.info('getProjectDataProfile request %j', request);
|
|
1403
1467
|
const wrappedCallback = callback
|
|
1404
1468
|
? (error, response, options, rawResponse) => {
|
|
@@ -1430,7 +1494,9 @@ class DlpServiceClient {
|
|
|
1430
1494
|
this._gaxModule.routingHeader.fromParams({
|
|
1431
1495
|
name: request.name ?? '',
|
|
1432
1496
|
});
|
|
1433
|
-
this.initialize()
|
|
1497
|
+
this.initialize().catch(err => {
|
|
1498
|
+
throw err;
|
|
1499
|
+
});
|
|
1434
1500
|
this._log.info('getFileStoreDataProfile request %j', request);
|
|
1435
1501
|
const wrappedCallback = callback
|
|
1436
1502
|
? (error, response, options, rawResponse) => {
|
|
@@ -1462,7 +1528,9 @@ class DlpServiceClient {
|
|
|
1462
1528
|
this._gaxModule.routingHeader.fromParams({
|
|
1463
1529
|
name: request.name ?? '',
|
|
1464
1530
|
});
|
|
1465
|
-
this.initialize()
|
|
1531
|
+
this.initialize().catch(err => {
|
|
1532
|
+
throw err;
|
|
1533
|
+
});
|
|
1466
1534
|
this._log.info('deleteFileStoreDataProfile request %j', request);
|
|
1467
1535
|
const wrappedCallback = callback
|
|
1468
1536
|
? (error, response, options, rawResponse) => {
|
|
@@ -1494,7 +1562,9 @@ class DlpServiceClient {
|
|
|
1494
1562
|
this._gaxModule.routingHeader.fromParams({
|
|
1495
1563
|
name: request.name ?? '',
|
|
1496
1564
|
});
|
|
1497
|
-
this.initialize()
|
|
1565
|
+
this.initialize().catch(err => {
|
|
1566
|
+
throw err;
|
|
1567
|
+
});
|
|
1498
1568
|
this._log.info('getTableDataProfile request %j', request);
|
|
1499
1569
|
const wrappedCallback = callback
|
|
1500
1570
|
? (error, response, options, rawResponse) => {
|
|
@@ -1526,7 +1596,9 @@ class DlpServiceClient {
|
|
|
1526
1596
|
this._gaxModule.routingHeader.fromParams({
|
|
1527
1597
|
name: request.name ?? '',
|
|
1528
1598
|
});
|
|
1529
|
-
this.initialize()
|
|
1599
|
+
this.initialize().catch(err => {
|
|
1600
|
+
throw err;
|
|
1601
|
+
});
|
|
1530
1602
|
this._log.info('getColumnDataProfile request %j', request);
|
|
1531
1603
|
const wrappedCallback = callback
|
|
1532
1604
|
? (error, response, options, rawResponse) => {
|
|
@@ -1558,7 +1630,9 @@ class DlpServiceClient {
|
|
|
1558
1630
|
this._gaxModule.routingHeader.fromParams({
|
|
1559
1631
|
name: request.name ?? '',
|
|
1560
1632
|
});
|
|
1561
|
-
this.initialize()
|
|
1633
|
+
this.initialize().catch(err => {
|
|
1634
|
+
throw err;
|
|
1635
|
+
});
|
|
1562
1636
|
this._log.info('deleteTableDataProfile request %j', request);
|
|
1563
1637
|
const wrappedCallback = callback
|
|
1564
1638
|
? (error, response, options, rawResponse) => {
|
|
@@ -1590,7 +1664,9 @@ class DlpServiceClient {
|
|
|
1590
1664
|
this._gaxModule.routingHeader.fromParams({
|
|
1591
1665
|
name: request.name ?? '',
|
|
1592
1666
|
});
|
|
1593
|
-
this.initialize()
|
|
1667
|
+
this.initialize().catch(err => {
|
|
1668
|
+
throw err;
|
|
1669
|
+
});
|
|
1594
1670
|
this._log.info('hybridInspectDlpJob request %j', request);
|
|
1595
1671
|
const wrappedCallback = callback
|
|
1596
1672
|
? (error, response, options, rawResponse) => {
|
|
@@ -1622,7 +1698,9 @@ class DlpServiceClient {
|
|
|
1622
1698
|
this._gaxModule.routingHeader.fromParams({
|
|
1623
1699
|
name: request.name ?? '',
|
|
1624
1700
|
});
|
|
1625
|
-
this.initialize()
|
|
1701
|
+
this.initialize().catch(err => {
|
|
1702
|
+
throw err;
|
|
1703
|
+
});
|
|
1626
1704
|
this._log.info('finishDlpJob request %j', request);
|
|
1627
1705
|
const wrappedCallback = callback
|
|
1628
1706
|
? (error, response, options, rawResponse) => {
|
|
@@ -1654,7 +1732,9 @@ class DlpServiceClient {
|
|
|
1654
1732
|
this._gaxModule.routingHeader.fromParams({
|
|
1655
1733
|
parent: request.parent ?? '',
|
|
1656
1734
|
});
|
|
1657
|
-
this.initialize()
|
|
1735
|
+
this.initialize().catch(err => {
|
|
1736
|
+
throw err;
|
|
1737
|
+
});
|
|
1658
1738
|
this._log.info('createConnection request %j', request);
|
|
1659
1739
|
const wrappedCallback = callback
|
|
1660
1740
|
? (error, response, options, rawResponse) => {
|
|
@@ -1686,7 +1766,9 @@ class DlpServiceClient {
|
|
|
1686
1766
|
this._gaxModule.routingHeader.fromParams({
|
|
1687
1767
|
name: request.name ?? '',
|
|
1688
1768
|
});
|
|
1689
|
-
this.initialize()
|
|
1769
|
+
this.initialize().catch(err => {
|
|
1770
|
+
throw err;
|
|
1771
|
+
});
|
|
1690
1772
|
this._log.info('getConnection request %j', request);
|
|
1691
1773
|
const wrappedCallback = callback
|
|
1692
1774
|
? (error, response, options, rawResponse) => {
|
|
@@ -1718,7 +1800,9 @@ class DlpServiceClient {
|
|
|
1718
1800
|
this._gaxModule.routingHeader.fromParams({
|
|
1719
1801
|
name: request.name ?? '',
|
|
1720
1802
|
});
|
|
1721
|
-
this.initialize()
|
|
1803
|
+
this.initialize().catch(err => {
|
|
1804
|
+
throw err;
|
|
1805
|
+
});
|
|
1722
1806
|
this._log.info('deleteConnection request %j', request);
|
|
1723
1807
|
const wrappedCallback = callback
|
|
1724
1808
|
? (error, response, options, rawResponse) => {
|
|
@@ -1750,7 +1834,9 @@ class DlpServiceClient {
|
|
|
1750
1834
|
this._gaxModule.routingHeader.fromParams({
|
|
1751
1835
|
name: request.name ?? '',
|
|
1752
1836
|
});
|
|
1753
|
-
this.initialize()
|
|
1837
|
+
this.initialize().catch(err => {
|
|
1838
|
+
throw err;
|
|
1839
|
+
});
|
|
1754
1840
|
this._log.info('updateConnection request %j', request);
|
|
1755
1841
|
const wrappedCallback = callback
|
|
1756
1842
|
? (error, response, options, rawResponse) => {
|
|
@@ -1782,7 +1868,9 @@ class DlpServiceClient {
|
|
|
1782
1868
|
this._gaxModule.routingHeader.fromParams({
|
|
1783
1869
|
parent: request.parent ?? '',
|
|
1784
1870
|
});
|
|
1785
|
-
this.initialize()
|
|
1871
|
+
this.initialize().catch(err => {
|
|
1872
|
+
throw err;
|
|
1873
|
+
});
|
|
1786
1874
|
const wrappedCallback = callback
|
|
1787
1875
|
? (error, values, nextPageRequest, rawResponse) => {
|
|
1788
1876
|
this._log.info('listInspectTemplates values %j', values);
|
|
@@ -1866,7 +1954,9 @@ class DlpServiceClient {
|
|
|
1866
1954
|
});
|
|
1867
1955
|
const defaultCallSettings = this._defaults['listInspectTemplates'];
|
|
1868
1956
|
const callSettings = defaultCallSettings.merge(options);
|
|
1869
|
-
this.initialize()
|
|
1957
|
+
this.initialize().catch(err => {
|
|
1958
|
+
throw err;
|
|
1959
|
+
});
|
|
1870
1960
|
this._log.info('listInspectTemplates stream %j', request);
|
|
1871
1961
|
return this.descriptors.page.listInspectTemplates.createStream(this.innerApiCalls.listInspectTemplates, request, callSettings);
|
|
1872
1962
|
}
|
|
@@ -1942,7 +2032,9 @@ class DlpServiceClient {
|
|
|
1942
2032
|
});
|
|
1943
2033
|
const defaultCallSettings = this._defaults['listInspectTemplates'];
|
|
1944
2034
|
const callSettings = defaultCallSettings.merge(options);
|
|
1945
|
-
this.initialize()
|
|
2035
|
+
this.initialize().catch(err => {
|
|
2036
|
+
throw err;
|
|
2037
|
+
});
|
|
1946
2038
|
this._log.info('listInspectTemplates iterate %j', request);
|
|
1947
2039
|
return this.descriptors.page.listInspectTemplates.asyncIterate(this.innerApiCalls['listInspectTemplates'], request, callSettings);
|
|
1948
2040
|
}
|
|
@@ -1963,7 +2055,9 @@ class DlpServiceClient {
|
|
|
1963
2055
|
this._gaxModule.routingHeader.fromParams({
|
|
1964
2056
|
parent: request.parent ?? '',
|
|
1965
2057
|
});
|
|
1966
|
-
this.initialize()
|
|
2058
|
+
this.initialize().catch(err => {
|
|
2059
|
+
throw err;
|
|
2060
|
+
});
|
|
1967
2061
|
const wrappedCallback = callback
|
|
1968
2062
|
? (error, values, nextPageRequest, rawResponse) => {
|
|
1969
2063
|
this._log.info('listDeidentifyTemplates values %j', values);
|
|
@@ -2047,7 +2141,9 @@ class DlpServiceClient {
|
|
|
2047
2141
|
});
|
|
2048
2142
|
const defaultCallSettings = this._defaults['listDeidentifyTemplates'];
|
|
2049
2143
|
const callSettings = defaultCallSettings.merge(options);
|
|
2050
|
-
this.initialize()
|
|
2144
|
+
this.initialize().catch(err => {
|
|
2145
|
+
throw err;
|
|
2146
|
+
});
|
|
2051
2147
|
this._log.info('listDeidentifyTemplates stream %j', request);
|
|
2052
2148
|
return this.descriptors.page.listDeidentifyTemplates.createStream(this.innerApiCalls.listDeidentifyTemplates, request, callSettings);
|
|
2053
2149
|
}
|
|
@@ -2123,7 +2219,9 @@ class DlpServiceClient {
|
|
|
2123
2219
|
});
|
|
2124
2220
|
const defaultCallSettings = this._defaults['listDeidentifyTemplates'];
|
|
2125
2221
|
const callSettings = defaultCallSettings.merge(options);
|
|
2126
|
-
this.initialize()
|
|
2222
|
+
this.initialize().catch(err => {
|
|
2223
|
+
throw err;
|
|
2224
|
+
});
|
|
2127
2225
|
this._log.info('listDeidentifyTemplates iterate %j', request);
|
|
2128
2226
|
return this.descriptors.page.listDeidentifyTemplates.asyncIterate(this.innerApiCalls['listDeidentifyTemplates'], request, callSettings);
|
|
2129
2227
|
}
|
|
@@ -2144,7 +2242,9 @@ class DlpServiceClient {
|
|
|
2144
2242
|
this._gaxModule.routingHeader.fromParams({
|
|
2145
2243
|
parent: request.parent ?? '',
|
|
2146
2244
|
});
|
|
2147
|
-
this.initialize()
|
|
2245
|
+
this.initialize().catch(err => {
|
|
2246
|
+
throw err;
|
|
2247
|
+
});
|
|
2148
2248
|
const wrappedCallback = callback
|
|
2149
2249
|
? (error, values, nextPageRequest, rawResponse) => {
|
|
2150
2250
|
this._log.info('listJobTriggers values %j', values);
|
|
@@ -2253,7 +2353,9 @@ class DlpServiceClient {
|
|
|
2253
2353
|
});
|
|
2254
2354
|
const defaultCallSettings = this._defaults['listJobTriggers'];
|
|
2255
2355
|
const callSettings = defaultCallSettings.merge(options);
|
|
2256
|
-
this.initialize()
|
|
2356
|
+
this.initialize().catch(err => {
|
|
2357
|
+
throw err;
|
|
2358
|
+
});
|
|
2257
2359
|
this._log.info('listJobTriggers stream %j', request);
|
|
2258
2360
|
return this.descriptors.page.listJobTriggers.createStream(this.innerApiCalls.listJobTriggers, request, callSettings);
|
|
2259
2361
|
}
|
|
@@ -2354,7 +2456,9 @@ class DlpServiceClient {
|
|
|
2354
2456
|
});
|
|
2355
2457
|
const defaultCallSettings = this._defaults['listJobTriggers'];
|
|
2356
2458
|
const callSettings = defaultCallSettings.merge(options);
|
|
2357
|
-
this.initialize()
|
|
2459
|
+
this.initialize().catch(err => {
|
|
2460
|
+
throw err;
|
|
2461
|
+
});
|
|
2358
2462
|
this._log.info('listJobTriggers iterate %j', request);
|
|
2359
2463
|
return this.descriptors.page.listJobTriggers.asyncIterate(this.innerApiCalls['listJobTriggers'], request, callSettings);
|
|
2360
2464
|
}
|
|
@@ -2375,7 +2479,9 @@ class DlpServiceClient {
|
|
|
2375
2479
|
this._gaxModule.routingHeader.fromParams({
|
|
2376
2480
|
parent: request.parent ?? '',
|
|
2377
2481
|
});
|
|
2378
|
-
this.initialize()
|
|
2482
|
+
this.initialize().catch(err => {
|
|
2483
|
+
throw err;
|
|
2484
|
+
});
|
|
2379
2485
|
const wrappedCallback = callback
|
|
2380
2486
|
? (error, values, nextPageRequest, rawResponse) => {
|
|
2381
2487
|
this._log.info('listDiscoveryConfigs values %j', values);
|
|
@@ -2446,7 +2552,9 @@ class DlpServiceClient {
|
|
|
2446
2552
|
});
|
|
2447
2553
|
const defaultCallSettings = this._defaults['listDiscoveryConfigs'];
|
|
2448
2554
|
const callSettings = defaultCallSettings.merge(options);
|
|
2449
|
-
this.initialize()
|
|
2555
|
+
this.initialize().catch(err => {
|
|
2556
|
+
throw err;
|
|
2557
|
+
});
|
|
2450
2558
|
this._log.info('listDiscoveryConfigs stream %j', request);
|
|
2451
2559
|
return this.descriptors.page.listDiscoveryConfigs.createStream(this.innerApiCalls.listDiscoveryConfigs, request, callSettings);
|
|
2452
2560
|
}
|
|
@@ -2509,7 +2617,9 @@ class DlpServiceClient {
|
|
|
2509
2617
|
});
|
|
2510
2618
|
const defaultCallSettings = this._defaults['listDiscoveryConfigs'];
|
|
2511
2619
|
const callSettings = defaultCallSettings.merge(options);
|
|
2512
|
-
this.initialize()
|
|
2620
|
+
this.initialize().catch(err => {
|
|
2621
|
+
throw err;
|
|
2622
|
+
});
|
|
2513
2623
|
this._log.info('listDiscoveryConfigs iterate %j', request);
|
|
2514
2624
|
return this.descriptors.page.listDiscoveryConfigs.asyncIterate(this.innerApiCalls['listDiscoveryConfigs'], request, callSettings);
|
|
2515
2625
|
}
|
|
@@ -2530,7 +2640,9 @@ class DlpServiceClient {
|
|
|
2530
2640
|
this._gaxModule.routingHeader.fromParams({
|
|
2531
2641
|
parent: request.parent ?? '',
|
|
2532
2642
|
});
|
|
2533
|
-
this.initialize()
|
|
2643
|
+
this.initialize().catch(err => {
|
|
2644
|
+
throw err;
|
|
2645
|
+
});
|
|
2534
2646
|
const wrappedCallback = callback
|
|
2535
2647
|
? (error, values, nextPageRequest, rawResponse) => {
|
|
2536
2648
|
this._log.info('listDlpJobs values %j', values);
|
|
@@ -2639,7 +2751,9 @@ class DlpServiceClient {
|
|
|
2639
2751
|
});
|
|
2640
2752
|
const defaultCallSettings = this._defaults['listDlpJobs'];
|
|
2641
2753
|
const callSettings = defaultCallSettings.merge(options);
|
|
2642
|
-
this.initialize()
|
|
2754
|
+
this.initialize().catch(err => {
|
|
2755
|
+
throw err;
|
|
2756
|
+
});
|
|
2643
2757
|
this._log.info('listDlpJobs stream %j', request);
|
|
2644
2758
|
return this.descriptors.page.listDlpJobs.createStream(this.innerApiCalls.listDlpJobs, request, callSettings);
|
|
2645
2759
|
}
|
|
@@ -2740,7 +2854,9 @@ class DlpServiceClient {
|
|
|
2740
2854
|
});
|
|
2741
2855
|
const defaultCallSettings = this._defaults['listDlpJobs'];
|
|
2742
2856
|
const callSettings = defaultCallSettings.merge(options);
|
|
2743
|
-
this.initialize()
|
|
2857
|
+
this.initialize().catch(err => {
|
|
2858
|
+
throw err;
|
|
2859
|
+
});
|
|
2744
2860
|
this._log.info('listDlpJobs iterate %j', request);
|
|
2745
2861
|
return this.descriptors.page.listDlpJobs.asyncIterate(this.innerApiCalls['listDlpJobs'], request, callSettings);
|
|
2746
2862
|
}
|
|
@@ -2761,7 +2877,9 @@ class DlpServiceClient {
|
|
|
2761
2877
|
this._gaxModule.routingHeader.fromParams({
|
|
2762
2878
|
parent: request.parent ?? '',
|
|
2763
2879
|
});
|
|
2764
|
-
this.initialize()
|
|
2880
|
+
this.initialize().catch(err => {
|
|
2881
|
+
throw err;
|
|
2882
|
+
});
|
|
2765
2883
|
const wrappedCallback = callback
|
|
2766
2884
|
? (error, values, nextPageRequest, rawResponse) => {
|
|
2767
2885
|
this._log.info('listStoredInfoTypes values %j', values);
|
|
@@ -2842,7 +2960,9 @@ class DlpServiceClient {
|
|
|
2842
2960
|
});
|
|
2843
2961
|
const defaultCallSettings = this._defaults['listStoredInfoTypes'];
|
|
2844
2962
|
const callSettings = defaultCallSettings.merge(options);
|
|
2845
|
-
this.initialize()
|
|
2963
|
+
this.initialize().catch(err => {
|
|
2964
|
+
throw err;
|
|
2965
|
+
});
|
|
2846
2966
|
this._log.info('listStoredInfoTypes stream %j', request);
|
|
2847
2967
|
return this.descriptors.page.listStoredInfoTypes.createStream(this.innerApiCalls.listStoredInfoTypes, request, callSettings);
|
|
2848
2968
|
}
|
|
@@ -2915,7 +3035,9 @@ class DlpServiceClient {
|
|
|
2915
3035
|
});
|
|
2916
3036
|
const defaultCallSettings = this._defaults['listStoredInfoTypes'];
|
|
2917
3037
|
const callSettings = defaultCallSettings.merge(options);
|
|
2918
|
-
this.initialize()
|
|
3038
|
+
this.initialize().catch(err => {
|
|
3039
|
+
throw err;
|
|
3040
|
+
});
|
|
2919
3041
|
this._log.info('listStoredInfoTypes iterate %j', request);
|
|
2920
3042
|
return this.descriptors.page.listStoredInfoTypes.asyncIterate(this.innerApiCalls['listStoredInfoTypes'], request, callSettings);
|
|
2921
3043
|
}
|
|
@@ -2936,7 +3058,9 @@ class DlpServiceClient {
|
|
|
2936
3058
|
this._gaxModule.routingHeader.fromParams({
|
|
2937
3059
|
parent: request.parent ?? '',
|
|
2938
3060
|
});
|
|
2939
|
-
this.initialize()
|
|
3061
|
+
this.initialize().catch(err => {
|
|
3062
|
+
throw err;
|
|
3063
|
+
});
|
|
2940
3064
|
const wrappedCallback = callback
|
|
2941
3065
|
? (error, values, nextPageRequest, rawResponse) => {
|
|
2942
3066
|
this._log.info('listProjectDataProfiles values %j', values);
|
|
@@ -3023,7 +3147,9 @@ class DlpServiceClient {
|
|
|
3023
3147
|
});
|
|
3024
3148
|
const defaultCallSettings = this._defaults['listProjectDataProfiles'];
|
|
3025
3149
|
const callSettings = defaultCallSettings.merge(options);
|
|
3026
|
-
this.initialize()
|
|
3150
|
+
this.initialize().catch(err => {
|
|
3151
|
+
throw err;
|
|
3152
|
+
});
|
|
3027
3153
|
this._log.info('listProjectDataProfiles stream %j', request);
|
|
3028
3154
|
return this.descriptors.page.listProjectDataProfiles.createStream(this.innerApiCalls.listProjectDataProfiles, request, callSettings);
|
|
3029
3155
|
}
|
|
@@ -3102,7 +3228,9 @@ class DlpServiceClient {
|
|
|
3102
3228
|
});
|
|
3103
3229
|
const defaultCallSettings = this._defaults['listProjectDataProfiles'];
|
|
3104
3230
|
const callSettings = defaultCallSettings.merge(options);
|
|
3105
|
-
this.initialize()
|
|
3231
|
+
this.initialize().catch(err => {
|
|
3232
|
+
throw err;
|
|
3233
|
+
});
|
|
3106
3234
|
this._log.info('listProjectDataProfiles iterate %j', request);
|
|
3107
3235
|
return this.descriptors.page.listProjectDataProfiles.asyncIterate(this.innerApiCalls['listProjectDataProfiles'], request, callSettings);
|
|
3108
3236
|
}
|
|
@@ -3123,7 +3251,9 @@ class DlpServiceClient {
|
|
|
3123
3251
|
this._gaxModule.routingHeader.fromParams({
|
|
3124
3252
|
parent: request.parent ?? '',
|
|
3125
3253
|
});
|
|
3126
|
-
this.initialize()
|
|
3254
|
+
this.initialize().catch(err => {
|
|
3255
|
+
throw err;
|
|
3256
|
+
});
|
|
3127
3257
|
const wrappedCallback = callback
|
|
3128
3258
|
? (error, values, nextPageRequest, rawResponse) => {
|
|
3129
3259
|
this._log.info('listTableDataProfiles values %j', values);
|
|
@@ -3223,7 +3353,9 @@ class DlpServiceClient {
|
|
|
3223
3353
|
});
|
|
3224
3354
|
const defaultCallSettings = this._defaults['listTableDataProfiles'];
|
|
3225
3355
|
const callSettings = defaultCallSettings.merge(options);
|
|
3226
|
-
this.initialize()
|
|
3356
|
+
this.initialize().catch(err => {
|
|
3357
|
+
throw err;
|
|
3358
|
+
});
|
|
3227
3359
|
this._log.info('listTableDataProfiles stream %j', request);
|
|
3228
3360
|
return this.descriptors.page.listTableDataProfiles.createStream(this.innerApiCalls.listTableDataProfiles, request, callSettings);
|
|
3229
3361
|
}
|
|
@@ -3315,7 +3447,9 @@ class DlpServiceClient {
|
|
|
3315
3447
|
});
|
|
3316
3448
|
const defaultCallSettings = this._defaults['listTableDataProfiles'];
|
|
3317
3449
|
const callSettings = defaultCallSettings.merge(options);
|
|
3318
|
-
this.initialize()
|
|
3450
|
+
this.initialize().catch(err => {
|
|
3451
|
+
throw err;
|
|
3452
|
+
});
|
|
3319
3453
|
this._log.info('listTableDataProfiles iterate %j', request);
|
|
3320
3454
|
return this.descriptors.page.listTableDataProfiles.asyncIterate(this.innerApiCalls['listTableDataProfiles'], request, callSettings);
|
|
3321
3455
|
}
|
|
@@ -3336,7 +3470,9 @@ class DlpServiceClient {
|
|
|
3336
3470
|
this._gaxModule.routingHeader.fromParams({
|
|
3337
3471
|
parent: request.parent ?? '',
|
|
3338
3472
|
});
|
|
3339
|
-
this.initialize()
|
|
3473
|
+
this.initialize().catch(err => {
|
|
3474
|
+
throw err;
|
|
3475
|
+
});
|
|
3340
3476
|
const wrappedCallback = callback
|
|
3341
3477
|
? (error, values, nextPageRequest, rawResponse) => {
|
|
3342
3478
|
this._log.info('listColumnDataProfiles values %j', values);
|
|
@@ -3438,7 +3574,9 @@ class DlpServiceClient {
|
|
|
3438
3574
|
});
|
|
3439
3575
|
const defaultCallSettings = this._defaults['listColumnDataProfiles'];
|
|
3440
3576
|
const callSettings = defaultCallSettings.merge(options);
|
|
3441
|
-
this.initialize()
|
|
3577
|
+
this.initialize().catch(err => {
|
|
3578
|
+
throw err;
|
|
3579
|
+
});
|
|
3442
3580
|
this._log.info('listColumnDataProfiles stream %j', request);
|
|
3443
3581
|
return this.descriptors.page.listColumnDataProfiles.createStream(this.innerApiCalls.listColumnDataProfiles, request, callSettings);
|
|
3444
3582
|
}
|
|
@@ -3532,7 +3670,9 @@ class DlpServiceClient {
|
|
|
3532
3670
|
});
|
|
3533
3671
|
const defaultCallSettings = this._defaults['listColumnDataProfiles'];
|
|
3534
3672
|
const callSettings = defaultCallSettings.merge(options);
|
|
3535
|
-
this.initialize()
|
|
3673
|
+
this.initialize().catch(err => {
|
|
3674
|
+
throw err;
|
|
3675
|
+
});
|
|
3536
3676
|
this._log.info('listColumnDataProfiles iterate %j', request);
|
|
3537
3677
|
return this.descriptors.page.listColumnDataProfiles.asyncIterate(this.innerApiCalls['listColumnDataProfiles'], request, callSettings);
|
|
3538
3678
|
}
|
|
@@ -3553,7 +3693,9 @@ class DlpServiceClient {
|
|
|
3553
3693
|
this._gaxModule.routingHeader.fromParams({
|
|
3554
3694
|
parent: request.parent ?? '',
|
|
3555
3695
|
});
|
|
3556
|
-
this.initialize()
|
|
3696
|
+
this.initialize().catch(err => {
|
|
3697
|
+
throw err;
|
|
3698
|
+
});
|
|
3557
3699
|
const wrappedCallback = callback
|
|
3558
3700
|
? (error, values, nextPageRequest, rawResponse) => {
|
|
3559
3701
|
this._log.info('listFileStoreDataProfiles values %j', values);
|
|
@@ -3658,7 +3800,9 @@ class DlpServiceClient {
|
|
|
3658
3800
|
});
|
|
3659
3801
|
const defaultCallSettings = this._defaults['listFileStoreDataProfiles'];
|
|
3660
3802
|
const callSettings = defaultCallSettings.merge(options);
|
|
3661
|
-
this.initialize()
|
|
3803
|
+
this.initialize().catch(err => {
|
|
3804
|
+
throw err;
|
|
3805
|
+
});
|
|
3662
3806
|
this._log.info('listFileStoreDataProfiles stream %j', request);
|
|
3663
3807
|
return this.descriptors.page.listFileStoreDataProfiles.createStream(this.innerApiCalls.listFileStoreDataProfiles, request, callSettings);
|
|
3664
3808
|
}
|
|
@@ -3755,7 +3899,9 @@ class DlpServiceClient {
|
|
|
3755
3899
|
});
|
|
3756
3900
|
const defaultCallSettings = this._defaults['listFileStoreDataProfiles'];
|
|
3757
3901
|
const callSettings = defaultCallSettings.merge(options);
|
|
3758
|
-
this.initialize()
|
|
3902
|
+
this.initialize().catch(err => {
|
|
3903
|
+
throw err;
|
|
3904
|
+
});
|
|
3759
3905
|
this._log.info('listFileStoreDataProfiles iterate %j', request);
|
|
3760
3906
|
return this.descriptors.page.listFileStoreDataProfiles.asyncIterate(this.innerApiCalls['listFileStoreDataProfiles'], request, callSettings);
|
|
3761
3907
|
}
|
|
@@ -3776,7 +3922,9 @@ class DlpServiceClient {
|
|
|
3776
3922
|
this._gaxModule.routingHeader.fromParams({
|
|
3777
3923
|
parent: request.parent ?? '',
|
|
3778
3924
|
});
|
|
3779
|
-
this.initialize()
|
|
3925
|
+
this.initialize().catch(err => {
|
|
3926
|
+
throw err;
|
|
3927
|
+
});
|
|
3780
3928
|
const wrappedCallback = callback
|
|
3781
3929
|
? (error, values, nextPageRequest, rawResponse) => {
|
|
3782
3930
|
this._log.info('listConnections values %j', values);
|
|
@@ -3828,7 +3976,9 @@ class DlpServiceClient {
|
|
|
3828
3976
|
});
|
|
3829
3977
|
const defaultCallSettings = this._defaults['listConnections'];
|
|
3830
3978
|
const callSettings = defaultCallSettings.merge(options);
|
|
3831
|
-
this.initialize()
|
|
3979
|
+
this.initialize().catch(err => {
|
|
3980
|
+
throw err;
|
|
3981
|
+
});
|
|
3832
3982
|
this._log.info('listConnections stream %j', request);
|
|
3833
3983
|
return this.descriptors.page.listConnections.createStream(this.innerApiCalls.listConnections, request, callSettings);
|
|
3834
3984
|
}
|
|
@@ -3872,7 +4022,9 @@ class DlpServiceClient {
|
|
|
3872
4022
|
});
|
|
3873
4023
|
const defaultCallSettings = this._defaults['listConnections'];
|
|
3874
4024
|
const callSettings = defaultCallSettings.merge(options);
|
|
3875
|
-
this.initialize()
|
|
4025
|
+
this.initialize().catch(err => {
|
|
4026
|
+
throw err;
|
|
4027
|
+
});
|
|
3876
4028
|
this._log.info('listConnections iterate %j', request);
|
|
3877
4029
|
return this.descriptors.page.listConnections.asyncIterate(this.innerApiCalls['listConnections'], request, callSettings);
|
|
3878
4030
|
}
|
|
@@ -3893,7 +4045,9 @@ class DlpServiceClient {
|
|
|
3893
4045
|
this._gaxModule.routingHeader.fromParams({
|
|
3894
4046
|
parent: request.parent ?? '',
|
|
3895
4047
|
});
|
|
3896
|
-
this.initialize()
|
|
4048
|
+
this.initialize().catch(err => {
|
|
4049
|
+
throw err;
|
|
4050
|
+
});
|
|
3897
4051
|
const wrappedCallback = callback
|
|
3898
4052
|
? (error, values, nextPageRequest, rawResponse) => {
|
|
3899
4053
|
this._log.info('searchConnections values %j', values);
|
|
@@ -3945,7 +4099,9 @@ class DlpServiceClient {
|
|
|
3945
4099
|
});
|
|
3946
4100
|
const defaultCallSettings = this._defaults['searchConnections'];
|
|
3947
4101
|
const callSettings = defaultCallSettings.merge(options);
|
|
3948
|
-
this.initialize()
|
|
4102
|
+
this.initialize().catch(err => {
|
|
4103
|
+
throw err;
|
|
4104
|
+
});
|
|
3949
4105
|
this._log.info('searchConnections stream %j', request);
|
|
3950
4106
|
return this.descriptors.page.searchConnections.createStream(this.innerApiCalls.searchConnections, request, callSettings);
|
|
3951
4107
|
}
|
|
@@ -3989,7 +4145,9 @@ class DlpServiceClient {
|
|
|
3989
4145
|
});
|
|
3990
4146
|
const defaultCallSettings = this._defaults['searchConnections'];
|
|
3991
4147
|
const callSettings = defaultCallSettings.merge(options);
|
|
3992
|
-
this.initialize()
|
|
4148
|
+
this.initialize().catch(err => {
|
|
4149
|
+
throw err;
|
|
4150
|
+
});
|
|
3993
4151
|
this._log.info('searchConnections iterate %j', request);
|
|
3994
4152
|
return this.descriptors.page.searchConnections.asyncIterate(this.innerApiCalls['searchConnections'], request, callSettings);
|
|
3995
4153
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@google-cloud/dlp",
|
|
3
3
|
"description": "DLP API client for Node.js",
|
|
4
|
-
"version": "6.0.
|
|
4
|
+
"version": "6.0.1",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Google Inc",
|
|
7
7
|
"engines": {
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"test": "c8 mocha build/test"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"google-gax": "^5.0.
|
|
51
|
+
"google-gax": "^5.0.1-rc.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/mocha": "^10.0.10",
|