@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.
@@ -1,4 +1,4 @@
1
- // Copyright 2025 Google LLC
1
+ // Copyright 2026 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -1405,6 +1405,109 @@ export namespace google {
1405
1405
  public static getTypeUrl(typeUrlPrefix?: string): string;
1406
1406
  }
1407
1407
 
1408
+ /** Properties of an ExcludeByImageFindings. */
1409
+ interface IExcludeByImageFindings {
1410
+
1411
+ /** ExcludeByImageFindings infoTypes */
1412
+ infoTypes?: (google.privacy.dlp.v2.IInfoType[]|null);
1413
+
1414
+ /** ExcludeByImageFindings imageContainmentType */
1415
+ imageContainmentType?: (google.privacy.dlp.v2.IImageContainmentType|null);
1416
+ }
1417
+
1418
+ /** Represents an ExcludeByImageFindings. */
1419
+ class ExcludeByImageFindings implements IExcludeByImageFindings {
1420
+
1421
+ /**
1422
+ * Constructs a new ExcludeByImageFindings.
1423
+ * @param [properties] Properties to set
1424
+ */
1425
+ constructor(properties?: google.privacy.dlp.v2.IExcludeByImageFindings);
1426
+
1427
+ /** ExcludeByImageFindings infoTypes. */
1428
+ public infoTypes: google.privacy.dlp.v2.IInfoType[];
1429
+
1430
+ /** ExcludeByImageFindings imageContainmentType. */
1431
+ public imageContainmentType?: (google.privacy.dlp.v2.IImageContainmentType|null);
1432
+
1433
+ /**
1434
+ * Creates a new ExcludeByImageFindings instance using the specified properties.
1435
+ * @param [properties] Properties to set
1436
+ * @returns ExcludeByImageFindings instance
1437
+ */
1438
+ public static create(properties?: google.privacy.dlp.v2.IExcludeByImageFindings): google.privacy.dlp.v2.ExcludeByImageFindings;
1439
+
1440
+ /**
1441
+ * Encodes the specified ExcludeByImageFindings message. Does not implicitly {@link google.privacy.dlp.v2.ExcludeByImageFindings.verify|verify} messages.
1442
+ * @param message ExcludeByImageFindings message or plain object to encode
1443
+ * @param [writer] Writer to encode to
1444
+ * @returns Writer
1445
+ */
1446
+ public static encode(message: google.privacy.dlp.v2.IExcludeByImageFindings, writer?: $protobuf.Writer): $protobuf.Writer;
1447
+
1448
+ /**
1449
+ * Encodes the specified ExcludeByImageFindings message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ExcludeByImageFindings.verify|verify} messages.
1450
+ * @param message ExcludeByImageFindings message or plain object to encode
1451
+ * @param [writer] Writer to encode to
1452
+ * @returns Writer
1453
+ */
1454
+ public static encodeDelimited(message: google.privacy.dlp.v2.IExcludeByImageFindings, writer?: $protobuf.Writer): $protobuf.Writer;
1455
+
1456
+ /**
1457
+ * Decodes an ExcludeByImageFindings message from the specified reader or buffer.
1458
+ * @param reader Reader or buffer to decode from
1459
+ * @param [length] Message length if known beforehand
1460
+ * @returns ExcludeByImageFindings
1461
+ * @throws {Error} If the payload is not a reader or valid buffer
1462
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1463
+ */
1464
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ExcludeByImageFindings;
1465
+
1466
+ /**
1467
+ * Decodes an ExcludeByImageFindings message from the specified reader or buffer, length delimited.
1468
+ * @param reader Reader or buffer to decode from
1469
+ * @returns ExcludeByImageFindings
1470
+ * @throws {Error} If the payload is not a reader or valid buffer
1471
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1472
+ */
1473
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ExcludeByImageFindings;
1474
+
1475
+ /**
1476
+ * Verifies an ExcludeByImageFindings message.
1477
+ * @param message Plain object to verify
1478
+ * @returns `null` if valid, otherwise the reason why it is not
1479
+ */
1480
+ public static verify(message: { [k: string]: any }): (string|null);
1481
+
1482
+ /**
1483
+ * Creates an ExcludeByImageFindings message from a plain object. Also converts values to their respective internal types.
1484
+ * @param object Plain object
1485
+ * @returns ExcludeByImageFindings
1486
+ */
1487
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ExcludeByImageFindings;
1488
+
1489
+ /**
1490
+ * Creates a plain object from an ExcludeByImageFindings message. Also converts values to other types if specified.
1491
+ * @param message ExcludeByImageFindings
1492
+ * @param [options] Conversion options
1493
+ * @returns Plain object
1494
+ */
1495
+ public static toObject(message: google.privacy.dlp.v2.ExcludeByImageFindings, options?: $protobuf.IConversionOptions): { [k: string]: any };
1496
+
1497
+ /**
1498
+ * Converts this ExcludeByImageFindings to JSON.
1499
+ * @returns JSON object
1500
+ */
1501
+ public toJSON(): { [k: string]: any };
1502
+
1503
+ /**
1504
+ * Gets the default type url for ExcludeByImageFindings
1505
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1506
+ * @returns The default type url
1507
+ */
1508
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1509
+ }
1510
+
1408
1511
  /** Properties of an ExclusionRule. */
