@google-cloud/dlp 6.5.0 → 6.6.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.
@@ -1475,6 +1475,19 @@
1475
1475
  }
1476
1476
  }
1477
1477
  },
1478
+ "ExcludeByImageFindings": {
1479
+ "fields": {
1480
+ "infoTypes": {
1481
+ "rule": "repeated",
1482
+ "type": "InfoType",
1483
+ "id": 1
1484
+ },
1485
+ "imageContainmentType": {
1486
+ "type": "ImageContainmentType",
1487
+ "id": 2
1488
+ }
1489
+ }
1490
+ },
1478
1491
  "ExclusionRule": {
1479
1492
  "oneofs": {
1480
1493
  "type": {
@@ -1482,7 +1495,8 @@
1482
1495
  "dictionary",
1483
1496
  "regex",
1484
1497
  "excludeInfoTypes",
1485
- "excludeByHotword"
1498
+ "excludeByHotword",
1499
+ "excludeByImageFindings"
1486
1500
  ]
1487
1501
  }
1488
1502
  },
@@ -1503,18 +1517,81 @@
1503
1517
  "type": "ExcludeByHotword",
1504
1518
  "id": 5
1505
1519
  },
1520
+ "excludeByImageFindings": {
1521
+ "type": "ExcludeByImageFindings",
1522
+ "id": 6
1523
+ },
1506
1524
  "matchingType": {
1507
1525
  "type": "MatchingType",
1508
1526
  "id": 4
1509
1527
  }
1510
1528
  }
1511
1529
  },
1530
+ "AdjustByMatchingInfoTypes": {
1531
+ "fields": {
1532
+ "infoTypes": {
1533
+ "rule": "repeated",
1534
+ "type": "InfoType",
1535
+ "id": 1
1536
+ },
1537
+ "minLikelihood": {
1538
+ "type": "Likelihood",
1539
+ "id": 2
1540
+ },
1541
+ "matchingType": {
1542
+ "type": "MatchingType",
1543
+ "id": 3
1544
+ }
1545
+ }
1546
+ },
1547
+ "AdjustByImageFindings": {
1548
+ "fields": {
1549
+ "infoTypes": {
1550
+ "rule": "repeated",
1551
+ "type": "InfoType",
1552
+ "id": 1
1553
+ },
1554
+ "minLikelihood": {
1555
+ "type": "Likelihood",
1556
+ "id": 2
1557
+ },
1558
+ "imageContainmentType": {
1559
+ "type": "ImageContainmentType",
1560
+ "id": 3
1561
+ }
1562
+ }
1563
+ },
1564
+ "AdjustmentRule": {
1565
+ "oneofs": {
1566
+ "conditions": {
1567
+ "oneof": [
1568
+ "adjustByMatchingInfoTypes",
1569
+ "adjustByImageFindings"
1570
+ ]
1571
+ }
1572
+ },
1573
+ "fields": {
1574
+ "adjustByMatchingInfoTypes": {
1575
+ "type": "AdjustByMatchingInfoTypes",
1576
+ "id": 1
1577
+ },
1578
+ "adjustByImageFindings": {
1579
+ "type": "AdjustByImageFindings",
1580
+ "id": 3
1581
+ },
1582
+ "likelihoodAdjustment": {
1583
+ "type": "CustomInfoType.DetectionRule.LikelihoodAdjustment",
1584
+ "id": 2
1585
+ }
1586
+ }
1587
+ },
1512
1588
  "InspectionRule": {
1513
1589
  "oneofs": {
1514
1590
  "type": {
1515
1591
  "oneof": [
1516
1592
  "hotwordRule",
1517
- "exclusionRule"
1593
+ "exclusionRule",
1594
+ "adjustmentRule"
1518
1595
  ]
1519
1596
  }
1520
1597
  },
@@ -1526,6 +1603,10 @@
1526
1603
  "exclusionRule": {
1527
1604
  "type": "ExclusionRule",
1528
1605
  "id": 2
1606
+ },
1607
+ "adjustmentRule": {
1608
+ "type": "AdjustmentRule",
1609
+ "id": 3
1529
1610
  }
1530
1611
  }
1531
1612
  },
@@ -1869,7 +1950,8 @@
1869
1950
  "oneofs": {
1870
1951
  "label": {
1871
1952
  "oneof": [
1872
- "storageLabel"
1953
+ "storageLabel",
1954
+ "keyValueMetadataLabel"
1873
1955
  ]
1874
1956
  }
1875
1957
  },
@@ -1881,6 +1963,10 @@
1881
1963
  "storageLabel": {
1882
1964
  "type": "StorageMetadataLabel",
1883
1965
  "id": 3
1966
+ },
1967
+ "keyValueMetadataLabel": {
1968
+ "type": "KeyValueMetadataLabel",
1969
+ "id": 4
1884
1970
  }
1885
1971
  }
1886
1972
  },
@@ -1892,6 +1978,14 @@
1892
1978
  }
1893
1979
  }
1894
1980
  },
1981
+ "KeyValueMetadataLabel": {
1982
+ "fields": {
1983
+ "key": {
1984
+ "type": "string",
1985
+ "id": 1
1986
+ }
1987
+ }
1988
+ },
1895
1989
  "DocumentLocation": {
1896
1990
  "fields": {
1897
1991
  "fileOffset": {
@@ -2493,6 +2587,20 @@
2493
2587
  "rule": "repeated",
2494
2588
  "type": "string",
2495
2589
  "id": 12
2590
+ },
2591
+ "launchStatus": {
2592
+ "type": "InfoTypeLaunchStatus",
2593
+ "id": 13
2594
+ }
2595
+ },
2596
+ "nested": {
2597
+ "InfoTypeLaunchStatus": {
2598
+ "values": {
2599
+ "INFO_TYPE_LAUNCH_STATUS_UNSPECIFIED": 0,
2600
+ "GENERAL_AVAILABILITY": 1,
2601
+ "PUBLIC_PREVIEW": 2,
2602
+ "PRIVATE_PREVIEW": 3
2603
+ }
2496
2604
  }
2497
2605
  }
2498
2606
  },
