@google-cloud/dlp 5.11.0 → 5.13.0
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 +14 -0
- package/build/protos/google/privacy/dlp/v2/dlp.proto +248 -48
- package/build/protos/google/privacy/dlp/v2/storage.proto +1 -1
- package/build/protos/protos.d.ts +1349 -6
- package/build/protos/protos.js +10662 -7490
- package/build/protos/protos.json +197 -5
- package/build/src/index.js +1 -1
- package/build/src/v2/dlp_service_client.d.ts +16 -20
- package/build/src/v2/dlp_service_client.js +16 -20
- package/build/src/v2/index.js +1 -1
- package/package.json +2 -2
package/build/protos/protos.json
CHANGED
|
@@ -1658,7 +1658,8 @@
|
|
|
1658
1658
|
"TSV": 13,
|
|
1659
1659
|
"AUDIO": 15,
|
|
1660
1660
|
"VIDEO": 16,
|
|
1661
|
-
"EXECUTABLE": 17
|
|
1661
|
+
"EXECUTABLE": 17,
|
|
1662
|
+
"AI_MODEL": 18
|
|
1662
1663
|
}
|
|
1663
1664
|
}
|
|
1664
1665
|
}
|
|
@@ -2426,6 +2427,10 @@
|
|
|
2426
2427
|
"type": "string",
|
|
2427
2428
|
"id": 4
|
|
2428
2429
|
},
|
|
2430
|
+
"example": {
|
|
2431
|
+
"type": "string",
|
|
2432
|
+
"id": 8
|
|
2433
|
+
},
|
|
2429
2434
|
"versions": {
|
|
2430
2435
|
"rule": "repeated",
|
|
2431
2436
|
"type": "VersionDescription",
|
|
@@ -2539,7 +2544,8 @@
|
|
|
2539
2544
|
"CREDENTIAL": 4,
|
|
2540
2545
|
"GOVERNMENT_ID": 5,
|
|
2541
2546
|
"DOCUMENT": 6,
|
|
2542
|
-
"CONTEXTUAL_INFORMATION": 7
|
|
2547
|
+
"CONTEXTUAL_INFORMATION": 7,
|
|
2548
|
+
"CUSTOM": 8
|
|
2543
2549
|
}
|
|
2544
2550
|
}
|
|
2545
2551
|
}
|
|
@@ -5175,7 +5181,8 @@
|
|
|
5175
5181
|
"values": {
|
|
5176
5182
|
"BIG_QUERY_TABLE_TYPE_UNSPECIFIED": 0,
|
|
5177
5183
|
"BIG_QUERY_TABLE_TYPE_TABLE": 1,
|
|
5178
|
-
"BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE": 2
|
|
5184
|
+
"BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE": 2,
|
|
5185
|
+
"BIG_QUERY_TABLE_TYPE_SNAPSHOT": 3
|
|
5179
5186
|
}
|
|
5180
5187
|
},
|
|
5181
5188
|
"DataProfileUpdateFrequency": {
|
|
@@ -5281,6 +5288,13 @@
|
|
|
5281
5288
|
"options": {
|
|
5282
5289
|
"(google.api.field_behavior)": "REQUIRED"
|
|
5283
5290
|
}
|
|
5291
|
+
},
|
|
5292
|
+
"processingLocation": {
|
|
5293
|
+
"type": "ProcessingLocation",
|
|
5294
|
+
"id": 13,
|
|
5295
|
+
"options": {
|
|
5296
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
5297
|
+
}
|
|
5284
5298
|
}
|
|
5285
5299
|
},
|
|
5286
5300
|
"nested": {
|
|
@@ -5313,7 +5327,8 @@
|
|
|
5313
5327
|
"cloudSqlTarget",
|
|
5314
5328
|
"secretsTarget",
|
|
5315
5329
|
"cloudStorageTarget",
|
|
5316
|
-
"otherCloudTarget"
|
|
5330
|
+
"otherCloudTarget",
|
|
5331
|
+
"vertexDatasetTarget"
|
|
5317
5332
|
]
|
|
5318
5333
|
}
|
|
5319
5334
|
},
|
|
@@ -5337,6 +5352,10 @@
|
|
|
5337
5352
|
"otherCloudTarget": {
|
|
5338
5353
|
"type": "OtherCloudDiscoveryTarget",
|
|
5339
5354
|
"id": 5
|
|
5355
|
+
},
|
|
5356
|
+
"vertexDatasetTarget": {
|
|
5357
|
+
"type": "VertexDatasetDiscoveryTarget",
|
|
5358
|
+
"id": 7
|
|
5340
5359
|
}
|
|
5341
5360
|
}
|
|
5342
5361
|
},
|
|
@@ -6299,6 +6318,132 @@
|
|
|
6299
6318
|
"AllOtherResources": {
|
|
6300
6319
|
"fields": {}
|
|
6301
6320
|
},
|
|
6321
|
+
"VertexDatasetDiscoveryTarget": {
|
|
6322
|
+
"oneofs": {
|
|
6323
|
+
"cadence": {
|
|
6324
|
+
"oneof": [
|
|
6325
|
+
"generationCadence",
|
|
6326
|
+
"disabled"
|
|
6327
|
+
]
|
|
6328
|
+
}
|
|
6329
|
+
},
|
|
6330
|
+
"fields": {
|
|
6331
|
+
"filter": {
|
|
6332
|
+
"type": "DiscoveryVertexDatasetFilter",
|
|
6333
|
+
"id": 1,
|
|
6334
|
+
"options": {
|
|
6335
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
6336
|
+
}
|
|
6337
|
+
},
|
|
6338
|
+
"conditions": {
|
|
6339
|
+
"type": "DiscoveryVertexDatasetConditions",
|
|
6340
|
+
"id": 2
|
|
6341
|
+
},
|
|
6342
|
+
"generationCadence": {
|
|
6343
|
+
"type": "DiscoveryVertexDatasetGenerationCadence",
|
|
6344
|
+
"id": 3
|
|
6345
|
+
},
|
|
6346
|
+
"disabled": {
|
|
6347
|
+
"type": "Disabled",
|
|
6348
|
+
"id": 4
|
|
6349
|
+
}
|
|
6350
|
+
}
|
|
6351
|
+
},
|
|
6352
|
+
"DiscoveryVertexDatasetFilter": {
|
|
6353
|
+
"oneofs": {
|
|
6354
|
+
"filter": {
|
|
6355
|
+
"oneof": [
|
|
6356
|
+
"collection",
|
|
6357
|
+
"vertexDatasetResourceReference",
|
|
6358
|
+
"others"
|
|
6359
|
+
]
|
|
6360
|
+
}
|
|
6361
|
+
},
|
|
6362
|
+
"fields": {
|
|
6363
|
+
"collection": {
|
|
6364
|
+
"type": "VertexDatasetCollection",
|
|
6365
|
+
"id": 1
|
|
6366
|
+
},
|
|
6367
|
+
"vertexDatasetResourceReference": {
|
|
6368
|
+
"type": "VertexDatasetResourceReference",
|
|
6369
|
+
"id": 2
|
|
6370
|
+
},
|
|
6371
|
+
"others": {
|
|
6372
|
+
"type": "AllOtherResources",
|
|
6373
|
+
"id": 100
|
|
6374
|
+
}
|
|
6375
|
+
}
|
|
6376
|
+
},
|
|
6377
|
+
"VertexDatasetCollection": {
|
|
6378
|
+
"oneofs": {
|
|
6379
|
+
"pattern": {
|
|
6380
|
+
"oneof": [
|
|
6381
|
+
"vertexDatasetRegexes"
|
|
6382
|
+
]
|
|
6383
|
+
}
|
|
6384
|
+
},
|
|
6385
|
+
"fields": {
|
|
6386
|
+
"vertexDatasetRegexes": {
|
|
6387
|
+
"type": "VertexDatasetRegexes",
|
|
6388
|
+
"id": 1
|
|
6389
|
+
}
|
|
6390
|
+
}
|
|
6391
|
+
},
|
|
6392
|
+
"VertexDatasetRegexes": {
|
|
6393
|
+
"fields": {
|
|
6394
|
+
"patterns": {
|
|
6395
|
+
"rule": "repeated",
|
|
6396
|
+
"type": "VertexDatasetRegex",
|
|
6397
|
+
"id": 1,
|
|
6398
|
+
"options": {
|
|
6399
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
6400
|
+
}
|
|
6401
|
+
}
|
|
6402
|
+
}
|
|
6403
|
+
},
|
|
6404
|
+
"VertexDatasetRegex": {
|
|
6405
|
+
"fields": {
|
|
6406
|
+
"projectIdRegex": {
|
|
6407
|
+
"type": "string",
|
|
6408
|
+
"id": 1
|
|
6409
|
+
}
|
|
6410
|
+
}
|
|
6411
|
+
},
|
|
6412
|
+
"VertexDatasetResourceReference": {
|
|
6413
|
+
"fields": {
|
|
6414
|
+
"datasetResourceName": {
|
|
6415
|
+
"type": "string",
|
|
6416
|
+
"id": 1,
|
|
6417
|
+
"options": {
|
|
6418
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
6419
|
+
}
|
|
6420
|
+
}
|
|
6421
|
+
}
|
|
6422
|
+
},
|
|
6423
|
+
"DiscoveryVertexDatasetConditions": {
|
|
6424
|
+
"fields": {
|
|
6425
|
+
"createdAfter": {
|
|
6426
|
+
"type": "google.protobuf.Timestamp",
|
|
6427
|
+
"id": 1
|
|
6428
|
+
},
|
|
6429
|
+
"minAge": {
|
|
6430
|
+
"type": "google.protobuf.Duration",
|
|
6431
|
+
"id": 2
|
|
6432
|
+
}
|
|
6433
|
+
}
|
|
6434
|
+
},
|
|
6435
|
+
"DiscoveryVertexDatasetGenerationCadence": {
|
|
6436
|
+
"fields": {
|
|
6437
|
+
"refreshFrequency": {
|
|
6438
|
+
"type": "DataProfileUpdateFrequency",
|
|
6439
|
+
"id": 1
|
|
6440
|
+
},
|
|
6441
|
+
"inspectTemplateModifiedCadence": {
|
|
6442
|
+
"type": "DiscoveryInspectTemplateModifiedCadence",
|
|
6443
|
+
"id": 2
|
|
6444
|
+
}
|
|
6445
|
+
}
|
|
6446
|
+
},
|
|
6302
6447
|
"DlpJob": {
|
|
6303
6448
|
"options": {
|
|
6304
6449
|
"(google.api.resource).type": "dlp.googleapis.com/DlpJob",
|
|
@@ -7282,6 +7427,11 @@
|
|
|
7282
7427
|
"createTime": {
|
|
7283
7428
|
"type": "google.protobuf.Timestamp",
|
|
7284
7429
|
"id": 23
|
|
7430
|
+
},
|
|
7431
|
+
"relatedResources": {
|
|
7432
|
+
"rule": "repeated",
|
|
7433
|
+
"type": "RelatedResource",
|
|
7434
|
+
"id": 41
|
|
7285
7435
|
}
|
|
7286
7436
|
},
|
|
7287
7437
|
"nested": {
|
|
@@ -7590,6 +7740,11 @@
|
|
|
7590
7740
|
"fileStoreIsEmpty": {
|
|
7591
7741
|
"type": "bool",
|
|
7592
7742
|
"id": 23
|
|
7743
|
+
},
|
|
7744
|
+
"relatedResources": {
|
|
7745
|
+
"rule": "repeated",
|
|
7746
|
+
"type": "RelatedResource",
|
|
7747
|
+
"id": 26
|
|
7593
7748
|
}
|
|
7594
7749
|
},
|
|
7595
7750
|
"nested": {
|
|
@@ -7602,6 +7757,14 @@
|
|
|
7602
7757
|
}
|
|
7603
7758
|
}
|
|
7604
7759
|
},
|
|
7760
|
+
"RelatedResource": {
|
|
7761
|
+
"fields": {
|
|
7762
|
+
"fullResource": {
|
|
7763
|
+
"type": "string",
|
|
7764
|
+
"id": 1
|
|
7765
|
+
}
|
|
7766
|
+
}
|
|
7767
|
+
},
|
|
7605
7768
|
"FileStoreInfoTypeSummary": {
|
|
7606
7769
|
"fields": {
|
|
7607
7770
|
"infoType": {
|
|
@@ -8176,7 +8339,36 @@
|
|
|
8176
8339
|
"CLUSTER_IMAGE": 6,
|
|
8177
8340
|
"CLUSTER_ARCHIVE": 7,
|
|
8178
8341
|
"CLUSTER_MULTIMEDIA": 8,
|
|
8179
|
-
"CLUSTER_EXECUTABLE": 9
|
|
8342
|
+
"CLUSTER_EXECUTABLE": 9,
|
|
8343
|
+
"CLUSTER_AI_MODEL": 10
|
|
8344
|
+
}
|
|
8345
|
+
}
|
|
8346
|
+
}
|
|
8347
|
+
},
|
|
8348
|
+
"ProcessingLocation": {
|
|
8349
|
+
"fields": {
|
|
8350
|
+
"imageFallbackLocation": {
|
|
8351
|
+
"type": "ImageFallbackLocation",
|
|
8352
|
+
"id": 1
|
|
8353
|
+
}
|
|
8354
|
+
},
|
|
8355
|
+
"nested": {
|
|
8356
|
+
"MultiRegionProcessing": {
|
|
8357
|
+
"fields": {}
|
|
8358
|
+
},
|
|
8359
|
+
"GlobalProcessing": {
|
|
8360
|
+
"fields": {}
|
|
8361
|
+
},
|
|
8362
|
+
"ImageFallbackLocation": {
|
|
8363
|
+
"fields": {
|
|
8364
|
+
"multiRegionProcessing": {
|
|
8365
|
+
"type": "MultiRegionProcessing",
|
|
8366
|
+
"id": 100
|
|
8367
|
+
},
|
|
8368
|
+
"globalProcessing": {
|
|
8369
|
+
"type": "GlobalProcessing",
|
|
8370
|
+
"id": 200
|
|
8371
|
+
}
|
|
8180
8372
|
}
|
|
8181
8373
|
}
|
|
8182
8374
|
}
|
package/build/src/index.js
CHANGED
|
@@ -3,13 +3,9 @@ import type { Callback, CallOptions, Descriptors, ClientOptions, PaginationCallb
|
|
|
3
3
|
import { Transform } from 'stream';
|
|
4
4
|
import * as protos from '../../protos/protos';
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* blocks or images.
|
|
10
|
-
* The service also includes methods for sensitive data redaction and
|
|
11
|
-
* scheduling of data scans on Google Cloud Platform based data sets.
|
|
12
|
-
*
|
|
6
|
+
* Sensitive Data Protection provides access to a powerful sensitive data
|
|
7
|
+
* inspection, classification, and de-identification platform that works
|
|
8
|
+
* on text, images, and Google Cloud storage repositories.
|
|
13
9
|
* To learn more about concepts and find how-to guides see
|
|
14
10
|
* https://cloud.google.com/sensitive-data-protection/docs/.
|
|
15
11
|
* @class
|
|
@@ -391,7 +387,7 @@ export declare class DlpServiceClient {
|
|
|
391
387
|
reidentifyContent(request: protos.google.privacy.dlp.v2.IReidentifyContentRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IReidentifyContentResponse, protos.google.privacy.dlp.v2.IReidentifyContentRequest | null | undefined, {} | null | undefined>): void;
|
|
392
388
|
reidentifyContent(request: protos.google.privacy.dlp.v2.IReidentifyContentRequest, callback: Callback<protos.google.privacy.dlp.v2.IReidentifyContentResponse, protos.google.privacy.dlp.v2.IReidentifyContentRequest | null | undefined, {} | null | undefined>): void;
|
|
393
389
|
/**
|
|
394
|
-
* Returns a list of the sensitive information types that DLP API
|
|
390
|
+
* Returns a list of the sensitive information types that the DLP API
|
|
395
391
|
* supports. See
|
|
396
392
|
* https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference
|
|
397
393
|
* to learn more.
|
|
@@ -1694,7 +1690,7 @@ export declare class DlpServiceClient {
|
|
|
1694
1690
|
listInspectTemplates(request: protos.google.privacy.dlp.v2.IListInspectTemplatesRequest, options: CallOptions, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListInspectTemplatesRequest, protos.google.privacy.dlp.v2.IListInspectTemplatesResponse | null | undefined, protos.google.privacy.dlp.v2.IInspectTemplate>): void;
|
|
1695
1691
|
listInspectTemplates(request: protos.google.privacy.dlp.v2.IListInspectTemplatesRequest, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListInspectTemplatesRequest, protos.google.privacy.dlp.v2.IListInspectTemplatesResponse | null | undefined, protos.google.privacy.dlp.v2.IInspectTemplate>): void;
|
|
1696
1692
|
/**
|
|
1697
|
-
* Equivalent to `
|
|
1693
|
+
* Equivalent to `listInspectTemplates`, but returns a NodeJS Stream object.
|
|
1698
1694
|
* @param {Object} request
|
|
1699
1695
|
* The request object that will be sent.
|
|
1700
1696
|
* @param {string} request.parent
|
|
@@ -1885,7 +1881,7 @@ export declare class DlpServiceClient {
|
|
|
1885
1881
|
listDeidentifyTemplates(request: protos.google.privacy.dlp.v2.IListDeidentifyTemplatesRequest, options: CallOptions, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListDeidentifyTemplatesRequest, protos.google.privacy.dlp.v2.IListDeidentifyTemplatesResponse | null | undefined, protos.google.privacy.dlp.v2.IDeidentifyTemplate>): void;
|
|
1886
1882
|
listDeidentifyTemplates(request: protos.google.privacy.dlp.v2.IListDeidentifyTemplatesRequest, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListDeidentifyTemplatesRequest, protos.google.privacy.dlp.v2.IListDeidentifyTemplatesResponse | null | undefined, protos.google.privacy.dlp.v2.IDeidentifyTemplate>): void;
|
|
1887
1883
|
/**
|
|
1888
|
-
* Equivalent to `
|
|
1884
|
+
* Equivalent to `listDeidentifyTemplates`, but returns a NodeJS Stream object.
|
|
1889
1885
|
* @param {Object} request
|
|
1890
1886
|
* The request object that will be sent.
|
|
1891
1887
|
* @param {string} request.parent
|
|
@@ -2101,7 +2097,7 @@ export declare class DlpServiceClient {
|
|
|
2101
2097
|
listJobTriggers(request: protos.google.privacy.dlp.v2.IListJobTriggersRequest, options: CallOptions, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListJobTriggersRequest, protos.google.privacy.dlp.v2.IListJobTriggersResponse | null | undefined, protos.google.privacy.dlp.v2.IJobTrigger>): void;
|
|
2102
2098
|
listJobTriggers(request: protos.google.privacy.dlp.v2.IListJobTriggersRequest, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListJobTriggersRequest, protos.google.privacy.dlp.v2.IListJobTriggersResponse | null | undefined, protos.google.privacy.dlp.v2.IJobTrigger>): void;
|
|
2103
2099
|
/**
|
|
2104
|
-
* Equivalent to `
|
|
2100
|
+
* Equivalent to `listJobTriggers`, but returns a NodeJS Stream object.
|
|
2105
2101
|
* @param {Object} request
|
|
2106
2102
|
* The request object that will be sent.
|
|
2107
2103
|
* @param {string} request.parent
|
|
@@ -2326,7 +2322,7 @@ export declare class DlpServiceClient {
|
|
|
2326
2322
|
listDiscoveryConfigs(request: protos.google.privacy.dlp.v2.IListDiscoveryConfigsRequest, options: CallOptions, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListDiscoveryConfigsRequest, protos.google.privacy.dlp.v2.IListDiscoveryConfigsResponse | null | undefined, protos.google.privacy.dlp.v2.IDiscoveryConfig>): void;
|
|
2327
2323
|
listDiscoveryConfigs(request: protos.google.privacy.dlp.v2.IListDiscoveryConfigsRequest, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListDiscoveryConfigsRequest, protos.google.privacy.dlp.v2.IListDiscoveryConfigsResponse | null | undefined, protos.google.privacy.dlp.v2.IDiscoveryConfig>): void;
|
|
2328
2324
|
/**
|
|
2329
|
-
* Equivalent to `
|
|
2325
|
+
* Equivalent to `listDiscoveryConfigs`, but returns a NodeJS Stream object.
|
|
2330
2326
|
* @param {Object} request
|
|
2331
2327
|
* The request object that will be sent.
|
|
2332
2328
|
* @param {string} request.parent
|
|
@@ -2518,7 +2514,7 @@ export declare class DlpServiceClient {
|
|
|
2518
2514
|
listDlpJobs(request: protos.google.privacy.dlp.v2.IListDlpJobsRequest, options: CallOptions, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListDlpJobsRequest, protos.google.privacy.dlp.v2.IListDlpJobsResponse | null | undefined, protos.google.privacy.dlp.v2.IDlpJob>): void;
|
|
2519
2515
|
listDlpJobs(request: protos.google.privacy.dlp.v2.IListDlpJobsRequest, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListDlpJobsRequest, protos.google.privacy.dlp.v2.IListDlpJobsResponse | null | undefined, protos.google.privacy.dlp.v2.IDlpJob>): void;
|
|
2520
2516
|
/**
|
|
2521
|
-
* Equivalent to `
|
|
2517
|
+
* Equivalent to `listDlpJobs`, but returns a NodeJS Stream object.
|
|
2522
2518
|
* @param {Object} request
|
|
2523
2519
|
* The request object that will be sent.
|
|
2524
2520
|
* @param {string} request.parent
|
|
@@ -2756,7 +2752,7 @@ export declare class DlpServiceClient {
|
|
|
2756
2752
|
listStoredInfoTypes(request: protos.google.privacy.dlp.v2.IListStoredInfoTypesRequest, options: CallOptions, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListStoredInfoTypesRequest, protos.google.privacy.dlp.v2.IListStoredInfoTypesResponse | null | undefined, protos.google.privacy.dlp.v2.IStoredInfoType>): void;
|
|
2757
2753
|
listStoredInfoTypes(request: protos.google.privacy.dlp.v2.IListStoredInfoTypesRequest, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListStoredInfoTypesRequest, protos.google.privacy.dlp.v2.IListStoredInfoTypesResponse | null | undefined, protos.google.privacy.dlp.v2.IStoredInfoType>): void;
|
|
2758
2754
|
/**
|
|
2759
|
-
* Equivalent to `
|
|
2755
|
+
* Equivalent to `listStoredInfoTypes`, but returns a NodeJS Stream object.
|
|
2760
2756
|
* @param {Object} request
|
|
2761
2757
|
* The request object that will be sent.
|
|
2762
2758
|
* @param {string} request.parent
|
|
@@ -2941,7 +2937,7 @@ export declare class DlpServiceClient {
|
|
|
2941
2937
|
listProjectDataProfiles(request: protos.google.privacy.dlp.v2.IListProjectDataProfilesRequest, options: CallOptions, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListProjectDataProfilesRequest, protos.google.privacy.dlp.v2.IListProjectDataProfilesResponse | null | undefined, protos.google.privacy.dlp.v2.IProjectDataProfile>): void;
|
|
2942
2938
|
listProjectDataProfiles(request: protos.google.privacy.dlp.v2.IListProjectDataProfilesRequest, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListProjectDataProfilesRequest, protos.google.privacy.dlp.v2.IListProjectDataProfilesResponse | null | undefined, protos.google.privacy.dlp.v2.IProjectDataProfile>): void;
|
|
2943
2939
|
/**
|
|
2944
|
-
* Equivalent to `
|
|
2940
|
+
* Equivalent to `listProjectDataProfiles`, but returns a NodeJS Stream object.
|
|
2945
2941
|
* @param {Object} request
|
|
2946
2942
|
* The request object that will be sent.
|
|
2947
2943
|
* @param {string} request.parent
|
|
@@ -3151,7 +3147,7 @@ export declare class DlpServiceClient {
|
|
|
3151
3147
|
listTableDataProfiles(request: protos.google.privacy.dlp.v2.IListTableDataProfilesRequest, options: CallOptions, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListTableDataProfilesRequest, protos.google.privacy.dlp.v2.IListTableDataProfilesResponse | null | undefined, protos.google.privacy.dlp.v2.ITableDataProfile>): void;
|
|
3152
3148
|
listTableDataProfiles(request: protos.google.privacy.dlp.v2.IListTableDataProfilesRequest, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListTableDataProfilesRequest, protos.google.privacy.dlp.v2.IListTableDataProfilesResponse | null | undefined, protos.google.privacy.dlp.v2.ITableDataProfile>): void;
|
|
3153
3149
|
/**
|
|
3154
|
-
* Equivalent to `
|
|
3150
|
+
* Equivalent to `listTableDataProfiles`, but returns a NodeJS Stream object.
|
|
3155
3151
|
* @param {Object} request
|
|
3156
3152
|
* The request object that will be sent.
|
|
3157
3153
|
* @param {string} request.parent
|
|
@@ -3389,7 +3385,7 @@ export declare class DlpServiceClient {
|
|
|
3389
3385
|
listColumnDataProfiles(request: protos.google.privacy.dlp.v2.IListColumnDataProfilesRequest, options: CallOptions, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListColumnDataProfilesRequest, protos.google.privacy.dlp.v2.IListColumnDataProfilesResponse | null | undefined, protos.google.privacy.dlp.v2.IColumnDataProfile>): void;
|
|
3390
3386
|
listColumnDataProfiles(request: protos.google.privacy.dlp.v2.IListColumnDataProfilesRequest, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListColumnDataProfilesRequest, protos.google.privacy.dlp.v2.IListColumnDataProfilesResponse | null | undefined, protos.google.privacy.dlp.v2.IColumnDataProfile>): void;
|
|
3391
3387
|
/**
|
|
3392
|
-
* Equivalent to `
|
|
3388
|
+
* Equivalent to `listColumnDataProfiles`, but returns a NodeJS Stream object.
|
|
3393
3389
|
* @param {Object} request
|
|
3394
3390
|
* The request object that will be sent.
|
|
3395
3391
|
* @param {string} request.parent
|
|
@@ -3634,7 +3630,7 @@ export declare class DlpServiceClient {
|
|
|
3634
3630
|
listFileStoreDataProfiles(request: protos.google.privacy.dlp.v2.IListFileStoreDataProfilesRequest, options: CallOptions, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListFileStoreDataProfilesRequest, protos.google.privacy.dlp.v2.IListFileStoreDataProfilesResponse | null | undefined, protos.google.privacy.dlp.v2.IFileStoreDataProfile>): void;
|
|
3635
3631
|
listFileStoreDataProfiles(request: protos.google.privacy.dlp.v2.IListFileStoreDataProfilesRequest, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListFileStoreDataProfilesRequest, protos.google.privacy.dlp.v2.IListFileStoreDataProfilesResponse | null | undefined, protos.google.privacy.dlp.v2.IFileStoreDataProfile>): void;
|
|
3636
3632
|
/**
|
|
3637
|
-
* Equivalent to `
|
|
3633
|
+
* Equivalent to `listFileStoreDataProfiles`, but returns a NodeJS Stream object.
|
|
3638
3634
|
* @param {Object} request
|
|
3639
3635
|
* The request object that will be sent.
|
|
3640
3636
|
* @param {string} request.parent
|
|
@@ -3833,7 +3829,7 @@ export declare class DlpServiceClient {
|
|
|
3833
3829
|
listConnections(request: protos.google.privacy.dlp.v2.IListConnectionsRequest, options: CallOptions, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListConnectionsRequest, protos.google.privacy.dlp.v2.IListConnectionsResponse | null | undefined, protos.google.privacy.dlp.v2.IConnection>): void;
|
|
3834
3830
|
listConnections(request: protos.google.privacy.dlp.v2.IListConnectionsRequest, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListConnectionsRequest, protos.google.privacy.dlp.v2.IListConnectionsResponse | null | undefined, protos.google.privacy.dlp.v2.IConnection>): void;
|
|
3835
3831
|
/**
|
|
3836
|
-
* Equivalent to `
|
|
3832
|
+
* Equivalent to `listConnections`, but returns a NodeJS Stream object.
|
|
3837
3833
|
* @param {Object} request
|
|
3838
3834
|
* The request object that will be sent.
|
|
3839
3835
|
* @param {string} request.parent
|
|
@@ -3925,7 +3921,7 @@ export declare class DlpServiceClient {
|
|
|
3925
3921
|
searchConnections(request: protos.google.privacy.dlp.v2.ISearchConnectionsRequest, options: CallOptions, callback: PaginationCallback<protos.google.privacy.dlp.v2.ISearchConnectionsRequest, protos.google.privacy.dlp.v2.ISearchConnectionsResponse | null | undefined, protos.google.privacy.dlp.v2.IConnection>): void;
|
|
3926
3922
|
searchConnections(request: protos.google.privacy.dlp.v2.ISearchConnectionsRequest, callback: PaginationCallback<protos.google.privacy.dlp.v2.ISearchConnectionsRequest, protos.google.privacy.dlp.v2.ISearchConnectionsResponse | null | undefined, protos.google.privacy.dlp.v2.IConnection>): void;
|
|
3927
3923
|
/**
|
|
3928
|
-
* Equivalent to `
|
|
3924
|
+
* Equivalent to `searchConnections`, but returns a NodeJS Stream object.
|
|
3929
3925
|
* @param {Object} request
|
|
3930
3926
|
* The request object that will be sent.
|
|
3931
3927
|
* @param {string} request.parent
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright
|
|
2
|
+
// Copyright 2025 Google LLC
|
|
3
3
|
//
|
|
4
4
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
// you may not use this file except in compliance with the License.
|
|
@@ -27,13 +27,9 @@ const jsonProtos = require("../../protos/protos.json");
|
|
|
27
27
|
const gapicConfig = require("./dlp_service_client_config.json");
|
|
28
28
|
const version = require('../../../package.json').version;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* blocks or images.
|
|
34
|
-
* The service also includes methods for sensitive data redaction and
|
|
35
|
-
* scheduling of data scans on Google Cloud Platform based data sets.
|
|
36
|
-
*
|
|
30
|
+
* Sensitive Data Protection provides access to a powerful sensitive data
|
|
31
|
+
* inspection, classification, and de-identification platform that works
|
|
32
|
+
* on text, images, and Google Cloud storage repositories.
|
|
37
33
|
* To learn more about concepts and find how-to guides see
|
|
38
34
|
* https://cloud.google.com/sensitive-data-protection/docs/.
|
|
39
35
|
* @class
|
|
@@ -1299,7 +1295,7 @@ class DlpServiceClient {
|
|
|
1299
1295
|
return this.innerApiCalls.listInspectTemplates(request, options, callback);
|
|
1300
1296
|
}
|
|
1301
1297
|
/**
|
|
1302
|
-
* Equivalent to `
|
|
1298
|
+
* Equivalent to `listInspectTemplates`, but returns a NodeJS Stream object.
|
|
1303
1299
|
* @param {Object} request
|
|
1304
1300
|
* The request object that will be sent.
|
|
1305
1301
|
* @param {string} request.parent
|
|
@@ -1469,7 +1465,7 @@ class DlpServiceClient {
|
|
|
1469
1465
|
return this.innerApiCalls.listDeidentifyTemplates(request, options, callback);
|
|
1470
1466
|
}
|
|
1471
1467
|
/**
|
|
1472
|
-
* Equivalent to `
|
|
1468
|
+
* Equivalent to `listDeidentifyTemplates`, but returns a NodeJS Stream object.
|
|
1473
1469
|
* @param {Object} request
|
|
1474
1470
|
* The request object that will be sent.
|
|
1475
1471
|
* @param {string} request.parent
|
|
@@ -1639,7 +1635,7 @@ class DlpServiceClient {
|
|
|
1639
1635
|
return this.innerApiCalls.listJobTriggers(request, options, callback);
|
|
1640
1636
|
}
|
|
1641
1637
|
/**
|
|
1642
|
-
* Equivalent to `
|
|
1638
|
+
* Equivalent to `listJobTriggers`, but returns a NodeJS Stream object.
|
|
1643
1639
|
* @param {Object} request
|
|
1644
1640
|
* The request object that will be sent.
|
|
1645
1641
|
* @param {string} request.parent
|
|
@@ -1859,7 +1855,7 @@ class DlpServiceClient {
|
|
|
1859
1855
|
return this.innerApiCalls.listDiscoveryConfigs(request, options, callback);
|
|
1860
1856
|
}
|
|
1861
1857
|
/**
|
|
1862
|
-
* Equivalent to `
|
|
1858
|
+
* Equivalent to `listDiscoveryConfigs`, but returns a NodeJS Stream object.
|
|
1863
1859
|
* @param {Object} request
|
|
1864
1860
|
* The request object that will be sent.
|
|
1865
1861
|
* @param {string} request.parent
|
|
@@ -2003,7 +1999,7 @@ class DlpServiceClient {
|
|
|
2003
1999
|
return this.innerApiCalls.listDlpJobs(request, options, callback);
|
|
2004
2000
|
}
|
|
2005
2001
|
/**
|
|
2006
|
-
* Equivalent to `
|
|
2002
|
+
* Equivalent to `listDlpJobs`, but returns a NodeJS Stream object.
|
|
2007
2003
|
* @param {Object} request
|
|
2008
2004
|
* The request object that will be sent.
|
|
2009
2005
|
* @param {string} request.parent
|
|
@@ -2223,7 +2219,7 @@ class DlpServiceClient {
|
|
|
2223
2219
|
return this.innerApiCalls.listStoredInfoTypes(request, options, callback);
|
|
2224
2220
|
}
|
|
2225
2221
|
/**
|
|
2226
|
-
* Equivalent to `
|
|
2222
|
+
* Equivalent to `listStoredInfoTypes`, but returns a NodeJS Stream object.
|
|
2227
2223
|
* @param {Object} request
|
|
2228
2224
|
* The request object that will be sent.
|
|
2229
2225
|
* @param {string} request.parent
|
|
@@ -2387,7 +2383,7 @@ class DlpServiceClient {
|
|
|
2387
2383
|
return this.innerApiCalls.listProjectDataProfiles(request, options, callback);
|
|
2388
2384
|
}
|
|
2389
2385
|
/**
|
|
2390
|
-
* Equivalent to `
|
|
2386
|
+
* Equivalent to `listProjectDataProfiles`, but returns a NodeJS Stream object.
|
|
2391
2387
|
* @param {Object} request
|
|
2392
2388
|
* The request object that will be sent.
|
|
2393
2389
|
* @param {string} request.parent
|
|
@@ -2563,7 +2559,7 @@ class DlpServiceClient {
|
|
|
2563
2559
|
return this.innerApiCalls.listTableDataProfiles(request, options, callback);
|
|
2564
2560
|
}
|
|
2565
2561
|
/**
|
|
2566
|
-
* Equivalent to `
|
|
2562
|
+
* Equivalent to `listTableDataProfiles`, but returns a NodeJS Stream object.
|
|
2567
2563
|
* @param {Object} request
|
|
2568
2564
|
* The request object that will be sent.
|
|
2569
2565
|
* @param {string} request.parent
|
|
@@ -2765,7 +2761,7 @@ class DlpServiceClient {
|
|
|
2765
2761
|
return this.innerApiCalls.listColumnDataProfiles(request, options, callback);
|
|
2766
2762
|
}
|
|
2767
2763
|
/**
|
|
2768
|
-
* Equivalent to `
|
|
2764
|
+
* Equivalent to `listColumnDataProfiles`, but returns a NodeJS Stream object.
|
|
2769
2765
|
* @param {Object} request
|
|
2770
2766
|
* The request object that will be sent.
|
|
2771
2767
|
* @param {string} request.parent
|
|
@@ -2971,7 +2967,7 @@ class DlpServiceClient {
|
|
|
2971
2967
|
return this.innerApiCalls.listFileStoreDataProfiles(request, options, callback);
|
|
2972
2968
|
}
|
|
2973
2969
|
/**
|
|
2974
|
-
* Equivalent to `
|
|
2970
|
+
* Equivalent to `listFileStoreDataProfiles`, but returns a NodeJS Stream object.
|
|
2975
2971
|
* @param {Object} request
|
|
2976
2972
|
* The request object that will be sent.
|
|
2977
2973
|
* @param {string} request.parent
|
|
@@ -3183,7 +3179,7 @@ class DlpServiceClient {
|
|
|
3183
3179
|
return this.innerApiCalls.listConnections(request, options, callback);
|
|
3184
3180
|
}
|
|
3185
3181
|
/**
|
|
3186
|
-
* Equivalent to `
|
|
3182
|
+
* Equivalent to `listConnections`, but returns a NodeJS Stream object.
|
|
3187
3183
|
* @param {Object} request
|
|
3188
3184
|
* The request object that will be sent.
|
|
3189
3185
|
* @param {string} request.parent
|
|
@@ -3289,7 +3285,7 @@ class DlpServiceClient {
|
|
|
3289
3285
|
return this.innerApiCalls.searchConnections(request, options, callback);
|
|
3290
3286
|
}
|
|
3291
3287
|
/**
|
|
3292
|
-
* Equivalent to `
|
|
3288
|
+
* Equivalent to `searchConnections`, but returns a NodeJS Stream object.
|
|
3293
3289
|
* @param {Object} request
|
|
3294
3290
|
* The request object that will be sent.
|
|
3295
3291
|
* @param {string} request.parent
|
package/build/src/v2/index.js
CHANGED
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": "5.
|
|
4
|
+
"version": "5.13.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Google Inc",
|
|
7
7
|
"engines": {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/mocha": "^9.0.0",
|
|
55
|
-
"@types/node": "^
|
|
55
|
+
"@types/node": "^22.0.0",
|
|
56
56
|
"@types/sinon": "^17.0.0",
|
|
57
57
|
"c8": "^9.0.0",
|
|
58
58
|
"gapic-tools": "^0.4.0",
|