1409
1512
  interface IExclusionRule {
1410
1513
 
@@ -1420,6 +1523,9 @@ export namespace google {
1420
1523
  /** ExclusionRule excludeByHotword */
1421
1524
  excludeByHotword?: (google.privacy.dlp.v2.IExcludeByHotword|null);
1422
1525
 
1526
+ /** ExclusionRule excludeByImageFindings */
1527
+ excludeByImageFindings?: (google.privacy.dlp.v2.IExcludeByImageFindings|null);
1528
+
1423
1529
  /** ExclusionRule matchingType */
1424
1530
  matchingType?: (google.privacy.dlp.v2.MatchingType|keyof typeof google.privacy.dlp.v2.MatchingType|null);
1425
1531
  }
@@ -1445,11 +1551,14 @@ export namespace google {
1445
1551
  /** ExclusionRule excludeByHotword. */
1446
1552
  public excludeByHotword?: (google.privacy.dlp.v2.IExcludeByHotword|null);
1447
1553
 
1554
+ /** ExclusionRule excludeByImageFindings. */
1555
+ public excludeByImageFindings?: (google.privacy.dlp.v2.IExcludeByImageFindings|null);
1556
+
1448
1557
  /** ExclusionRule matchingType. */
1449
1558
  public matchingType: (google.privacy.dlp.v2.MatchingType|keyof typeof google.privacy.dlp.v2.MatchingType);
1450
1559
 
1451
1560
  /** ExclusionRule type. */
1452
- public type?: ("dictionary"|"regex"|"excludeInfoTypes"|"excludeByHotword");
1561
+ public type?: ("dictionary"|"regex"|"excludeInfoTypes"|"excludeByHotword"|"excludeByImageFindings");
1453
1562
 
1454
1563
  /**
1455
1564
  * Creates a new ExclusionRule instance using the specified properties.
@@ -1529,6 +1638,336 @@ export namespace google {
1529
1638
  public static getTypeUrl(typeUrlPrefix?: string): string;
1530
1639
  }
1531
1640
 
1641
+ /** Properties of an AdjustByMatchingInfoTypes. */
1642
+ interface IAdjustByMatchingInfoTypes {
1643
+
1644
+ /** AdjustByMatchingInfoTypes infoTypes */
1645
+ infoTypes?: (google.privacy.dlp.v2.IInfoType[]|null);
1646
+
1647
+ /** AdjustByMatchingInfoTypes minLikelihood */
1648
+ minLikelihood?: (google.privacy.dlp.v2.Likelihood|keyof typeof google.privacy.dlp.v2.Likelihood|null);
1649
+
1650
+ /** AdjustByMatchingInfoTypes matchingType */
1651
+ matchingType?: (google.privacy.dlp.v2.MatchingType|keyof typeof google.privacy.dlp.v2.MatchingType|null);
1652
+ }
1653
+
1654
+ /** Represents an AdjustByMatchingInfoTypes. */
1655
+ class AdjustByMatchingInfoTypes implements IAdjustByMatchingInfoTypes {
1656
+
1657
+ /**
1658
+ * Constructs a new AdjustByMatchingInfoTypes.
1659
+ * @param [properties] Properties to set
1660
+ */
1661
+ constructor(properties?: google.privacy.dlp.v2.IAdjustByMatchingInfoTypes);
1662
+
1663
+ /** AdjustByMatchingInfoTypes infoTypes. */
1664
+ public infoTypes: google.privacy.dlp.v2.IInfoType[];
1665
+
1666
+ /** AdjustByMatchingInfoTypes minLikelihood. */
1667
+ public minLikelihood: (google.privacy.dlp.v2.Likelihood|keyof typeof google.privacy.dlp.v2.Likelihood);
1668
+
1669
+ /** AdjustByMatchingInfoTypes matchingType. */
1670
+ public matchingType: (google.privacy.dlp.v2.MatchingType|keyof typeof google.privacy.dlp.v2.MatchingType);
1671
+
1672
+ /**
1673
+ * Creates a new AdjustByMatchingInfoTypes instance using the specified properties.
1674
+ * @param [properties] Properties to set
1675
+ * @returns AdjustByMatchingInfoTypes instance
1676
+ */
1677
+ public static create(properties?: google.privacy.dlp.v2.IAdjustByMatchingInfoTypes): google.privacy.dlp.v2.AdjustByMatchingInfoTypes;
1678
+
1679
+ /**
1680
+ * Encodes the specified AdjustByMatchingInfoTypes message. Does not implicitly {@link google.privacy.dlp.v2.AdjustByMatchingInfoTypes.verify|verify} messages.
1681
+ * @param message AdjustByMatchingInfoTypes message or plain object to encode
1682
+ * @param [writer] Writer to encode to
1683
+ * @returns Writer
1684
+ */
1685
+ public static encode(message: google.privacy.dlp.v2.IAdjustByMatchingInfoTypes, writer?: $protobuf.Writer): $protobuf.Writer;
1686
+
1687
+ /**
1688
+ * Encodes the specified AdjustByMatchingInfoTypes message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AdjustByMatchingInfoTypes.verify|verify} messages.
1689
+ * @param message AdjustByMatchingInfoTypes message or plain object to encode
1690
+ * @param [writer] Writer to encode to
1691
+ * @returns Writer
1692
+ */
1693
+ public static encodeDelimited(message: google.privacy.dlp.v2.IAdjustByMatchingInfoTypes, writer?: $protobuf.Writer): $protobuf.Writer;
1694
+
1695
+ /**
1696
+ * Decodes an AdjustByMatchingInfoTypes message from the specified reader or buffer.
1697
+ * @param reader Reader or buffer to decode from
1698
+ * @param [length] Message length if known beforehand
1699
+ * @returns AdjustByMatchingInfoTypes
1700
+ * @throws {Error} If the payload is not a reader or valid buffer
1701
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1702
+ */
1703
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AdjustByMatchingInfoTypes;
1704
+
1705
+ /**
1706
+ * Decodes an AdjustByMatchingInfoTypes message from the specified reader or buffer, length delimited.
1707
+ * @param reader Reader or buffer to decode from
1708
+ * @returns AdjustByMatchingInfoTypes
1709
+ * @throws {Error} If the payload is not a reader or valid buffer
1710
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1711
+ */
1712
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AdjustByMatchingInfoTypes;
1713
+
1714
+ /**
1715
+ * Verifies an AdjustByMatchingInfoTypes message.
1716
+ * @param message Plain object to verify
1717
+ * @returns `null` if valid, otherwise the reason why it is not
1718
+ */
1719
+ public static verify(message: { [k: string]: any }): (string|null);
1720
+
1721
+ /**
1722
+ * Creates an AdjustByMatchingInfoTypes message from a plain object. Also converts values to their respective internal types.
1723
+ * @param object Plain object
1724
+ * @returns AdjustByMatchingInfoTypes
1725
+ */
1726
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AdjustByMatchingInfoTypes;
1727
+
1728
+ /**
1729
+ * Creates a plain object from an AdjustByMatchingInfoTypes message. Also converts values to other types if specified.
1730
+ * @param message AdjustByMatchingInfoTypes
1731
+ * @param [options] Conversion options
1732
+ * @returns Plain object
1733
+ */
1734
+ public static toObject(message: google.privacy.dlp.v2.AdjustByMatchingInfoTypes, options?: $protobuf.IConversionOptions): { [k: string]: any };
1735
+
1736
+ /**
1737
+ * Converts this AdjustByMatchingInfoTypes to JSON.
1738
+ * @returns JSON object
1739
+ */
1740
+ public toJSON(): { [k: string]: any };
1741
+
1742
+ /**
1743
+ * Gets the default type url for AdjustByMatchingInfoTypes
1744
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1745
+ * @returns The default type url
1746
+ */
1747
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1748
+ }
1749
+
1750
+ /** Properties of an AdjustByImageFindings. */
1751
+ interface IAdjustByImageFindings {
1752
+
1753
+ /** AdjustByImageFindings infoTypes */
1754
+ infoTypes?: (google.privacy.dlp.v2.IInfoType[]|null);
1755
+
1756
+ /** AdjustByImageFindings minLikelihood */
1757
+ minLikelihood?: (google.privacy.dlp.v2.Likelihood|keyof typeof google.privacy.dlp.v2.Likelihood|null);
1758
+
1759
+ /** AdjustByImageFindings imageContainmentType */
1760
+ imageContainmentType?: (google.privacy.dlp.v2.IImageContainmentType|null);
1761
+ }
1762
+
1763
+ /** Represents an AdjustByImageFindings. */
1764
+ class AdjustByImageFindings implements IAdjustByImageFindings {
1765
+
1766
+ /**
1767
+ * Constructs a new AdjustByImageFindings.
1768
+ * @param [properties] Properties to set
1769
+ */
1770
+ constructor(properties?: google.privacy.dlp.v2.IAdjustByImageFindings);
1771
+
1772
+ /** AdjustByImageFindings infoTypes. */
1773
+ public infoTypes: google.privacy.dlp.v2.IInfoType[];
1774
+
1775
+ /** AdjustByImageFindings minLikelihood. */
1776
+ public minLikelihood: (google.privacy.dlp.v2.Likelihood|keyof typeof google.privacy.dlp.v2.Likelihood);
1777
+
1778
+ /** AdjustByImageFindings imageContainmentType. */
1779
+ public imageContainmentType?: (google.privacy.dlp.v2.IImageContainmentType|null);
1780
+
1781
+ /**
1782
+ * Creates a new AdjustByImageFindings instance using the specified properties.
1783
+ * @param [properties] Properties to set
1784
+ * @returns AdjustByImageFindings instance
1785
+ */
1786
+ public static create(properties?: google.privacy.dlp.v2.IAdjustByImageFindings): google.privacy.dlp.v2.AdjustByImageFindings;
1787
+
1788
+ /**
1789
+ * Encodes the specified AdjustByImageFindings message. Does not implicitly {@link google.privacy.dlp.v2.AdjustByImageFindings.verify|verify} messages.
1790
+ * @param message AdjustByImageFindings message or plain object to encode
1791
+ * @param [writer] Writer to encode to
1792
+ * @returns Writer
1793
+ */
1794
+ public static encode(message: google.privacy.dlp.v2.IAdjustByImageFindings, writer?: $protobuf.Writer): $protobuf.Writer;
1795
+
1796
+ /**
1797
+ * Encodes the specified AdjustByImageFindings message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AdjustByImageFindings.verify|verify} messages.
1798
+ * @param message AdjustByImageFindings message or plain object to encode
1799
+ * @param [writer] Writer to encode to
1800
+ * @returns Writer
1801
+ */
1802
+ public static encodeDelimited(message: google.privacy.dlp.v2.IAdjustByImageFindings, writer?: $protobuf.Writer): $protobuf.Writer;
1803
+
1804
+ /**
1805
+ * Decodes an AdjustByImageFindings message from the specified reader or buffer.
1806
+ * @param reader Reader or buffer to decode from
1807
+ * @param [length] Message length if known beforehand
1808
+ * @returns AdjustByImageFindings
1809
+ * @throws {Error} If the payload is not a reader or valid buffer
1810
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1811
+ */
1812
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AdjustByImageFindings;
1813
+
1814
+ /**
1815
+ * Decodes an AdjustByImageFindings message from the specified reader or buffer, length delimited.
1816
+ * @param reader Reader or buffer to decode from
1817
+ * @returns AdjustByImageFindings
1818
+ * @throws {Error} If the payload is not a reader or valid buffer
1819
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1820
+ */
1821
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AdjustByImageFindings;
1822
+
1823
+ /**
1824
+ * Verifies an AdjustByImageFindings message.
1825
+ * @param message Plain object to verify
1826
+ * @returns `null` if valid, otherwise the reason why it is not
1827
+ */
1828
+ public static verify(message: { [k: string]: any }): (string|null);
1829
+
1830
+ /**
1831
+ * Creates an AdjustByImageFindings message from a plain object. Also converts values to their respective internal types.
1832
+ * @param object Plain object
1833
+ * @returns AdjustByImageFindings
1834
+ */
1835
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AdjustByImageFindings;
1836
+
1837
+ /**
1838
+ * Creates a plain object from an AdjustByImageFindings message. Also converts values to other types if specified.
1839
+ * @param message AdjustByImageFindings
1840
+ * @param [options] Conversion options
1841
+ * @returns Plain object
1842
+ */
1843
+ public static toObject(message: google.privacy.dlp.v2.AdjustByImageFindings, options?: $protobuf.IConversionOptions): { [k: string]: any };
1844
+
1845
+ /**
1846
+ * Converts this AdjustByImageFindings to JSON.
1847
+ * @returns JSON object
1848
+ */
1849
+ public toJSON(): { [k: string]: any };
1850
+
1851
+ /**
1852
+ * Gets the default type url for AdjustByImageFindings
1853
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1854
+ * @returns The default type url
1855
+ */
1856
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1857
+ }
1858
+
1859
+ /** Properties of an AdjustmentRule. */
1860
+ interface IAdjustmentRule {
1861
+
1862
+ /** AdjustmentRule adjustByMatchingInfoTypes */
1863
+ adjustByMatchingInfoTypes?: (google.privacy.dlp.v2.IAdjustByMatchingInfoTypes|null);
1864
+
1865
+ /** AdjustmentRule adjustByImageFindings */
1866
+ adjustByImageFindings?: (google.privacy.dlp.v2.IAdjustByImageFindings|null);
1867
+
1868
+ /** AdjustmentRule likelihoodAdjustment */
1869
+ likelihoodAdjustment?: (google.privacy.dlp.v2.CustomInfoType.DetectionRule.ILikelihoodAdjustment|null);
1870
+ }
1871
+
1872
+ /** Represents an AdjustmentRule. */
1873
+ class AdjustmentRule implements IAdjustmentRule {
1874
+
1875
+ /**
1876
+ * Constructs a new AdjustmentRule.
1877
+ * @param [properties] Properties to set
1878
+ */
1879
+ constructor(properties?: google.privacy.dlp.v2.IAdjustmentRule);
1880
+
1881
+ /** AdjustmentRule adjustByMatchingInfoTypes. */
1882
+ public adjustByMatchingInfoTypes?: (google.privacy.dlp.v2.IAdjustByMatchingInfoTypes|null);
1883
+
1884
+ /** AdjustmentRule adjustByImageFindings. */
1885
+ public adjustByImageFindings?: (google.privacy.dlp.v2.IAdjustByImageFindings|null);
1886
+
1887
+ /** AdjustmentRule likelihoodAdjustment. */
1888
+ public likelihoodAdjustment?: (google.privacy.dlp.v2.CustomInfoType.DetectionRule.ILikelihoodAdjustment|null);
1889
+
1890
+ /** AdjustmentRule conditions. */
1891
+ public conditions?: ("adjustByMatchingInfoTypes"|"adjustByImageFindings");
1892
+
1893
+ /**
1894
+ * Creates a new AdjustmentRule instance using the specified properties.
1895
+ * @param [properties] Properties to set
1896
+ * @returns AdjustmentRule instance
1897
+ */
1898
+ public static create(properties?: google.privacy.dlp.v2.IAdjustmentRule): google.privacy.dlp.v2.AdjustmentRule;
1899
+
1900
+ /**
1901
+ * Encodes the specified AdjustmentRule message. Does not implicitly {@link google.privacy.dlp.v2.AdjustmentRule.verify|verify} messages.
1902
+ * @param message AdjustmentRule message or plain object to encode
1903
+ * @param [writer] Writer to encode to
1904
+ * @returns Writer
1905
+ */
1906
+ public static encode(message: google.privacy.dlp.v2.IAdjustmentRule, writer?: $protobuf.Writer): $protobuf.Writer;
1907
+
1908
+ /**
1909
+ * Encodes the specified AdjustmentRule message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AdjustmentRule.verify|verify} messages.
1910
+ * @param message AdjustmentRule message or plain object to encode
1911
+ * @param [writer] Writer to encode to
1912
+ * @returns Writer
1913
+ */
1914
+ public static encodeDelimited(message: google.privacy.dlp.v2.IAdjustmentRule, writer?: $protobuf.Writer): $protobuf.Writer;
1915
+
1916
+ /**
1917
+ * Decodes an AdjustmentRule message from the specified reader or buffer.
1918
+ * @param reader Reader or buffer to decode from
1919
+ * @param [length] Message length if known beforehand
1920
+ * @returns AdjustmentRule
1921
+ * @throws {Error} If the payload is not a reader or valid buffer
1922
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1923
+ */
1924
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AdjustmentRule;
1925
+
1926
+ /**
1927
+ * Decodes an AdjustmentRule message from the specified reader or buffer, length delimited.
1928
+ * @param reader Reader or buffer to decode from
1929
+ * @returns AdjustmentRule
1930
+ * @throws {Error} If the payload is not a reader or valid buffer
1931
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1932
+ */
1933
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AdjustmentRule;
1934
+
1935
+ /**
1936
+ * Verifies an AdjustmentRule message.
1937
+ * @param message Plain object to verify
1938
+ * @returns `null` if valid, otherwise the reason why it is not
1939
+ */
1940
+ public static verify(message: { [k: string]: any }): (string|null);
1941
+
1942
+ /**
1943
+ * Creates an AdjustmentRule message from a plain object. Also converts values to their respective internal types.
1944
+ * @param object Plain object
1945
+ * @returns AdjustmentRule
1946
+ */
1947
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AdjustmentRule;
1948
+
1949
+ /**
1950
+ * Creates a plain object from an AdjustmentRule message. Also converts values to other types if specified.
1951
+ * @param message AdjustmentRule
1952
+ * @param [options] Conversion options
1953
+ * @returns Plain object
1954
+ */
1955
+ public static toObject(message: google.privacy.dlp.v2.AdjustmentRule, options?: $protobuf.IConversionOptions): { [k: string]: any };
1956
+
1957
+ /**
1958
+ * Converts this AdjustmentRule to JSON.
1959
+ * @returns JSON object
1960
+ */
1961
+ public toJSON(): { [k: string]: any };
1962
+
1963
+ /**
1964
+ * Gets the default type url for AdjustmentRule
1965
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1966
+ * @returns The default type url
1967
+ */
1968
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1969
+ }
1970
+
1532
1971
  /** Properties of an InspectionRule. */
1533
1972
  interface IInspectionRule {
1534
1973
 
@@ -1537,6 +1976,9 @@ export namespace google {
1537
1976
 
1538
1977
  /** InspectionRule exclusionRule */
1539
1978
  exclusionRule?: (google.privacy.dlp.v2.IExclusionRule|null);
1979
+
1980
+ /** InspectionRule adjustmentRule */
1981
+ adjustmentRule?: (google.privacy.dlp.v2.IAdjustmentRule|null);
1540
1982
  }
1541
1983
 
1542
1984
  /** Represents an InspectionRule. */
@@ -1554,8 +1996,11 @@ export namespace google {
1554
1996
  /** InspectionRule exclusionRule. */
1555
1997
  public exclusionRule?: (google.privacy.dlp.v2.IExclusionRule|null);
1556
1998
 
1999
+ /** InspectionRule adjustmentRule. */
2000
+ public adjustmentRule?: (google.privacy.dlp.v2.IAdjustmentRule|null);
2001
+
1557
2002
  /** InspectionRule type. */
1558
- public type?: ("hotwordRule"|"exclusionRule");
2003
+ public type?: ("hotwordRule"|"exclusionRule"|"adjustmentRule");
1559
2004
 
1560
2005
  /**
1561
2006
  * Creates a new InspectionRule instance using the specified properties.
@@ -3178,6 +3623,9 @@ export namespace google {
3178
3623
 
3179
3624
  /** MetadataLocation storageLabel */
3180
3625
  storageLabel?: (google.privacy.dlp.v2.IStorageMetadataLabel|null);
3626
+
3627
+ /** MetadataLocation keyValueMetadataLabel */
3628
+ keyValueMetadataLabel?: (google.privacy.dlp.v2.IKeyValueMetadataLabel|null);
3181
3629
  }
3182
3630
 
3183
3631
  /** Represents a MetadataLocation. */
@@ -3195,8 +3643,11 @@ export namespace google {
3195
3643
  /** MetadataLocation storageLabel. */
3196
3644
  public storageLabel?: (google.privacy.dlp.v2.IStorageMetadataLabel|null);
3197
3645
 
3646
+ /** MetadataLocation keyValueMetadataLabel. */
3647
+ public keyValueMetadataLabel?: (google.privacy.dlp.v2.IKeyValueMetadataLabel|null);
3648
+
3198
3649
  /** MetadataLocation label. */
3199
- public label?: "storageLabel";
3650
+ public label?: ("storageLabel"|"keyValueMetadataLabel");
3200
3651
 
3201
3652
  /**
3202
3653
  * Creates a new MetadataLocation instance using the specified properties.
@@ -3373,6 +3824,103 @@ export namespace google {
3373
3824
  public static getTypeUrl(typeUrlPrefix?: string): string;
3374
3825
  }
3375
3826
 
3827
+ /** Properties of a KeyValueMetadataLabel. */
3828
+ interface IKeyValueMetadataLabel {
3829
+
3830
+ /** KeyValueMetadataLabel key */
3831
+ key?: (string|null);
3832
+ }
3833
+
3834
+ /** Represents a KeyValueMetadataLabel. */
3835
+ class KeyValueMetadataLabel implements IKeyValueMetadataLabel {
3836
+
3837
+ /**
3838
+ * Constructs a new KeyValueMetadataLabel.
3839
+ * @param [properties] Properties to set
3840
+ */
3841
+ constructor(properties?: google.privacy.dlp.v2.IKeyValueMetadataLabel);
3842
+
3843
+ /** KeyValueMetadataLabel key. */
3844
+ public key: string;
3845
+
3846
+ /**
3847
+ * Creates a new KeyValueMetadataLabel instance using the specified properties.
3848
+ * @param [properties] Properties to set
3849
+ * @returns KeyValueMetadataLabel instance
3850
+ */
3851
+ public static create(properties?: google.privacy.dlp.v2.IKeyValueMetadataLabel): google.privacy.dlp.v2.KeyValueMetadataLabel;
3852
+
3853
+ /**
3854
+ * Encodes the specified KeyValueMetadataLabel message. Does not implicitly {@link google.privacy.dlp.v2.KeyValueMetadataLabel.verify|verify} messages.
3855
+ * @param message KeyValueMetadataLabel message or plain object to encode
3856
+ * @param [writer] Writer to encode to
3857
+ * @returns Writer
3858
+ */
3859
+ public static encode(message: google.privacy.dlp.v2.IKeyValueMetadataLabel, writer?: $protobuf.Writer): $protobuf.Writer;
3860
+
3861
+ /**
3862
+ * Encodes the specified KeyValueMetadataLabel message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.KeyValueMetadataLabel.verify|verify} messages.
3863
+ * @param message KeyValueMetadataLabel message or plain object to encode
3864
+ * @param [writer] Writer to encode to
3865
+ * @returns Writer
3866
+ */
3867
+ public static encodeDelimited(message: google.privacy.dlp.v2.IKeyValueMetadataLabel, writer?: $protobuf.Writer): $protobuf.Writer;
3868
+
3869
+ /**
3870
+ * Decodes a KeyValueMetadataLabel message from the specified reader or buffer.
3871
+ * @param reader Reader or buffer to decode from
3872
+ * @param [length] Message length if known beforehand
3873
+ * @returns KeyValueMetadataLabel
3874
+ * @throws {Error} If the payload is not a reader or valid buffer
3875
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3876
+ */
3877
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.KeyValueMetadataLabel;
3878
+
3879
+ /**
3880
+ * Decodes a KeyValueMetadataLabel message from the specified reader or buffer, length delimited.
3881
+ * @param reader Reader or buffer to decode from
3882
+ * @returns KeyValueMetadataLabel
3883
+ * @throws {Error} If the payload is not a reader or valid buffer
3884
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3885
+ */
3886
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.KeyValueMetadataLabel;
3887
+
3888
+ /**
3889
+ * Verifies a KeyValueMetadataLabel message.
3890
+ * @param message Plain object to verify
3891
+ * @returns `null` if valid, otherwise the reason why it is not
3892
+ */
3893
+ public static verify(message: { [k: string]: any }): (string|null);
3894
+
3895
+ /**
3896
+ * Creates a KeyValueMetadataLabel message from a plain object. Also converts values to their respective internal types.
3897
+ * @param object Plain object
3898
+ * @returns KeyValueMetadataLabel
3899
+ */
3900
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.KeyValueMetadataLabel;
3901
+
3902
+ /**
3903
+ * Creates a plain object from a KeyValueMetadataLabel message. Also converts values to other types if specified.
3904
+ * @param message KeyValueMetadataLabel
3905
+ * @param [options] Conversion options
3906
+ * @returns Plain object
3907
+ */
3908
+ public static toObject(message: google.privacy.dlp.v2.KeyValueMetadataLabel, options?: $protobuf.IConversionOptions): { [k: string]: any };
3909
+
3910
+ /**
3911
+ * Converts this KeyValueMetadataLabel to JSON.
3912
+ * @returns JSON object
3913
+ */
3914
+ public toJSON(): { [k: string]: any };
3915
+
3916
+ /**
3917
+ * Gets the default type url for KeyValueMetadataLabel
3918
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3919
+ * @returns The default type url
3920
+ */
3921
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3922
+ }
3923
+
3376
3924
  /** Properties of a DocumentLocation. */
3377
3925
  interface IDocumentLocation {
3378
3926
 
@@ -6634,6 +7182,9 @@ export namespace google {
6634
7182
 
6635
7183
  /** InfoTypeDescription specificInfoTypes */
6636
7184
  specificInfoTypes?: (string[]|null);
7185
+
7186
+ /** InfoTypeDescription launchStatus */
7187
+ launchStatus?: (google.privacy.dlp.v2.InfoTypeDescription.InfoTypeLaunchStatus|keyof typeof google.privacy.dlp.v2.InfoTypeDescription.InfoTypeLaunchStatus|null);
6637
7188
  }
6638
7189
 
6639
7190
  /** Represents an InfoTypeDescription. */
@@ -6675,6 +7226,9 @@ export namespace google {
6675
7226
  /** InfoTypeDescription specificInfoTypes. */
6676
7227
  public specificInfoTypes: string[];
6677
7228
 
7229
+ /** InfoTypeDescription launchStatus. */
7230
+ public launchStatus: (google.privacy.dlp.v2.InfoTypeDescription.InfoTypeLaunchStatus|keyof typeof google.privacy.dlp.v2.InfoTypeDescription.InfoTypeLaunchStatus);
7231
+
6678
7232
  /**
6679
7233
  * Creates a new InfoTypeDescription instance using the specified properties.
6680
7234
  * @param [properties] Properties to set
@@ -6753,6 +7307,17 @@ export namespace google {
6753
7307
  public static getTypeUrl(typeUrlPrefix?: string): string;
6754
7308
  }
6755
7309
 
7310
+ namespace InfoTypeDescription {
7311
+
7312
+ /** InfoTypeLaunchStatus enum. */
7313
+ enum InfoTypeLaunchStatus {
7314
+ INFO_TYPE_LAUNCH_STATUS_UNSPECIFIED = 0,
7315
+ GENERAL_AVAILABILITY = 1,
7316
+ PUBLIC_PREVIEW = 2,
7317
+ PRIVATE_PREVIEW = 3
7318
+ }
7319
+ }
7320
+
6756
7321
  /** Properties of an InfoTypeCategory. */
6757
7322
  interface IInfoTypeCategory {
6758
7323
 
@@ -31962,7 +32527,393 @@ export namespace google {
31962
32527
  MATCHING_TYPE_UNSPECIFIED = 0,
31963
32528
  MATCHING_TYPE_FULL_MATCH = 1,
31964
32529
  MATCHING_TYPE_PARTIAL_MATCH = 2,
31965
- MATCHING_TYPE_INVERSE_MATCH = 3
32530
+ MATCHING_TYPE_INVERSE_MATCH = 3,
32531
+ MATCHING_TYPE_RULE_SPECIFIC = 4
32532
+ }
32533
+
32534
+ /** Properties of an ImageContainmentType. */
32535
+ interface IImageContainmentType {
32536
+
32537
+ /** ImageContainmentType encloses */
32538
+ encloses?: (google.privacy.dlp.v2.IEncloses|null);
32539
+
32540
+ /** ImageContainmentType fullyInside */
32541
+ fullyInside?: (google.privacy.dlp.v2.IFullyInside|null);
32542
+
32543
+ /** ImageContainmentType overlaps */
32544
+ overlaps?: (google.privacy.dlp.v2.IOverlap|null);
32545
+ }
32546
+
32547
+ /** Represents an ImageContainmentType. */
32548
+ class ImageContainmentType implements IImageContainmentType {
32549
+
32550
+ /**
32551
+ * Constructs a new ImageContainmentType.
32552
+ * @param [properties] Properties to set
32553
+ */
32554
+ constructor(properties?: google.privacy.dlp.v2.IImageContainmentType);
32555
+
32556
+ /** ImageContainmentType encloses. */
32557
+ public encloses?: (google.privacy.dlp.v2.IEncloses|null);
32558
+
32559
+ /** ImageContainmentType fullyInside. */
32560
+ public fullyInside?: (google.privacy.dlp.v2.IFullyInside|null);
32561
+
32562
+ /** ImageContainmentType overlaps. */
32563
+ public overlaps?: (google.privacy.dlp.v2.IOverlap|null);
32564
+
32565
+ /** ImageContainmentType type. */
32566
+ public type?: ("encloses"|"fullyInside"|"overlaps");
32567
+
32568
+ /**
32569
+ * Creates a new ImageContainmentType instance using the specified properties.
32570
+ * @param [properties] Properties to set
32571
+ * @returns ImageContainmentType instance
32572
+ */
32573
+ public static create(properties?: google.privacy.dlp.v2.IImageContainmentType): google.privacy.dlp.v2.ImageContainmentType;
32574
+
32575
+ /**
32576
+ * Encodes the specified ImageContainmentType message. Does not implicitly {@link google.privacy.dlp.v2.ImageContainmentType.verify|verify} messages.
32577
+ * @param message ImageContainmentType message or plain object to encode
32578
+ * @param [writer] Writer to encode to
32579
+ * @returns Writer
32580
+ */
32581
+ public static encode(message: google.privacy.dlp.v2.IImageContainmentType, writer?: $protobuf.Writer): $protobuf.Writer;
32582
+
32583
+ /**
32584
+ * Encodes the specified ImageContainmentType message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ImageContainmentType.verify|verify} messages.
32585
+ * @param message ImageContainmentType message or plain object to encode
32586
+ * @param [writer] Writer to encode to
32587
+ * @returns Writer
32588
+ */
32589
+ public static encodeDelimited(message: google.privacy.dlp.v2.IImageContainmentType, writer?: $protobuf.Writer): $protobuf.Writer;
32590
+
32591
+ /**
32592
+ * Decodes an ImageContainmentType message from the specified reader or buffer.
32593
+ * @param reader Reader or buffer to decode from
32594
+ * @param [length] Message length if known beforehand
32595
+ * @returns ImageContainmentType
32596
+ * @throws {Error} If the payload is not a reader or valid buffer
32597
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32598
+ */
32599
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ImageContainmentType;
32600
+
32601
+ /**
32602
+ * Decodes an ImageContainmentType message from the specified reader or buffer, length delimited.
32603
+ * @param reader Reader or buffer to decode from
32604
+ * @returns ImageContainmentType
32605
+ * @throws {Error} If the payload is not a reader or valid buffer
32606
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32607
+ */
32608
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ImageContainmentType;
32609
+
32610
+ /**
32611
+ * Verifies an ImageContainmentType message.
32612
+ * @param message Plain object to verify
32613
+ * @returns `null` if valid, otherwise the reason why it is not
32614
+ */
32615
+ public static verify(message: { [k: string]: any }): (string|null);
32616
+
32617
+ /**
32618
+ * Creates an ImageContainmentType message from a plain object. Also converts values to their respective internal types.
32619
+ * @param object Plain object
32620
+ * @returns ImageContainmentType
32621
+ */
32622
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ImageContainmentType;
32623
+
32624
+ /**
32625
+ * Creates a plain object from an ImageContainmentType message. Also converts values to other types if specified.
32626
+ * @param message ImageContainmentType
32627
+ * @param [options] Conversion options
32628
+ * @returns Plain object
32629
+ */
32630
+ public static toObject(message: google.privacy.dlp.v2.ImageContainmentType, options?: $protobuf.IConversionOptions): { [k: string]: any };
32631
+
32632
+ /**
32633
+ * Converts this ImageContainmentType to JSON.
32634
+ * @returns JSON object
32635
+ */
32636
+ public toJSON(): { [k: string]: any };
32637
+
32638
+ /**
32639
+ * Gets the default type url for ImageContainmentType
32640
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
32641
+ * @returns The default type url
32642
+ */
32643
+ public static getTypeUrl(typeUrlPrefix?: string): string;
32644
+ }
32645
+
32646
+ /** Properties of an Overlap. */
32647
+ interface IOverlap {
32648
+ }
32649
+
32650
+ /** Represents an Overlap. */
32651
+ class Overlap implements IOverlap {
32652
+
32653
+ /**
32654
+ * Constructs a new Overlap.
32655
+ * @param [properties] Properties to set
32656
+ */
32657
+ constructor(properties?: google.privacy.dlp.v2.IOverlap);
32658
+
32659
+ /**
32660
+ * Creates a new Overlap instance using the specified properties.
32661
+ * @param [properties] Properties to set
32662
+ * @returns Overlap instance
32663
+ */
32664
+ public static create(properties?: google.privacy.dlp.v2.IOverlap): google.privacy.dlp.v2.Overlap;
32665
+
32666
+ /**
32667
+ * Encodes the specified Overlap message. Does not implicitly {@link google.privacy.dlp.v2.Overlap.verify|verify} messages.
32668
+ * @param message Overlap message or plain object to encode
32669
+ * @param [writer] Writer to encode to
32670
+ * @returns Writer
32671
+ */
32672
+ public static encode(message: google.privacy.dlp.v2.IOverlap, writer?: $protobuf.Writer): $protobuf.Writer;
32673
+
32674
+ /**
32675
+ * Encodes the specified Overlap message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Overlap.verify|verify} messages.
32676
+ * @param message Overlap message or plain object to encode
32677
+ * @param [writer] Writer to encode to
32678
+ * @returns Writer
32679
+ */
32680
+ public static encodeDelimited(message: google.privacy.dlp.v2.IOverlap, writer?: $protobuf.Writer): $protobuf.Writer;
32681
+
32682
+ /**
32683
+ * Decodes an Overlap message from the specified reader or buffer.
32684
+ * @param reader Reader or buffer to decode from
32685
+ * @param [length] Message length if known beforehand
32686
+ * @returns Overlap
32687
+ * @throws {Error} If the payload is not a reader or valid buffer
32688
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32689
+ */
32690
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.Overlap;
32691
+
32692
+ /**
32693
+ * Decodes an Overlap message from the specified reader or buffer, length delimited.
32694
+ * @param reader Reader or buffer to decode from
32695
+ * @returns Overlap
32696
+ * @throws {Error} If the payload is not a reader or valid buffer
32697
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32698
+ */
32699
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.Overlap;
32700
+
32701
+ /**
32702
+ * Verifies an Overlap message.
32703
+ * @param message Plain object to verify
32704
+ * @returns `null` if valid, otherwise the reason why it is not
32705
+ */
32706
+ public static verify(message: { [k: string]: any }): (string|null);
32707
+
32708
+ /**
32709
+ * Creates an Overlap message from a plain object. Also converts values to their respective internal types.
32710
+ * @param object Plain object
32711
+ * @returns Overlap
32712
+ */
32713
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Overlap;
32714
+
32715
+ /**
32716
+ * Creates a plain object from an Overlap message. Also converts values to other types if specified.
32717
+ * @param message Overlap
32718
+ * @param [options] Conversion options
32719
+ * @returns Plain object
32720
+ */
32721
+ public static toObject(message: google.privacy.dlp.v2.Overlap, options?: $protobuf.IConversionOptions): { [k: string]: any };
32722
+
32723
+ /**
32724
+ * Converts this Overlap to JSON.
32725
+ * @returns JSON object
32726
+ */
32727
+ public toJSON(): { [k: string]: any };
32728
+
32729
+ /**
32730
+ * Gets the default type url for Overlap
32731
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
32732
+ * @returns The default type url
32733
+ */
32734
+ public static getTypeUrl(typeUrlPrefix?: string): string;
32735
+ }
32736
+
32737
+ /** Properties of an Encloses. */
32738
+ interface IEncloses {
32739
+ }
32740
+
32741
+ /** Represents an Encloses. */
32742
+ class Encloses implements IEncloses {
32743
+
32744
+ /**
32745
+ * Constructs a new Encloses.
32746
+ * @param [properties] Properties to set
32747
+ */
32748
+ constructor(properties?: google.privacy.dlp.v2.IEncloses);
32749
+
32750
+ /**
32751
+ * Creates a new Encloses instance using the specified properties.
32752
+ * @param [properties] Properties to set
32753
+ * @returns Encloses instance
32754
+ */
32755
+ public static create(properties?: google.privacy.dlp.v2.IEncloses): google.privacy.dlp.v2.Encloses;
32756
+
32757
+ /**
32758
+ * Encodes the specified Encloses message. Does not implicitly {@link google.privacy.dlp.v2.Encloses.verify|verify} messages.
32759
+ * @param message Encloses message or plain object to encode
32760
+ * @param [writer] Writer to encode to
32761
+ * @returns Writer
32762
+ */
32763
+ public static encode(message: google.privacy.dlp.v2.IEncloses, writer?: $protobuf.Writer): $protobuf.Writer;
32764
+
32765
+ /**
32766
+ * Encodes the specified Encloses message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Encloses.verify|verify} messages.
32767
+ * @param message Encloses message or plain object to encode
32768
+ * @param [writer] Writer to encode to
32769
+ * @returns Writer
32770
+ */
32771
+ public static encodeDelimited(message: google.privacy.dlp.v2.IEncloses, writer?: $protobuf.Writer): $protobuf.Writer;
32772
+
32773
+ /**
32774
+ * Decodes an Encloses message from the specified reader or buffer.
32775
+ * @param reader Reader or buffer to decode from
32776
+ * @param [length] Message length if known beforehand
32777
+ * @returns Encloses
32778
+ * @throws {Error} If the payload is not a reader or valid buffer
32779
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32780
+ */
32781
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.Encloses;
32782
+
32783
+ /**
32784
+ * Decodes an Encloses message from the specified reader or buffer, length delimited.
32785
+ * @param reader Reader or buffer to decode from
32786
+ * @returns Encloses
32787
+ * @throws {Error} If the payload is not a reader or valid buffer
32788
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32789
+ */
32790
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.Encloses;
32791
+
32792
+ /**
32793
+ * Verifies an Encloses message.
32794
+ * @param message Plain object to verify
32795
+ * @returns `null` if valid, otherwise the reason why it is not
32796
+ */
32797
+ public static verify(message: { [k: string]: any }): (string|null);
32798
+
32799
+ /**
32800
+ * Creates an Encloses message from a plain object. Also converts values to their respective internal types.
32801
+ * @param object Plain object
32802
+ * @returns Encloses
32803
+ */
32804
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Encloses;
32805
+
32806
+ /**
32807
+ * Creates a plain object from an Encloses message. Also converts values to other types if specified.
32808
+ * @param message Encloses
32809
+ * @param [options] Conversion options
32810
+ * @returns Plain object
32811
+ */
32812
+ public static toObject(message: google.privacy.dlp.v2.Encloses, options?: $protobuf.IConversionOptions): { [k: string]: any };
32813
+
32814
+ /**
32815
+ * Converts this Encloses to JSON.
32816
+ * @returns JSON object
32817
+ */
32818
+ public toJSON(): { [k: string]: any };
32819
+
32820
+ /**
32821
+ * Gets the default type url for Encloses
32822
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
32823
+ * @returns The default type url
32824
+ */
32825
+ public static getTypeUrl(typeUrlPrefix?: string): string;
32826
+ }
32827
+
32828
+ /** Properties of a FullyInside. */
32829
+ interface IFullyInside {
32830
+ }
32831
+
32832
+ /** Represents a FullyInside. */
32833
+ class FullyInside implements IFullyInside {
32834
+
32835
+ /**
32836
+ * Constructs a new FullyInside.
32837
+ * @param [properties] Properties to set
32838
+ */
32839
+ constructor(properties?: google.privacy.dlp.v2.IFullyInside);
32840
+
32841
+ /**
32842
+ * Creates a new FullyInside instance using the specified properties.
32843
+ * @param [properties] Properties to set
32844
+ * @returns FullyInside instance
32845
+ */
32846
+ public static create(properties?: google.privacy.dlp.v2.IFullyInside): google.privacy.dlp.v2.FullyInside;
32847
+
32848
+ /**
32849
+ * Encodes the specified FullyInside message. Does not implicitly {@link google.privacy.dlp.v2.FullyInside.verify|verify} messages.
32850
+ * @param message FullyInside message or plain object to encode
32851
+ * @param [writer] Writer to encode to
32852
+ * @returns Writer
32853
+ */
32854
+ public static encode(message: google.privacy.dlp.v2.IFullyInside, writer?: $protobuf.Writer): $protobuf.Writer;
32855
+
32856
+ /**
32857
+ * Encodes the specified FullyInside message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.FullyInside.verify|verify} messages.
32858
+ * @param message FullyInside message or plain object to encode
32859
+ * @param [writer] Writer to encode to
32860
+ * @returns Writer
32861
+ */
32862
+ public static encodeDelimited(message: google.privacy.dlp.v2.IFullyInside, writer?: $protobuf.Writer): $protobuf.Writer;
32863
+
32864
+ /**
32865
+ * Decodes a FullyInside message from the specified reader or buffer.
32866
+ * @param reader Reader or buffer to decode from
32867
+ * @param [length] Message length if known beforehand
32868
+ * @returns FullyInside
32869
+ * @throws {Error} If the payload is not a reader or valid buffer
32870
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32871
+ */
32872
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.FullyInside;
32873
+
32874
+ /**
32875
+ * Decodes a FullyInside message from the specified reader or buffer, length delimited.
32876
+ * @param reader Reader or buffer to decode from
32877
+ * @returns FullyInside
32878
+ * @throws {Error} If the payload is not a reader or valid buffer
32879
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
32880
+ */
32881
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.FullyInside;
32882
+
32883
+ /**
32884
+ * Verifies a FullyInside message.
32885
+ * @param message Plain object to verify
32886
+ * @returns `null` if valid, otherwise the reason why it is not
32887
+ */
32888
+ public static verify(message: { [k: string]: any }): (string|null);
32889
+
32890
+ /**
32891
+ * Creates a FullyInside message from a plain object. Also converts values to their respective internal types.
32892
+ * @param object Plain object
32893
+ * @returns FullyInside
32894
+ */
32895
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.FullyInside;
32896
+
32897
+ /**
32898
+ * Creates a plain object from a FullyInside message. Also converts values to other types if specified.
32899
+ * @param message FullyInside
32900
+ * @param [options] Conversion options
32901
+ * @returns Plain object
32902
+ */
32903
+ public static toObject(message: google.privacy.dlp.v2.FullyInside, options?: $protobuf.IConversionOptions): { [k: string]: any };
32904
+
32905
+ /**
32906
+ * Converts this FullyInside to JSON.
32907
+ * @returns JSON object
32908
+ */
32909
+ public toJSON(): { [k: string]: any };
32910
+
32911
+ /**
32912
+ * Gets the default type url for FullyInside
32913
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
32914
+ * @returns The default type url
32915
+ */
32916
+ public static getTypeUrl(typeUrlPrefix?: string): string;
31966
32917
  }
31967
32918
 
31968
32919
  /** ContentOption enum. */
@@ -31975,7 +32926,8 @@ export namespace google {
31975
32926
  /** MetadataType enum. */
31976
32927
  enum MetadataType {
31977
32928
  METADATATYPE_UNSPECIFIED = 0,
31978
- STORAGE_METADATA = 2
32929
+ STORAGE_METADATA = 2,
32930
+ CONTENT_METADATA = 3
31979
32931
  }
31980
32932
 
31981
32933
  /** InfoTypeSupportedBy enum. */
@@ -38385,6 +39337,7 @@ export namespace google {
38385
39337
  SIGNAL_UNSPECIFIED = 0,
38386
39338
  MODEL = 1,
38387
39339
  TEXT_EMBEDDING = 2,
39340
+ EMBEDDING = 7,
38388
39341
  VERTEX_PLUGIN = 3,
38389
39342
  VECTOR_PLUGIN = 4,
38390
39343
  SOURCE_CODE = 5,
@@ -38744,6 +39697,9 @@ export namespace google {
38744
39697
  /** CustomInfoType storedType */
38745
39698
  storedType?: (google.privacy.dlp.v2.IStoredType|null);
38746
39699
 
39700
+ /** CustomInfoType metadataKeyValueExpression */
39701
+ metadataKeyValueExpression?: (google.privacy.dlp.v2.CustomInfoType.IMetadataKeyValueExpression|null);
39702
+
38747
39703
  /** CustomInfoType detectionRules */
38748
39704
  detectionRules?: (google.privacy.dlp.v2.CustomInfoType.IDetectionRule[]|null);
38749
39705
 
@@ -38781,6 +39737,9 @@ export namespace google {
38781
39737
  /** CustomInfoType storedType. */
38782
39738
  public storedType?: (google.privacy.dlp.v2.IStoredType|null);
38783
39739
 
39740
+ /** CustomInfoType metadataKeyValueExpression. */
39741
+ public metadataKeyValueExpression?: (google.privacy.dlp.v2.CustomInfoType.IMetadataKeyValueExpression|null);
39742
+
38784
39743
  /** CustomInfoType detectionRules. */
38785
39744
  public detectionRules: google.privacy.dlp.v2.CustomInfoType.IDetectionRule[];
38786
39745
 
@@ -38791,7 +39750,7 @@ export namespace google {
38791
39750
  public sensitivityScore?: (google.privacy.dlp.v2.ISensitivityScore|null);
38792
39751
 
38793
39752
  /** CustomInfoType type. */
38794
- public type?: ("dictionary"|"regex"|"surrogateType"|"storedType");
39753
+ public type?: ("dictionary"|"regex"|"surrogateType"|"storedType"|"metadataKeyValueExpression");
38795
39754
 
38796
39755
  /**
38797
39756
  * Creates a new CustomInfoType instance using the specified properties.
@@ -39273,6 +40232,109 @@ export namespace google {
39273
40232
  public static getTypeUrl(typeUrlPrefix?: string): string;
39274
40233
  }
39275
40234
 
40235
+ /** Properties of a MetadataKeyValueExpression. */
40236
+ interface IMetadataKeyValueExpression {
40237
+
40238
+ /** MetadataKeyValueExpression keyRegex */
40239
+ keyRegex?: (string|null);
40240
+
40241
+ /** MetadataKeyValueExpression valueRegex */
40242
+ valueRegex?: (string|null);
40243
+ }
40244
+
40245
+ /** Represents a MetadataKeyValueExpression. */
40246
+ class MetadataKeyValueExpression implements IMetadataKeyValueExpression {
40247
+
40248
+ /**
40249
+ * Constructs a new MetadataKeyValueExpression.
40250
+ * @param [properties] Properties to set
40251
+ */
40252
+ constructor(properties?: google.privacy.dlp.v2.CustomInfoType.IMetadataKeyValueExpression);
40253
+
40254
+ /** MetadataKeyValueExpression keyRegex. */
40255
+ public keyRegex: string;
40256
+
40257
+ /** MetadataKeyValueExpression valueRegex. */
40258
+ public valueRegex: string;
40259
+
40260
+ /**
40261
+ * Creates a new MetadataKeyValueExpression instance using the specified properties.
40262
+ * @param [properties] Properties to set
40263
+ * @returns MetadataKeyValueExpression instance
40264
+ */
40265
+ public static create(properties?: google.privacy.dlp.v2.CustomInfoType.IMetadataKeyValueExpression): google.privacy.dlp.v2.CustomInfoType.MetadataKeyValueExpression;
40266
+
40267
+ /**
40268
+ * Encodes the specified MetadataKeyValueExpression message. Does not implicitly {@link google.privacy.dlp.v2.CustomInfoType.MetadataKeyValueExpression.verify|verify} messages.
40269
+ * @param message MetadataKeyValueExpression message or plain object to encode
40270
+ * @param [writer] Writer to encode to
40271
+ * @returns Writer
40272
+ */
40273
+ public static encode(message: google.privacy.dlp.v2.CustomInfoType.IMetadataKeyValueExpression, writer?: $protobuf.Writer): $protobuf.Writer;
40274
+
40275
+ /**
40276
+ * Encodes the specified MetadataKeyValueExpression message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CustomInfoType.MetadataKeyValueExpression.verify|verify} messages.
40277
+ * @param message MetadataKeyValueExpression message or plain object to encode
40278
+ * @param [writer] Writer to encode to
40279
+ * @returns Writer
40280
+ */
40281
+ public static encodeDelimited(message: google.privacy.dlp.v2.CustomInfoType.IMetadataKeyValueExpression, writer?: $protobuf.Writer): $protobuf.Writer;
40282
+
40283
+ /**
40284
+ * Decodes a MetadataKeyValueExpression message from the specified reader or buffer.
40285
+ * @param reader Reader or buffer to decode from
40286
+ * @param [length] Message length if known beforehand
40287
+ * @returns MetadataKeyValueExpression
40288
+ * @throws {Error} If the payload is not a reader or valid buffer
40289
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
40290
+ */
40291
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CustomInfoType.MetadataKeyValueExpression;
40292
+
40293
+ /**
40294
+ * Decodes a MetadataKeyValueExpression message from the specified reader or buffer, length delimited.
40295
+ * @param reader Reader or buffer to decode from
40296
+ * @returns MetadataKeyValueExpression
40297
+ * @throws {Error} If the payload is not a reader or valid buffer
40298
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
40299
+ */
40300
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CustomInfoType.MetadataKeyValueExpression;
40301
+
40302
+ /**
40303
+ * Verifies a MetadataKeyValueExpression message.
40304
+ * @param message Plain object to verify
40305
+ * @returns `null` if valid, otherwise the reason why it is not
40306
+ */
40307
+ public static verify(message: { [k: string]: any }): (string|null);
40308
+
40309
+ /**
40310
+ * Creates a MetadataKeyValueExpression message from a plain object. Also converts values to their respective internal types.
40311
+ * @param object Plain object
40312
+ * @returns MetadataKeyValueExpression
40313
+ */
40314
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CustomInfoType.MetadataKeyValueExpression;
40315
+
40316
+ /**
40317
+ * Creates a plain object from a MetadataKeyValueExpression message. Also converts values to other types if specified.
40318
+ * @param message MetadataKeyValueExpression
40319
+ * @param [options] Conversion options
40320
+ * @returns Plain object
40321
+ */
40322
+ public static toObject(message: google.privacy.dlp.v2.CustomInfoType.MetadataKeyValueExpression, options?: $protobuf.IConversionOptions): { [k: string]: any };
40323
+
40324
+ /**
40325
+ * Converts this MetadataKeyValueExpression to JSON.
40326
+ * @returns JSON object
40327
+ */
40328
+ public toJSON(): { [k: string]: any };
40329
+
40330
+ /**
40331
+ * Gets the default type url for MetadataKeyValueExpression
40332
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
40333
+ * @returns The default type url
40334
+ */
40335
+ public static getTypeUrl(typeUrlPrefix?: string): string;
40336
+ }
40337
+
39276
40338
  /** Properties of a DetectionRule. */
39277
40339
  interface IDetectionRule {
39278
40340