@google-cloud/dlp 5.13.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.
@@ -0,0 +1,4 @@
1
+ [
2
+ "../../protos/google/privacy/dlp/v2/dlp.proto",
3
+ "../../protos/google/privacy/dlp/v2/storage.proto"
4
+ ]
@@ -0,0 +1,621 @@
1
+ {
2
+ "schema": "1.0",
3
+ "comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
4
+ "language": "typescript",
5
+ "protoPackage": "google.privacy.dlp.v2",
6
+ "libraryPackage": "@google-cloud/dlp",
7
+ "services": {
8
+ "DlpService": {
9
+ "clients": {
10
+ "grpc": {
11
+ "libraryClient": "DlpServiceClient",
12
+ "rpcs": {
13
+ "InspectContent": {
14
+ "methods": [
15
+ "inspectContent"
16
+ ]
17
+ },
18
+ "RedactImage": {
19
+ "methods": [
20
+ "redactImage"
21
+ ]
22
+ },
23
+ "DeidentifyContent": {
24
+ "methods": [
25
+ "deidentifyContent"
26
+ ]
27
+ },
28
+ "ReidentifyContent": {
29
+ "methods": [
30
+ "reidentifyContent"
31
+ ]
32
+ },
33
+ "ListInfoTypes": {
34
+ "methods": [
35
+ "listInfoTypes"
36
+ ]
37
+ },
38
+ "CreateInspectTemplate": {
39
+ "methods": [
40
+ "createInspectTemplate"
41
+ ]
42
+ },
43
+ "UpdateInspectTemplate": {
44
+ "methods": [
45
+ "updateInspectTemplate"
46
+ ]
47
+ },
48
+ "GetInspectTemplate": {
49
+ "methods": [
50
+ "getInspectTemplate"
51
+ ]
52
+ },
53
+ "DeleteInspectTemplate": {
54
+ "methods": [
55
+ "deleteInspectTemplate"
56
+ ]
57
+ },
58
+ "CreateDeidentifyTemplate": {
59
+ "methods": [
60
+ "createDeidentifyTemplate"
61
+ ]
62
+ },
63
+ "UpdateDeidentifyTemplate": {
64
+ "methods": [
65
+ "updateDeidentifyTemplate"
66
+ ]
67
+ },
68
+ "GetDeidentifyTemplate": {
69
+ "methods": [
70
+ "getDeidentifyTemplate"
71
+ ]
72
+ },
73
+ "DeleteDeidentifyTemplate": {
74
+ "methods": [
75
+ "deleteDeidentifyTemplate"
76
+ ]
77
+ },
78
+ "CreateJobTrigger": {
79
+ "methods": [
80
+ "createJobTrigger"
81
+ ]
82
+ },
83
+ "UpdateJobTrigger": {
84
+ "methods": [
85
+ "updateJobTrigger"
86
+ ]
87
+ },
88
+ "HybridInspectJobTrigger": {
89
+ "methods": [
90
+ "hybridInspectJobTrigger"
91
+ ]
92
+ },
93
+ "GetJobTrigger": {
94
+ "methods": [
95
+ "getJobTrigger"
96
+ ]
97
+ },
98
+ "DeleteJobTrigger": {
99
+ "methods": [
100
+ "deleteJobTrigger"
101
+ ]
102
+ },
103
+ "ActivateJobTrigger": {
104
+ "methods": [
105
+ "activateJobTrigger"
106
+ ]
107
+ },
108
+ "CreateDiscoveryConfig": {
109
+ "methods": [
110
+ "createDiscoveryConfig"
111
+ ]
112
+ },
113
+ "UpdateDiscoveryConfig": {
114
+ "methods": [
115
+ "updateDiscoveryConfig"
116
+ ]
117
+ },
118
+ "GetDiscoveryConfig": {
119
+ "methods": [
120
+ "getDiscoveryConfig"
121
+ ]
122
+ },
123
+ "DeleteDiscoveryConfig": {
124
+ "methods": [
125
+ "deleteDiscoveryConfig"
126
+ ]
127
+ },
128
+ "CreateDlpJob": {
129
+ "methods": [
130
+ "createDlpJob"
131
+ ]
132
+ },
133
+ "GetDlpJob": {
134
+ "methods": [
135
+ "getDlpJob"
136
+ ]
137
+ },
138
+ "DeleteDlpJob": {
139
+ "methods": [
140
+ "deleteDlpJob"
141
+ ]
142
+ },
143
+ "CancelDlpJob": {
144
+ "methods": [
145
+ "cancelDlpJob"
146
+ ]
147
+ },
148
+ "CreateStoredInfoType": {
149
+ "methods": [
150
+ "createStoredInfoType"
151
+ ]
152
+ },
153
+ "UpdateStoredInfoType": {
154
+ "methods": [
155
+ "updateStoredInfoType"
156
+ ]
157
+ },
158
+ "GetStoredInfoType": {
159
+ "methods": [
160
+ "getStoredInfoType"
161
+ ]
162
+ },
163
+ "DeleteStoredInfoType": {
164
+ "methods": [
165
+ "deleteStoredInfoType"
166
+ ]
167
+ },
168
+ "GetProjectDataProfile": {
169
+ "methods": [
170
+ "getProjectDataProfile"
171
+ ]
172
+ },
173
+ "GetFileStoreDataProfile": {
174
+ "methods": [
175
+ "getFileStoreDataProfile"
176
+ ]
177
+ },
178
+ "DeleteFileStoreDataProfile": {
179
+ "methods": [
180
+ "deleteFileStoreDataProfile"
181
+ ]
182
+ },
183
+ "GetTableDataProfile": {
184
+ "methods": [
185
+ "getTableDataProfile"
186
+ ]
187
+ },
188
+ "GetColumnDataProfile": {
189
+ "methods": [
190
+ "getColumnDataProfile"
191
+ ]
192
+ },
193
+ "DeleteTableDataProfile": {
194
+ "methods": [
195
+ "deleteTableDataProfile"
196
+ ]
197
+ },
198
+ "HybridInspectDlpJob": {
199
+ "methods": [
200
+ "hybridInspectDlpJob"
201
+ ]
202
+ },
203
+ "FinishDlpJob": {
204
+ "methods": [
205
+ "finishDlpJob"
206
+ ]
207
+ },
208
+ "CreateConnection": {
209
+ "methods": [
210
+ "createConnection"
211
+ ]
212
+ },
213
+ "GetConnection": {
214
+ "methods": [
215
+ "getConnection"
216
+ ]
217
+ },
218
+ "DeleteConnection": {
219
+ "methods": [
220
+ "deleteConnection"
221
+ ]
222
+ },
223
+ "UpdateConnection": {
224
+ "methods": [
225
+ "updateConnection"
226
+ ]
227
+ },
228
+ "ListInspectTemplates": {
229
+ "methods": [
230
+ "listInspectTemplates",
231
+ "listInspectTemplatesStream",
232
+ "listInspectTemplatesAsync"
233
+ ]
234
+ },
235
+ "ListDeidentifyTemplates": {
236
+ "methods": [
237
+ "listDeidentifyTemplates",
238
+ "listDeidentifyTemplatesStream",
239
+ "listDeidentifyTemplatesAsync"
240
+ ]
241
+ },
242
+ "ListJobTriggers": {
243
+ "methods": [
244
+ "listJobTriggers",
245
+ "listJobTriggersStream",
246
+ "listJobTriggersAsync"
247
+ ]
248
+ },
249
+ "ListDiscoveryConfigs": {
250
+ "methods": [
251
+ "listDiscoveryConfigs",
252
+ "listDiscoveryConfigsStream",
253
+ "listDiscoveryConfigsAsync"
254
+ ]
255
+ },
256
+ "ListDlpJobs": {
257
+ "methods": [
258
+ "listDlpJobs",
259
+ "listDlpJobsStream",
260
+ "listDlpJobsAsync"
261
+ ]
262
+ },
263
+ "ListStoredInfoTypes": {
264
+ "methods": [
265
+ "listStoredInfoTypes",
266
+ "listStoredInfoTypesStream",
267
+ "listStoredInfoTypesAsync"
268
+ ]
269
+ },
270
+ "ListProjectDataProfiles": {
271
+ "methods": [
272
+ "listProjectDataProfiles",
273
+ "listProjectDataProfilesStream",
274
+ "listProjectDataProfilesAsync"
275
+ ]
276
+ },
277
+ "ListTableDataProfiles": {
278
+ "methods": [
279
+ "listTableDataProfiles",
280
+ "listTableDataProfilesStream",
281
+ "listTableDataProfilesAsync"
282
+ ]
283
+ },
284
+ "ListColumnDataProfiles": {
285
+ "methods": [
286
+ "listColumnDataProfiles",
287
+ "listColumnDataProfilesStream",
288
+ "listColumnDataProfilesAsync"
289
+ ]
290
+ },
291
+ "ListFileStoreDataProfiles": {
292
+ "methods": [
293
+ "listFileStoreDataProfiles",
294
+ "listFileStoreDataProfilesStream",
295
+ "listFileStoreDataProfilesAsync"
296
+ ]
297
+ },
298
+ "ListConnections": {
299
+ "methods": [
300
+ "listConnections",
301
+ "listConnectionsStream",
302
+ "listConnectionsAsync"
303
+ ]
304
+ },
305
+ "SearchConnections": {
306
+ "methods": [
307
+ "searchConnections",
308
+ "searchConnectionsStream",
309
+ "searchConnectionsAsync"
310
+ ]
311
+ }
312
+ }
313
+ },
314
+ "grpc-fallback": {
315
+ "libraryClient": "DlpServiceClient",
316
+ "rpcs": {
317
+ "InspectContent": {
318
+ "methods": [
319
+ "inspectContent"
320
+ ]
321
+ },
322
+ "RedactImage": {
323
+ "methods": [
324
+ "redactImage"
325
+ ]
326
+ },
327
+ "DeidentifyContent": {
328
+ "methods": [
329
+ "deidentifyContent"
330
+ ]
331
+ },
332
+ "ReidentifyContent": {
333
+ "methods": [
334
+ "reidentifyContent"
335
+ ]
336
+ },
337
+ "ListInfoTypes": {
338
+ "methods": [
339
+ "listInfoTypes"
340
+ ]
341
+ },
342
+ "CreateInspectTemplate": {
343
+ "methods": [
344
+ "createInspectTemplate"
345
+ ]
346
+ },
347
+ "UpdateInspectTemplate": {
348
+ "methods": [
349
+ "updateInspectTemplate"
350
+ ]
351
+ },
352
+ "GetInspectTemplate": {
353
+ "methods": [
354
+ "getInspectTemplate"
355
+ ]
356
+ },
357
+ "DeleteInspectTemplate": {
358
+ "methods": [
359
+ "deleteInspectTemplate"
360
+ ]
361
+ },
362
+ "CreateDeidentifyTemplate": {
363
+ "methods": [
364
+ "createDeidentifyTemplate"
365
+ ]
366
+ },
367
+ "UpdateDeidentifyTemplate": {
368
+ "methods": [
369
+ "updateDeidentifyTemplate"
370
+ ]
371
+ },
372
+ "GetDeidentifyTemplate": {
373
+ "methods": [
374
+ "getDeidentifyTemplate"
375
+ ]
376
+ },
377
+ "DeleteDeidentifyTemplate": {
378
+ "methods": [
379
+ "deleteDeidentifyTemplate"
380
+ ]
381
+ },
382
+ "CreateJobTrigger": {
383
+ "methods": [
384
+ "createJobTrigger"
385
+ ]
386
+ },
387
+ "UpdateJobTrigger": {
388
+ "methods": [
389
+ "updateJobTrigger"
390
+ ]
391
+ },
392
+ "HybridInspectJobTrigger": {
393
+ "methods": [
394
+ "hybridInspectJobTrigger"
395
+ ]
396
+ },
397
+ "GetJobTrigger": {
398
+ "methods": [
399
+ "getJobTrigger"
400
+ ]
401
+ },
402
+ "DeleteJobTrigger": {
403
+ "methods": [
404
+ "deleteJobTrigger"
405
+ ]
406
+ },
407
+ "ActivateJobTrigger": {
408
+ "methods": [
409
+ "activateJobTrigger"
410
+ ]
411
+ },
412
+ "CreateDiscoveryConfig": {
413
+ "methods": [
414
+ "createDiscoveryConfig"
415
+ ]
416
+ },
417
+ "UpdateDiscoveryConfig": {
418
+ "methods": [
419
+ "updateDiscoveryConfig"
420
+ ]
421
+ },
422
+ "GetDiscoveryConfig": {
423
+ "methods": [
424
+ "getDiscoveryConfig"
425
+ ]
426
+ },
427
+ "DeleteDiscoveryConfig": {
428
+ "methods": [
429
+ "deleteDiscoveryConfig"
430
+ ]
431
+ },
432
+ "CreateDlpJob": {
433
+ "methods": [
434
+ "createDlpJob"
435
+ ]
436
+ },
437
+ "GetDlpJob": {
438
+ "methods": [
439
+ "getDlpJob"
440
+ ]
441
+ },
442
+ "DeleteDlpJob": {
443
+ "methods": [
444
+ "deleteDlpJob"
445
+ ]
446
+ },
447
+ "CancelDlpJob": {
448
+ "methods": [
449
+ "cancelDlpJob"
450
+ ]
451
+ },
452
+ "CreateStoredInfoType": {
453
+ "methods": [
454
+ "createStoredInfoType"
455
+ ]
456
+ },
457
+ "UpdateStoredInfoType": {
458
+ "methods": [
459
+ "updateStoredInfoType"
460
+ ]
461
+ },
462
+ "GetStoredInfoType": {
463
+ "methods": [
464
+ "getStoredInfoType"
465
+ ]
466
+ },
467
+ "DeleteStoredInfoType": {
468
+ "methods": [
469
+ "deleteStoredInfoType"
470
+ ]
471
+ },
472
+ "GetProjectDataProfile": {
473
+ "methods": [
474
+ "getProjectDataProfile"
475
+ ]
476
+ },
477
+ "GetFileStoreDataProfile": {
478
+ "methods": [
479
+ "getFileStoreDataProfile"
480
+ ]
481
+ },
482
+ "DeleteFileStoreDataProfile": {
483
+ "methods": [
484
+ "deleteFileStoreDataProfile"
485
+ ]
486
+ },
487
+ "GetTableDataProfile": {
488
+ "methods": [
489
+ "getTableDataProfile"
490
+ ]
491
+ },
492
+ "GetColumnDataProfile": {
493
+ "methods": [
494
+ "getColumnDataProfile"
495
+ ]
496
+ },
497
+ "DeleteTableDataProfile": {
498
+ "methods": [
499
+ "deleteTableDataProfile"
500
+ ]
501
+ },
502
+ "HybridInspectDlpJob": {
503
+ "methods": [
504
+ "hybridInspectDlpJob"
505
+ ]
506
+ },
507
+ "FinishDlpJob": {
508
+ "methods": [
509
+ "finishDlpJob"
510
+ ]
511
+ },
512
+ "CreateConnection": {
513
+ "methods": [
514
+ "createConnection"
515
+ ]
516
+ },
517
+ "GetConnection": {
518
+ "methods": [
519
+ "getConnection"
520
+ ]
521
+ },
522
+ "DeleteConnection": {
523
+ "methods": [
524
+ "deleteConnection"
525
+ ]
526
+ },
527
+ "UpdateConnection": {
528
+ "methods": [
529
+ "updateConnection"
530
+ ]
531
+ },
532
+ "ListInspectTemplates": {
533
+ "methods": [
534
+ "listInspectTemplates",
535
+ "listInspectTemplatesStream",
536
+ "listInspectTemplatesAsync"
537
+ ]
538
+ },
539
+ "ListDeidentifyTemplates": {
540
+ "methods": [
541
+ "listDeidentifyTemplates",
542
+ "listDeidentifyTemplatesStream",
543
+ "listDeidentifyTemplatesAsync"
544
+ ]
545
+ },
546
+ "ListJobTriggers": {
547
+ "methods": [
548
+ "listJobTriggers",
549
+ "listJobTriggersStream",
550
+ "listJobTriggersAsync"
551
+ ]
552
+ },
553
+ "ListDiscoveryConfigs": {
554
+ "methods": [
555
+ "listDiscoveryConfigs",
556
+ "listDiscoveryConfigsStream",
557
+ "listDiscoveryConfigsAsync"
558
+ ]
559
+ },
560
+ "ListDlpJobs": {
561
+ "methods": [
562
+ "listDlpJobs",
563
+ "listDlpJobsStream",
564
+ "listDlpJobsAsync"
565
+ ]
566
+ },
567
+ "ListStoredInfoTypes": {
568
+ "methods": [
569
+ "listStoredInfoTypes",
570
+ "listStoredInfoTypesStream",
571
+ "listStoredInfoTypesAsync"
572
+ ]
573
+ },
574
+ "ListProjectDataProfiles": {
575
+ "methods": [
576
+ "listProjectDataProfiles",
577
+ "listProjectDataProfilesStream",
578
+ "listProjectDataProfilesAsync"
579
+ ]
580
+ },
581
+ "ListTableDataProfiles": {
582
+ "methods": [
583
+ "listTableDataProfiles",
584
+ "listTableDataProfilesStream",
585
+ "listTableDataProfilesAsync"
586
+ ]
587
+ },
588
+ "ListColumnDataProfiles": {
589
+ "methods": [
590
+ "listColumnDataProfiles",
591
+ "listColumnDataProfilesStream",
592
+ "listColumnDataProfilesAsync"
593
+ ]
594
+ },
595
+ "ListFileStoreDataProfiles": {
596
+ "methods": [
597
+ "listFileStoreDataProfiles",
598
+ "listFileStoreDataProfilesStream",
599
+ "listFileStoreDataProfilesAsync"
600
+ ]
601
+ },
602
+ "ListConnections": {
603
+ "methods": [
604
+ "listConnections",
605
+ "listConnectionsStream",
606
+ "listConnectionsAsync"
607
+ ]
608
+ },
609
+ "SearchConnections": {
610
+ "methods": [
611
+ "searchConnections",
612
+ "searchConnectionsStream",
613
+ "searchConnectionsAsync"
614
+ ]
615
+ }
616
+ }
617
+ }
618
+ }
619
+ }
620
+ }
621
+ }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@google-cloud/dlp",
3
3
  "description": "DLP API client for Node.js",