@@ -4510,7 +4618,10 @@
4510
4618
  },
4511
4619
  "publishFindingsToCloudDataCatalog": {
4512
4620
  "type": "PublishFindingsToCloudDataCatalog",
4513
- "id": 5
4621
+ "id": 5,
4622
+ "options": {
4623
+ "deprecated": true
4624
+ }
4514
4625
  },
4515
4626
  "publishFindingsToDataplexCatalog": {
4516
4627
  "type": "PublishFindingsToDataplexCatalog",
@@ -7213,9 +7324,44 @@
7213
7324
  "MATCHING_TYPE_UNSPECIFIED": 0,
7214
7325
  "MATCHING_TYPE_FULL_MATCH": 1,
7215
7326
  "MATCHING_TYPE_PARTIAL_MATCH": 2,
7216
- "MATCHING_TYPE_INVERSE_MATCH": 3
7327
+ "MATCHING_TYPE_INVERSE_MATCH": 3,
7328
+ "MATCHING_TYPE_RULE_SPECIFIC": 4
7329
+ }
7330
+ },
7331
+ "ImageContainmentType": {
7332
+ "oneofs": {
7333
+ "type": {
7334
+ "oneof": [
7335
+ "encloses",
7336
+ "fullyInside",
7337
+ "overlaps"
7338
+ ]
7339
+ }
7340
+ },
7341
+ "fields": {
7342
+ "encloses": {
7343
+ "type": "Encloses",
7344
+ "id": 1
7345
+ },
7346
+ "fullyInside": {
7347
+ "type": "FullyInside",
7348
+ "id": 2
7349
+ },
7350
+ "overlaps": {
7351
+ "type": "Overlap",
7352
+ "id": 3
7353
+ }
7217
7354
  }
7218
7355
  },
7356
+ "Overlap": {
7357
+ "fields": {}
7358
+ },
7359
+ "Encloses": {
7360
+ "fields": {}
7361
+ },
7362
+ "FullyInside": {
7363
+ "fields": {}
7364
+ },
7219
7365
  "ContentOption": {
7220
7366
  "values": {
7221
7367
  "CONTENT_UNSPECIFIED": 0,
@@ -7226,7 +7372,8 @@
7226
7372
  "MetadataType": {
7227
7373
  "values": {
7228
7374
  "METADATATYPE_UNSPECIFIED": 0,
7229
- "STORAGE_METADATA": 2
7375
+ "STORAGE_METADATA": 2,
7376
+ "CONTENT_METADATA": 3
7230
7377
  }
7231
7378
  },
7232
7379
  "InfoTypeSupportedBy": {
@@ -8536,10 +8683,7 @@
8536
8683
  "fields": {
8537
8684
  "dataSource": {
8538
8685
  "type": "string",
8539
- "id": 1,
8540
- "options": {
8541
- "(google.api.field_behavior)": "OUTPUT_ONLY"
8542
- }
8686
+ "id": 1
8543
8687
  }
8544
8688
  }
8545
8689
  },
@@ -8653,6 +8797,7 @@
8653
8797
  "SIGNAL_UNSPECIFIED": 0,
8654
8798
  "MODEL": 1,
8655
8799
  "TEXT_EMBEDDING": 2,
8800
+ "EMBEDDING": 7,
8656
8801
  "VERTEX_PLUGIN": 3,
8657
8802
  "VECTOR_PLUGIN": 4,
8658
8803
  "SOURCE_CODE": 5,
@@ -8725,7 +8870,8 @@
8725
8870
  "dictionary",
8726
8871
  "regex",
8727
8872
  "surrogateType",
8728
- "storedType"
8873
+ "storedType",
8874
+ "metadataKeyValueExpression"
8729
8875
  ]
8730
8876
  }
8731
8877
  },
@@ -8754,6 +8900,10 @@
8754
8900
  "type": "StoredType",
8755
8901
  "id": 5
8756
8902
  },
8903
+ "metadataKeyValueExpression": {
8904
+ "type": "MetadataKeyValueExpression",
8905
+ "id": 10
8906
+ },
8757
8907
  "detectionRules": {
8758
8908
  "rule": "repeated",
8759
8909
  "type": "DetectionRule",
@@ -8816,6 +8966,18 @@
8816
8966
  "SurrogateType": {
8817
8967
  "fields": {}
8818
8968
  },
8969
+ "MetadataKeyValueExpression": {
8970
+ "fields": {
8971
+ "keyRegex": {
8972
+ "type": "string",
8973
+ "id": 1
8974
+ },
8975
+ "valueRegex": {
8976
+ "type": "string",
8977
+ "id": 2
8978
+ }
8979
+ }
8980
+ },
8819
8981
  "DetectionRule": {
8820
8982
  "oneofs": {
8821
8983
  "type": {
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2025 Google LLC
2
+ // Copyright 2026 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.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2025 Google LLC
2
+ // Copyright 2026 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.
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.5.0",
4
+ "version": "6.6.0",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Google Inc",
7
7
  "engines": {