4
- "version": "5.13.0",
4
+ "version": "6.0.1",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Google Inc",
7
7
  "engines": {
8
- "node": ">=14.0.0"
8
+ "node": ">=18"
9
9
  },
10
10
  "repository": {
11
11
  "type": "git",
@@ -48,24 +48,24 @@
48
48
  "test": "c8 mocha build/test"
49
49
  },
50
50
  "dependencies": {
51
- "google-gax": "^4.0.3"
51
+ "google-gax": "^5.0.1-rc.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@types/mocha": "^9.0.0",
55
- "@types/node": "^22.0.0",
56
- "@types/sinon": "^17.0.0",
57
- "c8": "^9.0.0",
58
- "gapic-tools": "^0.4.0",
59
- "gts": "^5.0.0",
60
- "jsdoc": "^4.0.0",
54
+ "@types/mocha": "^10.0.10",
55
+ "@types/node": "^22.13.9",
56
+ "@types/sinon": "^17.0.4",
57
+ "c8": "^10.1.3",
58
+ "gapic-tools": "^1.0.0",
59
+ "gts": "^6.0.2",
60
+ "jsdoc": "^4.0.4",
61
61
  "jsdoc-fresh": "^3.0.0",
62
62
  "jsdoc-region-tag": "^3.0.0",
63
- "linkinator": "4.1.2",
64
- "long": "^5.2.3",
65
- "mocha": "^9.2.2",
66
- "pack-n-play": "^2.0.0",
67
- "sinon": "^18.0.0",
68
- "typescript": "^5.1.6"
63
+ "linkinator": "^6.1.2",
64
+ "long": "^5.3.1",
65
+ "mocha": "^11.1.0",
66
+ "pack-n-play": "^3.0.0",
67
+ "sinon": "^19.0.2",
68
+ "typescript": "^5.8.2"
69
69
  },
70
70
  "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-privacy-dlp"
71
71
  }