@google-cloud/dlp 6.1.0 → 6.3.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/README.md +2 -2
- package/build/protos/google/privacy/dlp/v2/dlp.proto +99 -20
- package/build/protos/google/privacy/dlp/v2/storage.proto +5 -0
- package/build/protos/protos.d.ts +240 -13
- package/build/protos/protos.js +1850 -427
- package/build/protos/protos.json +99 -17
- package/build/src/v2/dlp_service_client.d.ts +817 -817
- package/build/src/v2/dlp_service_client.js +634 -720
- package/package.json +4 -4
- package/CHANGELOG.md +0 -747
|
@@ -1385,7 +1385,7 @@ export declare class DlpServiceClient {
|
|
|
1385
1385
|
*/
|
|
1386
1386
|
deleteFileStoreDataProfile(request?: protos.google.privacy.dlp.v2.IDeleteFileStoreDataProfileRequest, options?: CallOptions): Promise<[
|
|
1387
1387
|
protos.google.protobuf.IEmpty,
|
|
1388
|
-
|
|
1388
|
+
protos.google.privacy.dlp.v2.IDeleteFileStoreDataProfileRequest | undefined,
|
|
1389
1389
|
{} | undefined
|
|
1390
1390
|
]>;
|
|
1391
1391
|
deleteFileStoreDataProfile(request: protos.google.privacy.dlp.v2.IDeleteFileStoreDataProfileRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.privacy.dlp.v2.IDeleteFileStoreDataProfileRequest | null | undefined, {} | null | undefined>): void;
|
|
@@ -1624,68 +1624,68 @@ export declare class DlpServiceClient {
|
|
|
1624
1624
|
updateConnection(request: protos.google.privacy.dlp.v2.IUpdateConnectionRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IConnection, protos.google.privacy.dlp.v2.IUpdateConnectionRequest | null | undefined, {} | null | undefined>): void;
|
|
1625
1625
|
updateConnection(request: protos.google.privacy.dlp.v2.IUpdateConnectionRequest, callback: Callback<protos.google.privacy.dlp.v2.IConnection, protos.google.privacy.dlp.v2.IUpdateConnectionRequest | null | undefined, {} | null | undefined>): void;
|
|
1626
1626
|
/**
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1627
|
+
* Lists InspectTemplates.
|
|
1628
|
+
* See
|
|
1629
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-templates
|
|
1630
|
+
* to learn more.
|
|
1631
|
+
*
|
|
1632
|
+
* @param {Object} request
|
|
1633
|
+
* The request object that will be sent.
|
|
1634
|
+
* @param {string} request.parent
|
|
1635
|
+
* Required. Parent resource name.
|
|
1636
|
+
*
|
|
1637
|
+
* The format of this value varies depending on the scope of the request
|
|
1638
|
+
* (project or organization) and whether you have [specified a processing
|
|
1639
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
1640
|
+
*
|
|
1641
|
+
* + Projects scope, location specified:
|
|
1642
|
+
* `projects/{project_id}/locations/{location_id}`
|
|
1643
|
+
* + Projects scope, no location specified (defaults to global):
|
|
1644
|
+
* `projects/{project_id}`
|
|
1645
|
+
* + Organizations scope, location specified:
|
|
1646
|
+
* `organizations/{org_id}/locations/{location_id}`
|
|
1647
|
+
* + Organizations scope, no location specified (defaults to global):
|
|
1648
|
+
* `organizations/{org_id}`
|
|
1649
|
+
*
|
|
1650
|
+
* The following example `parent` string specifies a parent project with the
|
|
1651
|
+
* identifier `example-project`, and specifies the `europe-west3` location
|
|
1652
|
+
* for processing data:
|
|
1653
|
+
*
|
|
1654
|
+
* parent=projects/example-project/locations/europe-west3
|
|
1655
|
+
* @param {string} request.pageToken
|
|
1656
|
+
* Page token to continue retrieval. Comes from the previous call
|
|
1657
|
+
* to `ListInspectTemplates`.
|
|
1658
|
+
* @param {number} request.pageSize
|
|
1659
|
+
* Size of the page. This value can be limited by the server. If zero server
|
|
1660
|
+
* returns a page of max size 100.
|
|
1661
|
+
* @param {string} request.orderBy
|
|
1662
|
+
* Comma-separated list of fields to order by,
|
|
1663
|
+
* followed by `asc` or `desc` postfix. This list is case insensitive. The
|
|
1664
|
+
* default sorting order is ascending. Redundant space characters are
|
|
1665
|
+
* insignificant.
|
|
1666
|
+
*
|
|
1667
|
+
* Example: `name asc,update_time, create_time desc`
|
|
1668
|
+
*
|
|
1669
|
+
* Supported fields are:
|
|
1670
|
+
*
|
|
1671
|
+
* - `create_time`: corresponds to the time the template was created.
|
|
1672
|
+
* - `update_time`: corresponds to the time the template was last updated.
|
|
1673
|
+
* - `name`: corresponds to the template's name.
|
|
1674
|
+
* - `display_name`: corresponds to the template's display name.
|
|
1675
|
+
* @param {string} request.locationId
|
|
1676
|
+
* Deprecated. This field has no effect.
|
|
1677
|
+
* @param {object} [options]
|
|
1678
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
1679
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
1680
|
+
* The first element of the array is Array of {@link protos.google.privacy.dlp.v2.InspectTemplate|InspectTemplate}.
|
|
1681
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
1682
|
+
* times as needed and will merge results from all the pages into this array.
|
|
1683
|
+
* Note that it can affect your quota.
|
|
1684
|
+
* We recommend using `listInspectTemplatesAsync()`
|
|
1685
|
+
* method described below for async iteration which you can stop as needed.
|
|
1686
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
1687
|
+
* for more details and examples.
|
|
1688
|
+
*/
|
|
1689
1689
|
listInspectTemplates(request?: protos.google.privacy.dlp.v2.IListInspectTemplatesRequest, options?: CallOptions): Promise<[
|
|
1690
1690
|
protos.google.privacy.dlp.v2.IInspectTemplate[],
|
|
1691
1691
|
protos.google.privacy.dlp.v2.IListInspectTemplatesRequest | null,
|
|
@@ -1815,68 +1815,68 @@ export declare class DlpServiceClient {
|
|
|
1815
1815
|
*/
|
|
1816
1816
|
listInspectTemplatesAsync(request?: protos.google.privacy.dlp.v2.IListInspectTemplatesRequest, options?: CallOptions): AsyncIterable<protos.google.privacy.dlp.v2.IInspectTemplate>;
|
|
1817
1817
|
/**
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1818
|
+
* Lists DeidentifyTemplates.
|
|
1819
|
+
* See
|
|
1820
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid
|
|
1821
|
+
* to learn more.
|
|
1822
|
+
*
|
|
1823
|
+
* @param {Object} request
|
|
1824
|
+
* The request object that will be sent.
|
|
1825
|
+
* @param {string} request.parent
|
|
1826
|
+
* Required. Parent resource name.
|
|
1827
|
+
*
|
|
1828
|
+
* The format of this value varies depending on the scope of the request
|
|
1829
|
+
* (project or organization) and whether you have [specified a processing
|
|
1830
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
1831
|
+
*
|
|
1832
|
+
* + Projects scope, location specified:
|
|
1833
|
+
* `projects/{project_id}/locations/{location_id}`
|
|
1834
|
+
* + Projects scope, no location specified (defaults to global):
|
|
1835
|
+
* `projects/{project_id}`
|
|
1836
|
+
* + Organizations scope, location specified:
|
|
1837
|
+
* `organizations/{org_id}/locations/{location_id}`
|
|
1838
|
+
* + Organizations scope, no location specified (defaults to global):
|
|
1839
|
+
* `organizations/{org_id}`
|
|
1840
|
+
*
|
|
1841
|
+
* The following example `parent` string specifies a parent project with the
|
|
1842
|
+
* identifier `example-project`, and specifies the `europe-west3` location
|
|
1843
|
+
* for processing data:
|
|
1844
|
+
*
|
|
1845
|
+
* parent=projects/example-project/locations/europe-west3
|
|
1846
|
+
* @param {string} request.pageToken
|
|
1847
|
+
* Page token to continue retrieval. Comes from the previous call
|
|
1848
|
+
* to `ListDeidentifyTemplates`.
|
|
1849
|
+
* @param {number} request.pageSize
|
|
1850
|
+
* Size of the page. This value can be limited by the server. If zero server
|
|
1851
|
+
* returns a page of max size 100.
|
|
1852
|
+
* @param {string} request.orderBy
|
|
1853
|
+
* Comma-separated list of fields to order by,
|
|
1854
|
+
* followed by `asc` or `desc` postfix. This list is case insensitive. The
|
|
1855
|
+
* default sorting order is ascending. Redundant space characters are
|
|
1856
|
+
* insignificant.
|
|
1857
|
+
*
|
|
1858
|
+
* Example: `name asc,update_time, create_time desc`
|
|
1859
|
+
*
|
|
1860
|
+
* Supported fields are:
|
|
1861
|
+
*
|
|
1862
|
+
* - `create_time`: corresponds to the time the template was created.
|
|
1863
|
+
* - `update_time`: corresponds to the time the template was last updated.
|
|
1864
|
+
* - `name`: corresponds to the template's name.
|
|
1865
|
+
* - `display_name`: corresponds to the template's display name.
|
|
1866
|
+
* @param {string} request.locationId
|
|
1867
|
+
* Deprecated. This field has no effect.
|
|
1868
|
+
* @param {object} [options]
|
|
1869
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
1870
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
1871
|
+
* The first element of the array is Array of {@link protos.google.privacy.dlp.v2.DeidentifyTemplate|DeidentifyTemplate}.
|
|
1872
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
1873
|
+
* times as needed and will merge results from all the pages into this array.
|
|
1874
|
+
* Note that it can affect your quota.
|
|
1875
|
+
* We recommend using `listDeidentifyTemplatesAsync()`
|
|
1876
|
+
* method described below for async iteration which you can stop as needed.
|
|
1877
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
1878
|
+
* for more details and examples.
|
|
1879
|
+
*/
|
|
1880
1880
|
listDeidentifyTemplates(request?: protos.google.privacy.dlp.v2.IListDeidentifyTemplatesRequest, options?: CallOptions): Promise<[
|
|
1881
1881
|
protos.google.privacy.dlp.v2.IDeidentifyTemplate[],
|
|
1882
1882
|
protos.google.privacy.dlp.v2.IListDeidentifyTemplatesRequest | null,
|
|
@@ -2006,93 +2006,93 @@ export declare class DlpServiceClient {
|
|
|
2006
2006
|
*/
|
|
2007
2007
|
listDeidentifyTemplatesAsync(request?: protos.google.privacy.dlp.v2.IListDeidentifyTemplatesRequest, options?: CallOptions): AsyncIterable<protos.google.privacy.dlp.v2.IDeidentifyTemplate>;
|
|
2008
2008
|
/**
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2009
|
+
* Lists job triggers.
|
|
2010
|
+
* See
|
|
2011
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers
|
|
2012
|
+
* to learn more.
|
|
2013
|
+
*
|
|
2014
|
+
* @param {Object} request
|
|
2015
|
+
* The request object that will be sent.
|
|
2016
|
+
* @param {string} request.parent
|
|
2017
|
+
* Required. Parent resource name.
|
|
2018
|
+
*
|
|
2019
|
+
* The format of this value varies depending on whether you have [specified a
|
|
2020
|
+
* processing
|
|
2021
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
2022
|
+
*
|
|
2023
|
+
* + Projects scope, location specified:
|
|
2024
|
+
* `projects/{project_id}/locations/{location_id}`
|
|
2025
|
+
* + Projects scope, no location specified (defaults to global):
|
|
2026
|
+
* `projects/{project_id}`
|
|
2027
|
+
*
|
|
2028
|
+
* The following example `parent` string specifies a parent project with the
|
|
2029
|
+
* identifier `example-project`, and specifies the `europe-west3` location
|
|
2030
|
+
* for processing data:
|
|
2031
|
+
*
|
|
2032
|
+
* parent=projects/example-project/locations/europe-west3
|
|
2033
|
+
* @param {string} request.pageToken
|
|
2034
|
+
* Page token to continue retrieval. Comes from the previous call
|
|
2035
|
+
* to ListJobTriggers. `order_by` field must not
|
|
2036
|
+
* change for subsequent calls.
|
|
2037
|
+
* @param {number} request.pageSize
|
|
2038
|
+
* Size of the page. This value can be limited by a server.
|
|
2039
|
+
* @param {string} request.orderBy
|
|
2040
|
+
* Comma-separated list of triggeredJob fields to order by,
|
|
2041
|
+
* followed by `asc` or `desc` postfix. This list is case insensitive. The
|
|
2042
|
+
* default sorting order is ascending. Redundant space characters are
|
|
2043
|
+
* insignificant.
|
|
2044
|
+
*
|
|
2045
|
+
* Example: `name asc,update_time, create_time desc`
|
|
2046
|
+
*
|
|
2047
|
+
* Supported fields are:
|
|
2048
|
+
*
|
|
2049
|
+
* - `create_time`: corresponds to the time the JobTrigger was created.
|
|
2050
|
+
* - `update_time`: corresponds to the time the JobTrigger was last updated.
|
|
2051
|
+
* - `last_run_time`: corresponds to the last time the JobTrigger ran.
|
|
2052
|
+
* - `name`: corresponds to the JobTrigger's name.
|
|
2053
|
+
* - `display_name`: corresponds to the JobTrigger's display name.
|
|
2054
|
+
* - `status`: corresponds to JobTrigger's status.
|
|
2055
|
+
* @param {string} request.filter
|
|
2056
|
+
* Allows filtering.
|
|
2057
|
+
*
|
|
2058
|
+
* Supported syntax:
|
|
2059
|
+
*
|
|
2060
|
+
* * Filter expressions are made up of one or more restrictions.
|
|
2061
|
+
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
2062
|
+
* sequence of restrictions implicitly uses `AND`.
|
|
2063
|
+
* * A restriction has the form of `{field} {operator} {value}`.
|
|
2064
|
+
* * Supported fields/values for inspect triggers:
|
|
2065
|
+
* - `status` - HEALTHY|PAUSED|CANCELLED
|
|
2066
|
+
* - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
|
|
2067
|
+
* - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by
|
|
2068
|
+
* quotation marks. Nanoseconds are ignored.
|
|
2069
|
+
* - 'error_count' - Number of errors that have occurred while running.
|
|
2070
|
+
* * The operator must be `=` or `!=` for status and inspected_storage.
|
|
2071
|
+
*
|
|
2072
|
+
* Examples:
|
|
2073
|
+
*
|
|
2074
|
+
* * inspected_storage = cloud_storage AND status = HEALTHY
|
|
2075
|
+
* * inspected_storage = cloud_storage OR inspected_storage = bigquery
|
|
2076
|
+
* * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY)
|
|
2077
|
+
* * last_run_time > \"2017-12-12T00:00:00+00:00\"
|
|
2078
|
+
*
|
|
2079
|
+
* The length of this field should be no more than 500 characters.
|
|
2080
|
+
* @param {google.privacy.dlp.v2.DlpJobType} request.type
|
|
2081
|
+
* The type of jobs. Will use `DlpJobType.INSPECT` if not set.
|
|
2082
|
+
* @param {string} request.locationId
|
|
2083
|
+
* Deprecated. This field has no effect.
|
|
2084
|
+
* @param {object} [options]
|
|
2085
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
2086
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
2087
|
+
* The first element of the array is Array of {@link protos.google.privacy.dlp.v2.JobTrigger|JobTrigger}.
|
|
2088
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
2089
|
+
* times as needed and will merge results from all the pages into this array.
|
|
2090
|
+
* Note that it can affect your quota.
|
|
2091
|
+
* We recommend using `listJobTriggersAsync()`
|
|
2092
|
+
* method described below for async iteration which you can stop as needed.
|
|
2093
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
2094
|
+
* for more details and examples.
|
|
2095
|
+
*/
|
|
2096
2096
|
listJobTriggers(request?: protos.google.privacy.dlp.v2.IListJobTriggersRequest, options?: CallOptions): Promise<[
|
|
2097
2097
|
protos.google.privacy.dlp.v2.IJobTrigger[],
|
|
2098
2098
|
protos.google.privacy.dlp.v2.IListJobTriggersRequest | null,
|
|
@@ -2272,52 +2272,52 @@ export declare class DlpServiceClient {
|
|
|
2272
2272
|
*/
|
|
2273
2273
|
listJobTriggersAsync(request?: protos.google.privacy.dlp.v2.IListJobTriggersRequest, options?: CallOptions): AsyncIterable<protos.google.privacy.dlp.v2.IJobTrigger>;
|
|
2274
2274
|
/**
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2275
|
+
* Lists discovery configurations.
|
|
2276
|
+
*
|
|
2277
|
+
* @param {Object} request
|
|
2278
|
+
* The request object that will be sent.
|
|
2279
|
+
* @param {string} request.parent
|
|
2280
|
+
* Required. Parent resource name.
|
|
2281
|
+
*
|
|
2282
|
+
* The format of this value is as follows:
|
|
2283
|
+
* `projects/{project_id}/locations/{location_id}`
|
|
2284
|
+
*
|
|
2285
|
+
* The following example `parent` string specifies a parent project with the
|
|
2286
|
+
* identifier `example-project`, and specifies the `europe-west3` location
|
|
2287
|
+
* for processing data:
|
|
2288
|
+
*
|
|
2289
|
+
* parent=projects/example-project/locations/europe-west3
|
|
2290
|
+
* @param {string} request.pageToken
|
|
2291
|
+
* Page token to continue retrieval. Comes from the previous call
|
|
2292
|
+
* to ListDiscoveryConfigs. `order_by` field must not
|
|
2293
|
+
* change for subsequent calls.
|
|
2294
|
+
* @param {number} request.pageSize
|
|
2295
|
+
* Size of the page. This value can be limited by a server.
|
|
2296
|
+
* @param {string} request.orderBy
|
|
2297
|
+
* Comma-separated list of config fields to order by,
|
|
2298
|
+
* followed by `asc` or `desc` postfix. This list is case insensitive. The
|
|
2299
|
+
* default sorting order is ascending. Redundant space characters are
|
|
2300
|
+
* insignificant.
|
|
2301
|
+
*
|
|
2302
|
+
* Example: `name asc,update_time, create_time desc`
|
|
2303
|
+
*
|
|
2304
|
+
* Supported fields are:
|
|
2305
|
+
*
|
|
2306
|
+
* - `last_run_time`: corresponds to the last time the DiscoveryConfig ran.
|
|
2307
|
+
* - `name`: corresponds to the DiscoveryConfig's name.
|
|
2308
|
+
* - `status`: corresponds to DiscoveryConfig's status.
|
|
2309
|
+
* @param {object} [options]
|
|
2310
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
2311
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
2312
|
+
* The first element of the array is Array of {@link protos.google.privacy.dlp.v2.DiscoveryConfig|DiscoveryConfig}.
|
|
2313
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
2314
|
+
* times as needed and will merge results from all the pages into this array.
|
|
2315
|
+
* Note that it can affect your quota.
|
|
2316
|
+
* We recommend using `listDiscoveryConfigsAsync()`
|
|
2317
|
+
* method described below for async iteration which you can stop as needed.
|
|
2318
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
2319
|
+
* for more details and examples.
|
|
2320
|
+
*/
|
|
2321
2321
|
listDiscoveryConfigs(request?: protos.google.privacy.dlp.v2.IListDiscoveryConfigsRequest, options?: CallOptions): Promise<[
|
|
2322
2322
|
protos.google.privacy.dlp.v2.IDiscoveryConfig[],
|
|
2323
2323
|
protos.google.privacy.dlp.v2.IListDiscoveryConfigsRequest | null,
|
|
@@ -2421,95 +2421,95 @@ export declare class DlpServiceClient {
|
|
|
2421
2421
|
*/
|
|
2422
2422
|
listDiscoveryConfigsAsync(request?: protos.google.privacy.dlp.v2.IListDiscoveryConfigsRequest, options?: CallOptions): AsyncIterable<protos.google.privacy.dlp.v2.IDiscoveryConfig>;
|
|
2423
2423
|
/**
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2424
|
+
* Lists DlpJobs that match the specified filter in the request.
|
|
2425
|
+
* See
|
|
2426
|
+
* https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage
|
|
2427
|
+
* and
|
|
2428
|
+
* https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis
|
|
2429
|
+
* to learn more.
|
|
2430
|
+
*
|
|
2431
|
+
* @param {Object} request
|
|
2432
|
+
* The request object that will be sent.
|
|
2433
|
+
* @param {string} request.parent
|
|
2434
|
+
* Required. Parent resource name.
|
|
2435
|
+
*
|
|
2436
|
+
* The format of this value varies depending on whether you have [specified a
|
|
2437
|
+
* processing
|
|
2438
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
2439
|
+
*
|
|
2440
|
+
* + Projects scope, location specified:
|
|
2441
|
+
* `projects/{project_id}/locations/{location_id}`
|
|
2442
|
+
* + Projects scope, no location specified (defaults to global):
|
|
2443
|
+
* `projects/{project_id}`
|
|
2444
|
+
*
|
|
2445
|
+
* The following example `parent` string specifies a parent project with the
|
|
2446
|
+
* identifier `example-project`, and specifies the `europe-west3` location
|
|
2447
|
+
* for processing data:
|
|
2448
|
+
*
|
|
2449
|
+
* parent=projects/example-project/locations/europe-west3
|
|
2450
|
+
* @param {string} request.filter
|
|
2451
|
+
* Allows filtering.
|
|
2452
|
+
*
|
|
2453
|
+
* Supported syntax:
|
|
2454
|
+
*
|
|
2455
|
+
* * Filter expressions are made up of one or more restrictions.
|
|
2456
|
+
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
2457
|
+
* sequence of restrictions implicitly uses `AND`.
|
|
2458
|
+
* * A restriction has the form of `{field} {operator} {value}`.
|
|
2459
|
+
* * Supported fields/values for inspect jobs:
|
|
2460
|
+
* - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED
|
|
2461
|
+
* - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
|
|
2462
|
+
* - `trigger_name` - The name of the trigger that created the job.
|
|
2463
|
+
* - 'end_time` - Corresponds to the time the job finished.
|
|
2464
|
+
* - 'start_time` - Corresponds to the time the job finished.
|
|
2465
|
+
* * Supported fields for risk analysis jobs:
|
|
2466
|
+
* - `state` - RUNNING|CANCELED|FINISHED|FAILED
|
|
2467
|
+
* - 'end_time` - Corresponds to the time the job finished.
|
|
2468
|
+
* - 'start_time` - Corresponds to the time the job finished.
|
|
2469
|
+
* * The operator must be `=` or `!=`.
|
|
2470
|
+
*
|
|
2471
|
+
* Examples:
|
|
2472
|
+
*
|
|
2473
|
+
* * inspected_storage = cloud_storage AND state = done
|
|
2474
|
+
* * inspected_storage = cloud_storage OR inspected_storage = bigquery
|
|
2475
|
+
* * inspected_storage = cloud_storage AND (state = done OR state = canceled)
|
|
2476
|
+
* * end_time > \"2017-12-12T00:00:00+00:00\"
|
|
2477
|
+
*
|
|
2478
|
+
* The length of this field should be no more than 500 characters.
|
|
2479
|
+
* @param {number} request.pageSize
|
|
2480
|
+
* The standard list page size.
|
|
2481
|
+
* @param {string} request.pageToken
|
|
2482
|
+
* The standard list page token.
|
|
2483
|
+
* @param {google.privacy.dlp.v2.DlpJobType} request.type
|
|
2484
|
+
* The type of job. Defaults to `DlpJobType.INSPECT`
|
|
2485
|
+
* @param {string} request.orderBy
|
|
2486
|
+
* Comma-separated list of fields to order by,
|
|
2487
|
+
* followed by `asc` or `desc` postfix. This list is case insensitive. The
|
|
2488
|
+
* default sorting order is ascending. Redundant space characters are
|
|
2489
|
+
* insignificant.
|
|
2490
|
+
*
|
|
2491
|
+
* Example: `name asc, end_time asc, create_time desc`
|
|
2492
|
+
*
|
|
2493
|
+
* Supported fields are:
|
|
2494
|
+
*
|
|
2495
|
+
* - `create_time`: corresponds to the time the job was created.
|
|
2496
|
+
* - `end_time`: corresponds to the time the job ended.
|
|
2497
|
+
* - `name`: corresponds to the job's name.
|
|
2498
|
+
* - `state`: corresponds to `state`
|
|
2499
|
+
* @param {string} request.locationId
|
|
2500
|
+
* Deprecated. This field has no effect.
|
|
2501
|
+
* @param {object} [options]
|
|
2502
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
2503
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
2504
|
+
* The first element of the array is Array of {@link protos.google.privacy.dlp.v2.DlpJob|DlpJob}.
|
|
2505
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
2506
|
+
* times as needed and will merge results from all the pages into this array.
|
|
2507
|
+
* Note that it can affect your quota.
|
|
2508
|
+
* We recommend using `listDlpJobsAsync()`
|
|
2509
|
+
* method described below for async iteration which you can stop as needed.
|
|
2510
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
2511
|
+
* for more details and examples.
|
|
2512
|
+
*/
|
|
2513
2513
|
listDlpJobs(request?: protos.google.privacy.dlp.v2.IListDlpJobsRequest, options?: CallOptions): Promise<[
|
|
2514
2514
|
protos.google.privacy.dlp.v2.IDlpJob[],
|
|
2515
2515
|
protos.google.privacy.dlp.v2.IListDlpJobsRequest | null,
|
|
@@ -2689,65 +2689,65 @@ export declare class DlpServiceClient {
|
|
|
2689
2689
|
*/
|
|
2690
2690
|
listDlpJobsAsync(request?: protos.google.privacy.dlp.v2.IListDlpJobsRequest, options?: CallOptions): AsyncIterable<protos.google.privacy.dlp.v2.IDlpJob>;
|
|
2691
2691
|
/**
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2692
|
+
* Lists stored infoTypes.
|
|
2693
|
+
* See
|
|
2694
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes
|
|
2695
|
+
* to learn more.
|
|
2696
|
+
*
|
|
2697
|
+
* @param {Object} request
|
|
2698
|
+
* The request object that will be sent.
|
|
2699
|
+
* @param {string} request.parent
|
|
2700
|
+
* Required. Parent resource name.
|
|
2701
|
+
*
|
|
2702
|
+
* The format of this value varies depending on the scope of the request
|
|
2703
|
+
* (project or organization) and whether you have [specified a processing
|
|
2704
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
2705
|
+
*
|
|
2706
|
+
* + Projects scope, location specified:
|
|
2707
|
+
* `projects/{project_id}/locations/{location_id}`
|
|
2708
|
+
* + Projects scope, no location specified (defaults to global):
|
|
2709
|
+
* `projects/{project_id}`
|
|
2710
|
+
*
|
|
2711
|
+
* The following example `parent` string specifies a parent project with the
|
|
2712
|
+
* identifier `example-project`, and specifies the `europe-west3` location
|
|
2713
|
+
* for processing data:
|
|
2714
|
+
*
|
|
2715
|
+
* parent=projects/example-project/locations/europe-west3
|
|
2716
|
+
* @param {string} request.pageToken
|
|
2717
|
+
* Page token to continue retrieval. Comes from the previous call
|
|
2718
|
+
* to `ListStoredInfoTypes`.
|
|
2719
|
+
* @param {number} request.pageSize
|
|
2720
|
+
* Size of the page. This value can be limited by the server. If zero server
|
|
2721
|
+
* returns a page of max size 100.
|
|
2722
|
+
* @param {string} request.orderBy
|
|
2723
|
+
* Comma-separated list of fields to order by,
|
|
2724
|
+
* followed by `asc` or `desc` postfix. This list is case insensitive. The
|
|
2725
|
+
* default sorting order is ascending. Redundant space characters are
|
|
2726
|
+
* insignificant.
|
|
2727
|
+
*
|
|
2728
|
+
* Example: `name asc, display_name, create_time desc`
|
|
2729
|
+
*
|
|
2730
|
+
* Supported fields are:
|
|
2731
|
+
*
|
|
2732
|
+
* - `create_time`: corresponds to the time the most recent version of the
|
|
2733
|
+
* resource was created.
|
|
2734
|
+
* - `state`: corresponds to the state of the resource.
|
|
2735
|
+
* - `name`: corresponds to resource name.
|
|
2736
|
+
* - `display_name`: corresponds to info type's display name.
|
|
2737
|
+
* @param {string} request.locationId
|
|
2738
|
+
* Deprecated. This field has no effect.
|
|
2739
|
+
* @param {object} [options]
|
|
2740
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
2741
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
2742
|
+
* The first element of the array is Array of {@link protos.google.privacy.dlp.v2.StoredInfoType|StoredInfoType}.
|
|
2743
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
2744
|
+
* times as needed and will merge results from all the pages into this array.
|
|
2745
|
+
* Note that it can affect your quota.
|
|
2746
|
+
* We recommend using `listStoredInfoTypesAsync()`
|
|
2747
|
+
* method described below for async iteration which you can stop as needed.
|
|
2748
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
2749
|
+
* for more details and examples.
|
|
2750
|
+
*/
|
|
2751
2751
|
listStoredInfoTypes(request?: protos.google.privacy.dlp.v2.IListStoredInfoTypesRequest, options?: CallOptions): Promise<[
|
|
2752
2752
|
protos.google.privacy.dlp.v2.IStoredInfoType[],
|
|
2753
2753
|
protos.google.privacy.dlp.v2.IListStoredInfoTypesRequest | null,
|
|
@@ -2871,68 +2871,68 @@ export declare class DlpServiceClient {
|
|
|
2871
2871
|
*/
|
|
2872
2872
|
listStoredInfoTypesAsync(request?: protos.google.privacy.dlp.v2.IListStoredInfoTypesRequest, options?: CallOptions): AsyncIterable<protos.google.privacy.dlp.v2.IStoredInfoType>;
|
|
2873
2873
|
/**
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2874
|
+
* Lists project data profiles for an organization.
|
|
2875
|
+
*
|
|
2876
|
+
* @param {Object} request
|
|
2877
|
+
* The request object that will be sent.
|
|
2878
|
+
* @param {string} request.parent
|
|
2879
|
+
* Required. organizations/{org_id}/locations/{loc_id}
|
|
2880
|
+
* @param {string} request.pageToken
|
|
2881
|
+
* Page token to continue retrieval.
|
|
2882
|
+
* @param {number} request.pageSize
|
|
2883
|
+
* Size of the page. This value can be limited by the server. If zero, server
|
|
2884
|
+
* returns a page of max size 100.
|
|
2885
|
+
* @param {string} request.orderBy
|
|
2886
|
+
* Comma-separated list of fields to order by, followed by `asc` or `desc`
|
|
2887
|
+
* postfix. This list is case insensitive. The default sorting order is
|
|
2888
|
+
* ascending. Redundant space characters are insignificant. Only one order
|
|
2889
|
+
* field at a time is allowed.
|
|
2890
|
+
*
|
|
2891
|
+
* Examples:
|
|
2892
|
+
* * `project_id`
|
|
2893
|
+
* * `sensitivity_level desc`
|
|
2894
|
+
*
|
|
2895
|
+
* Supported fields are:
|
|
2896
|
+
*
|
|
2897
|
+
* - `project_id`: Google Cloud project ID
|
|
2898
|
+
* - `sensitivity_level`: How sensitive the data in a project is, at most.
|
|
2899
|
+
* - `data_risk_level`: How much risk is associated with this data.
|
|
2900
|
+
* - `profile_last_generated`: When the profile was last updated in epoch
|
|
2901
|
+
* seconds.
|
|
2902
|
+
* @param {string} request.filter
|
|
2903
|
+
* Allows filtering.
|
|
2904
|
+
*
|
|
2905
|
+
* Supported syntax:
|
|
2906
|
+
*
|
|
2907
|
+
* * Filter expressions are made up of one or more restrictions.
|
|
2908
|
+
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
2909
|
+
* sequence of restrictions implicitly uses `AND`.
|
|
2910
|
+
* * A restriction has the form of `{field} {operator} {value}`.
|
|
2911
|
+
* * Supported fields/values:
|
|
2912
|
+
* - `sensitivity_level` - HIGH|MODERATE|LOW
|
|
2913
|
+
* - `data_risk_level` - HIGH|MODERATE|LOW
|
|
2914
|
+
* - `status_code` - an RPC status code as defined in
|
|
2915
|
+
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
2916
|
+
* * The operator must be `=` or `!=`.
|
|
2917
|
+
*
|
|
2918
|
+
* Examples:
|
|
2919
|
+
*
|
|
2920
|
+
* * `project_id = 12345 AND status_code = 1`
|
|
2921
|
+
* * `project_id = 12345 AND sensitivity_level = HIGH`
|
|
2922
|
+
*
|
|
2923
|
+
* The length of this field should be no more than 500 characters.
|
|
2924
|
+
* @param {object} [options]
|
|
2925
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
2926
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
2927
|
+
* The first element of the array is Array of {@link protos.google.privacy.dlp.v2.ProjectDataProfile|ProjectDataProfile}.
|
|
2928
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
2929
|
+
* times as needed and will merge results from all the pages into this array.
|
|
2930
|
+
* Note that it can affect your quota.
|
|
2931
|
+
* We recommend using `listProjectDataProfilesAsync()`
|
|
2932
|
+
* method described below for async iteration which you can stop as needed.
|
|
2933
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
2934
|
+
* for more details and examples.
|
|
2935
|
+
*/
|
|
2936
2936
|
listProjectDataProfiles(request?: protos.google.privacy.dlp.v2.IListProjectDataProfilesRequest, options?: CallOptions): Promise<[
|
|
2937
2937
|
protos.google.privacy.dlp.v2.IProjectDataProfile[],
|
|
2938
2938
|
protos.google.privacy.dlp.v2.IListProjectDataProfilesRequest | null,
|
|
@@ -3007,75 +3007,9 @@ export declare class DlpServiceClient {
|
|
|
3007
3007
|
*
|
|
3008
3008
|
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
|
|
3009
3009
|
* @param {Object} request
|
|
3010
|
-
* The request object that will be sent.
|
|
3011
|
-
* @param {string} request.parent
|
|
3012
|
-
* Required. organizations/{org_id}/locations/{loc_id}
|
|
3013
|
-
* @param {string} request.pageToken
|
|
3014
|
-
* Page token to continue retrieval.
|
|
3015
|
-
* @param {number} request.pageSize
|
|
3016
|
-
* Size of the page. This value can be limited by the server. If zero, server
|
|
3017
|
-
* returns a page of max size 100.
|
|
3018
|
-
* @param {string} request.orderBy
|
|
3019
|
-
* Comma-separated list of fields to order by, followed by `asc` or `desc`
|
|
3020
|
-
* postfix. This list is case insensitive. The default sorting order is
|
|
3021
|
-
* ascending. Redundant space characters are insignificant. Only one order
|
|
3022
|
-
* field at a time is allowed.
|
|
3023
|
-
*
|
|
3024
|
-
* Examples:
|
|
3025
|
-
* * `project_id`
|
|
3026
|
-
* * `sensitivity_level desc`
|
|
3027
|
-
*
|
|
3028
|
-
* Supported fields are:
|
|
3029
|
-
*
|
|
3030
|
-
* - `project_id`: Google Cloud project ID
|
|
3031
|
-
* - `sensitivity_level`: How sensitive the data in a project is, at most.
|
|
3032
|
-
* - `data_risk_level`: How much risk is associated with this data.
|
|
3033
|
-
* - `profile_last_generated`: When the profile was last updated in epoch
|
|
3034
|
-
* seconds.
|
|
3035
|
-
* @param {string} request.filter
|
|
3036
|
-
* Allows filtering.
|
|
3037
|
-
*
|
|
3038
|
-
* Supported syntax:
|
|
3039
|
-
*
|
|
3040
|
-
* * Filter expressions are made up of one or more restrictions.
|
|
3041
|
-
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
3042
|
-
* sequence of restrictions implicitly uses `AND`.
|
|
3043
|
-
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3044
|
-
* * Supported fields/values:
|
|
3045
|
-
* - `sensitivity_level` - HIGH|MODERATE|LOW
|
|
3046
|
-
* - `data_risk_level` - HIGH|MODERATE|LOW
|
|
3047
|
-
* - `status_code` - an RPC status code as defined in
|
|
3048
|
-
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
3049
|
-
* * The operator must be `=` or `!=`.
|
|
3050
|
-
*
|
|
3051
|
-
* Examples:
|
|
3052
|
-
*
|
|
3053
|
-
* * `project_id = 12345 AND status_code = 1`
|
|
3054
|
-
* * `project_id = 12345 AND sensitivity_level = HIGH`
|
|
3055
|
-
*
|
|
3056
|
-
* The length of this field should be no more than 500 characters.
|
|
3057
|
-
* @param {object} [options]
|
|
3058
|
-
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
3059
|
-
* @returns {Object}
|
|
3060
|
-
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
|
|
3061
|
-
* When you iterate the returned iterable, each element will be an object representing
|
|
3062
|
-
* {@link protos.google.privacy.dlp.v2.ProjectDataProfile|ProjectDataProfile}. The API will be called under the hood as needed, once per the page,
|
|
3063
|
-
* so you can stop the iteration when you don't need more results.
|
|
3064
|
-
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
3065
|
-
* for more details and examples.
|
|
3066
|
-
* @example <caption>include:samples/generated/v2/dlp_service.list_project_data_profiles.js</caption>
|
|
3067
|
-
* region_tag:dlp_v2_generated_DlpService_ListProjectDataProfiles_async
|
|
3068
|
-
*/
|
|
3069
|
-
listProjectDataProfilesAsync(request?: protos.google.privacy.dlp.v2.IListProjectDataProfilesRequest, options?: CallOptions): AsyncIterable<protos.google.privacy.dlp.v2.IProjectDataProfile>;
|
|
3070
|
-
/**
|
|
3071
|
-
* Lists table data profiles for an organization.
|
|
3072
|
-
*
|
|
3073
|
-
* @param {Object} request
|
|
3074
|
-
* The request object that will be sent.
|
|
3075
|
-
* @param {string} request.parent
|
|
3076
|
-
* Required. Resource name of the organization or project, for
|
|
3077
|
-
* example `organizations/433245324/locations/europe` or
|
|
3078
|
-
* `projects/project-id/locations/asia`.
|
|
3010
|
+
* The request object that will be sent.
|
|
3011
|
+
* @param {string} request.parent
|
|
3012
|
+
* Required. organizations/{org_id}/locations/{loc_id}
|
|
3079
3013
|
* @param {string} request.pageToken
|
|
3080
3014
|
* Page token to continue retrieval.
|
|
3081
3015
|
* @param {number} request.pageSize
|
|
@@ -3088,22 +3022,16 @@ export declare class DlpServiceClient {
|
|
|
3088
3022
|
* field at a time is allowed.
|
|
3089
3023
|
*
|
|
3090
3024
|
* Examples:
|
|
3091
|
-
* * `project_id
|
|
3092
|
-
* * `table_id`
|
|
3025
|
+
* * `project_id`
|
|
3093
3026
|
* * `sensitivity_level desc`
|
|
3094
3027
|
*
|
|
3095
3028
|
* Supported fields are:
|
|
3096
3029
|
*
|
|
3097
|
-
* - `project_id`:
|
|
3098
|
-
* - `
|
|
3099
|
-
* - `table_id`: The ID of a BigQuery table.
|
|
3100
|
-
* - `sensitivity_level`: How sensitive the data in a table is, at most.
|
|
3030
|
+
* - `project_id`: Google Cloud project ID
|
|
3031
|
+
* - `sensitivity_level`: How sensitive the data in a project is, at most.
|
|
3101
3032
|
* - `data_risk_level`: How much risk is associated with this data.
|
|
3102
3033
|
* - `profile_last_generated`: When the profile was last updated in epoch
|
|
3103
3034
|
* seconds.
|
|
3104
|
-
* - `last_modified`: The last time the resource was modified.
|
|
3105
|
-
* - `resource_visibility`: Visibility restriction for this resource.
|
|
3106
|
-
* - `row_count`: Number of rows in this resource.
|
|
3107
3035
|
* @param {string} request.filter
|
|
3108
3036
|
* Allows filtering.
|
|
3109
3037
|
*
|
|
@@ -3114,12 +3042,8 @@ export declare class DlpServiceClient {
|
|
|
3114
3042
|
* sequence of restrictions implicitly uses `AND`.
|
|
3115
3043
|
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3116
3044
|
* * Supported fields/values:
|
|
3117
|
-
* - `project_id` - The Google Cloud project ID.
|
|
3118
|
-
* - `dataset_id` - The BigQuery dataset ID.
|
|
3119
|
-
* - `table_id` - The ID of the BigQuery table.
|
|
3120
3045
|
* - `sensitivity_level` - HIGH|MODERATE|LOW
|
|
3121
3046
|
* - `data_risk_level` - HIGH|MODERATE|LOW
|
|
3122
|
-
* - `resource_visibility`: PUBLIC|RESTRICTED
|
|
3123
3047
|
* - `status_code` - an RPC status code as defined in
|
|
3124
3048
|
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
3125
3049
|
* * The operator must be `=` or `!=`.
|
|
@@ -3128,21 +3052,97 @@ export declare class DlpServiceClient {
|
|
|
3128
3052
|
*
|
|
3129
3053
|
* * `project_id = 12345 AND status_code = 1`
|
|
3130
3054
|
* * `project_id = 12345 AND sensitivity_level = HIGH`
|
|
3131
|
-
* * `project_id = 12345 AND resource_visibility = PUBLIC`
|
|
3132
3055
|
*
|
|
3133
3056
|
* The length of this field should be no more than 500 characters.
|
|
3134
3057
|
* @param {object} [options]
|
|
3135
3058
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
3136
|
-
* @returns {
|
|
3137
|
-
*
|
|
3138
|
-
*
|
|
3139
|
-
*
|
|
3140
|
-
*
|
|
3141
|
-
* We recommend using `listTableDataProfilesAsync()`
|
|
3142
|
-
* method described below for async iteration which you can stop as needed.
|
|
3059
|
+
* @returns {Object}
|
|
3060
|
+
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
|
|
3061
|
+
* When you iterate the returned iterable, each element will be an object representing
|
|
3062
|
+
* {@link protos.google.privacy.dlp.v2.ProjectDataProfile|ProjectDataProfile}. The API will be called under the hood as needed, once per the page,
|
|
3063
|
+
* so you can stop the iteration when you don't need more results.
|
|
3143
3064
|
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
3144
3065
|
* for more details and examples.
|
|
3066
|
+
* @example <caption>include:samples/generated/v2/dlp_service.list_project_data_profiles.js</caption>
|
|
3067
|
+
* region_tag:dlp_v2_generated_DlpService_ListProjectDataProfiles_async
|
|
3145
3068
|
*/
|
|
3069
|
+
listProjectDataProfilesAsync(request?: protos.google.privacy.dlp.v2.IListProjectDataProfilesRequest, options?: CallOptions): AsyncIterable<protos.google.privacy.dlp.v2.IProjectDataProfile>;
|
|
3070
|
+
/**
|
|
3071
|
+
* Lists table data profiles for an organization.
|
|
3072
|
+
*
|
|
3073
|
+
* @param {Object} request
|
|
3074
|
+
* The request object that will be sent.
|
|
3075
|
+
* @param {string} request.parent
|
|
3076
|
+
* Required. Resource name of the organization or project, for
|
|
3077
|
+
* example `organizations/433245324/locations/europe` or
|
|
3078
|
+
* `projects/project-id/locations/asia`.
|
|
3079
|
+
* @param {string} request.pageToken
|
|
3080
|
+
* Page token to continue retrieval.
|
|
3081
|
+
* @param {number} request.pageSize
|
|
3082
|
+
* Size of the page. This value can be limited by the server. If zero, server
|
|
3083
|
+
* returns a page of max size 100.
|
|
3084
|
+
* @param {string} request.orderBy
|
|
3085
|
+
* Comma-separated list of fields to order by, followed by `asc` or `desc`
|
|
3086
|
+
* postfix. This list is case insensitive. The default sorting order is
|
|
3087
|
+
* ascending. Redundant space characters are insignificant. Only one order
|
|
3088
|
+
* field at a time is allowed.
|
|
3089
|
+
*
|
|
3090
|
+
* Examples:
|
|
3091
|
+
* * `project_id asc`
|
|
3092
|
+
* * `table_id`
|
|
3093
|
+
* * `sensitivity_level desc`
|
|
3094
|
+
*
|
|
3095
|
+
* Supported fields are:
|
|
3096
|
+
*
|
|
3097
|
+
* - `project_id`: The Google Cloud project ID.
|
|
3098
|
+
* - `dataset_id`: The ID of a BigQuery dataset.
|
|
3099
|
+
* - `table_id`: The ID of a BigQuery table.
|
|
3100
|
+
* - `sensitivity_level`: How sensitive the data in a table is, at most.
|
|
3101
|
+
* - `data_risk_level`: How much risk is associated with this data.
|
|
3102
|
+
* - `profile_last_generated`: When the profile was last updated in epoch
|
|
3103
|
+
* seconds.
|
|
3104
|
+
* - `last_modified`: The last time the resource was modified.
|
|
3105
|
+
* - `resource_visibility`: Visibility restriction for this resource.
|
|
3106
|
+
* - `row_count`: Number of rows in this resource.
|
|
3107
|
+
* @param {string} request.filter
|
|
3108
|
+
* Allows filtering.
|
|
3109
|
+
*
|
|
3110
|
+
* Supported syntax:
|
|
3111
|
+
*
|
|
3112
|
+
* * Filter expressions are made up of one or more restrictions.
|
|
3113
|
+
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
3114
|
+
* sequence of restrictions implicitly uses `AND`.
|
|
3115
|
+
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3116
|
+
* * Supported fields/values:
|
|
3117
|
+
* - `project_id` - The Google Cloud project ID.
|
|
3118
|
+
* - `dataset_id` - The BigQuery dataset ID.
|
|
3119
|
+
* - `table_id` - The ID of the BigQuery table.
|
|
3120
|
+
* - `sensitivity_level` - HIGH|MODERATE|LOW
|
|
3121
|
+
* - `data_risk_level` - HIGH|MODERATE|LOW
|
|
3122
|
+
* - `resource_visibility`: PUBLIC|RESTRICTED
|
|
3123
|
+
* - `status_code` - an RPC status code as defined in
|
|
3124
|
+
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
3125
|
+
* * The operator must be `=` or `!=`.
|
|
3126
|
+
*
|
|
3127
|
+
* Examples:
|
|
3128
|
+
*
|
|
3129
|
+
* * `project_id = 12345 AND status_code = 1`
|
|
3130
|
+
* * `project_id = 12345 AND sensitivity_level = HIGH`
|
|
3131
|
+
* * `project_id = 12345 AND resource_visibility = PUBLIC`
|
|
3132
|
+
*
|
|
3133
|
+
* The length of this field should be no more than 500 characters.
|
|
3134
|
+
* @param {object} [options]
|
|
3135
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
3136
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
3137
|
+
* The first element of the array is Array of {@link protos.google.privacy.dlp.v2.TableDataProfile|TableDataProfile}.
|
|
3138
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
3139
|
+
* times as needed and will merge results from all the pages into this array.
|
|
3140
|
+
* Note that it can affect your quota.
|
|
3141
|
+
* We recommend using `listTableDataProfilesAsync()`
|
|
3142
|
+
* method described below for async iteration which you can stop as needed.
|
|
3143
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
3144
|
+
* for more details and examples.
|
|
3145
|
+
*/
|
|
3146
3146
|
listTableDataProfiles(request?: protos.google.privacy.dlp.v2.IListTableDataProfilesRequest, options?: CallOptions): Promise<[
|
|
3147
3147
|
protos.google.privacy.dlp.v2.ITableDataProfile[],
|
|
3148
3148
|
protos.google.privacy.dlp.v2.IListTableDataProfilesRequest | null,
|
|
@@ -3304,83 +3304,83 @@ export declare class DlpServiceClient {
|
|
|
3304
3304
|
*/
|
|
3305
3305
|
listTableDataProfilesAsync(request?: protos.google.privacy.dlp.v2.IListTableDataProfilesRequest, options?: CallOptions): AsyncIterable<protos.google.privacy.dlp.v2.ITableDataProfile>;
|
|
3306
3306
|
/**
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3307
|
+
* Lists column data profiles for an organization.
|
|
3308
|
+
*
|
|
3309
|
+
* @param {Object} request
|
|
3310
|
+
* The request object that will be sent.
|
|
3311
|
+
* @param {string} request.parent
|
|
3312
|
+
* Required. Resource name of the organization or project, for
|
|
3313
|
+
* example `organizations/433245324/locations/europe` or
|
|
3314
|
+
* `projects/project-id/locations/asia`.
|
|
3315
|
+
* @param {string} request.pageToken
|
|
3316
|
+
* Page token to continue retrieval.
|
|
3317
|
+
* @param {number} request.pageSize
|
|
3318
|
+
* Size of the page. This value can be limited by the server. If zero, server
|
|
3319
|
+
* returns a page of max size 100.
|
|
3320
|
+
* @param {string} request.orderBy
|
|
3321
|
+
* Comma-separated list of fields to order by, followed by `asc` or `desc`
|
|
3322
|
+
* postfix. This list is case insensitive. The default sorting order is
|
|
3323
|
+
* ascending. Redundant space characters are insignificant. Only one order
|
|
3324
|
+
* field at a time is allowed.
|
|
3325
|
+
*
|
|
3326
|
+
* Examples:
|
|
3327
|
+
*
|
|
3328
|
+
* * `project_id asc`
|
|
3329
|
+
* * `table_id`
|
|
3330
|
+
* * `sensitivity_level desc`
|
|
3331
|
+
*
|
|
3332
|
+
* Supported fields are:
|
|
3333
|
+
*
|
|
3334
|
+
* - `project_id`: The Google Cloud project ID.
|
|
3335
|
+
* - `dataset_id`: The ID of a BigQuery dataset.
|
|
3336
|
+
* - `table_id`: The ID of a BigQuery table.
|
|
3337
|
+
* - `sensitivity_level`: How sensitive the data in a column is, at most.
|
|
3338
|
+
* - `data_risk_level`: How much risk is associated with this data.
|
|
3339
|
+
* - `profile_last_generated`: When the profile was last updated in epoch
|
|
3340
|
+
* seconds.
|
|
3341
|
+
* @param {string} request.filter
|
|
3342
|
+
* Allows filtering.
|
|
3343
|
+
*
|
|
3344
|
+
* Supported syntax:
|
|
3345
|
+
*
|
|
3346
|
+
* * Filter expressions are made up of one or more restrictions.
|
|
3347
|
+
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
3348
|
+
* sequence of restrictions implicitly uses `AND`.
|
|
3349
|
+
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3350
|
+
* * Supported fields/values:
|
|
3351
|
+
* - `table_data_profile_name` - The name of the related table data
|
|
3352
|
+
* profile.
|
|
3353
|
+
* - `project_id` - The Google Cloud project ID. (REQUIRED)
|
|
3354
|
+
* - `dataset_id` - The BigQuery dataset ID. (REQUIRED)
|
|
3355
|
+
* - `table_id` - The BigQuery table ID. (REQUIRED)
|
|
3356
|
+
* - `field_id` - The ID of the BigQuery field.
|
|
3357
|
+
* - `info_type` - The infotype detected in the resource.
|
|
3358
|
+
* - `sensitivity_level` - HIGH|MEDIUM|LOW
|
|
3359
|
+
* - `data_risk_level`: How much risk is associated with this data.
|
|
3360
|
+
* - `status_code` - an RPC status code as defined in
|
|
3361
|
+
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
3362
|
+
* * The operator must be `=` for project_id, dataset_id, and table_id. Other
|
|
3363
|
+
* filters also support `!=`.
|
|
3364
|
+
*
|
|
3365
|
+
* Examples:
|
|
3366
|
+
*
|
|
3367
|
+
* * project_id = 12345 AND status_code = 1
|
|
3368
|
+
* * project_id = 12345 AND sensitivity_level = HIGH
|
|
3369
|
+
* * project_id = 12345 AND info_type = STREET_ADDRESS
|
|
3370
|
+
*
|
|
3371
|
+
* The length of this field should be no more than 500 characters.
|
|
3372
|
+
* @param {object} [options]
|
|
3373
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
3374
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
3375
|
+
* The first element of the array is Array of {@link protos.google.privacy.dlp.v2.ColumnDataProfile|ColumnDataProfile}.
|
|
3376
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
3377
|
+
* times as needed and will merge results from all the pages into this array.
|
|
3378
|
+
* Note that it can affect your quota.
|
|
3379
|
+
* We recommend using `listColumnDataProfilesAsync()`
|
|
3380
|
+
* method described below for async iteration which you can stop as needed.
|
|
3381
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
3382
|
+
* for more details and examples.
|
|
3383
|
+
*/
|
|
3384
3384
|
listColumnDataProfiles(request?: protos.google.privacy.dlp.v2.IListColumnDataProfilesRequest, options?: CallOptions): Promise<[
|
|
3385
3385
|
protos.google.privacy.dlp.v2.IColumnDataProfile[],
|
|
3386
3386
|
protos.google.privacy.dlp.v2.IListColumnDataProfilesRequest | null,
|
|
@@ -3546,86 +3546,86 @@ export declare class DlpServiceClient {
|
|
|
3546
3546
|
*/
|
|
3547
3547
|
listColumnDataProfilesAsync(request?: protos.google.privacy.dlp.v2.IListColumnDataProfilesRequest, options?: CallOptions): AsyncIterable<protos.google.privacy.dlp.v2.IColumnDataProfile>;
|
|
3548
3548
|
/**
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3549
|
+
* Lists file store data profiles for an organization.
|
|
3550
|
+
*
|
|
3551
|
+
* @param {Object} request
|
|
3552
|
+
* The request object that will be sent.
|
|
3553
|
+
* @param {string} request.parent
|
|
3554
|
+
* Required. Resource name of the organization or project, for
|
|
3555
|
+
* example `organizations/433245324/locations/europe` or
|
|
3556
|
+
* `projects/project-id/locations/asia`.
|
|
3557
|
+
* @param {string} [request.pageToken]
|
|
3558
|
+
* Optional. Page token to continue retrieval.
|
|
3559
|
+
* @param {number} [request.pageSize]
|
|
3560
|
+
* Optional. Size of the page. This value can be limited by the server. If
|
|
3561
|
+
* zero, server returns a page of max size 100.
|
|
3562
|
+
* @param {string} [request.orderBy]
|
|
3563
|
+
* Optional. Comma-separated list of fields to order by, followed by `asc` or
|
|
3564
|
+
* `desc` postfix. This list is case insensitive. The default sorting order is
|
|
3565
|
+
* ascending. Redundant space characters are insignificant. Only one order
|
|
3566
|
+
* field at a time is allowed.
|
|
3567
|
+
*
|
|
3568
|
+
* Examples:
|
|
3569
|
+
*
|
|
3570
|
+
* * `project_id asc`
|
|
3571
|
+
* * `name`
|
|
3572
|
+
* * `sensitivity_level desc`
|
|
3573
|
+
*
|
|
3574
|
+
* Supported fields are:
|
|
3575
|
+
*
|
|
3576
|
+
* - `project_id`: The Google Cloud project ID.
|
|
3577
|
+
* - `sensitivity_level`: How sensitive the data in a table is, at most.
|
|
3578
|
+
* - `data_risk_level`: How much risk is associated with this data.
|
|
3579
|
+
* - `profile_last_generated`: When the profile was last updated in epoch
|
|
3580
|
+
* seconds.
|
|
3581
|
+
* - `last_modified`: The last time the resource was modified.
|
|
3582
|
+
* - `resource_visibility`: Visibility restriction for this resource.
|
|
3583
|
+
* - `name`: The name of the profile.
|
|
3584
|
+
* - `create_time`: The time the file store was first created.
|
|
3585
|
+
* @param {string} [request.filter]
|
|
3586
|
+
* Optional. Allows filtering.
|
|
3587
|
+
*
|
|
3588
|
+
* Supported syntax:
|
|
3589
|
+
*
|
|
3590
|
+
* * Filter expressions are made up of one or more restrictions.
|
|
3591
|
+
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
3592
|
+
* sequence of restrictions implicitly uses `AND`.
|
|
3593
|
+
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3594
|
+
* * Supported fields/values:
|
|
3595
|
+
* - `project_id` - The Google Cloud project ID.
|
|
3596
|
+
* - `account_id` - The AWS account ID.
|
|
3597
|
+
* - `file_store_path` - The path like "gs://bucket".
|
|
3598
|
+
* - `data_source_type` - The profile's data source type, like
|
|
3599
|
+
* "google/storage/bucket".
|
|
3600
|
+
* - `data_storage_location` - The location where the file store's data is
|
|
3601
|
+
* stored, like "us-central1".
|
|
3602
|
+
* - `sensitivity_level` - HIGH|MODERATE|LOW
|
|
3603
|
+
* - `data_risk_level` - HIGH|MODERATE|LOW
|
|
3604
|
+
* - `resource_visibility`: PUBLIC|RESTRICTED
|
|
3605
|
+
* - `status_code` - an RPC status code as defined in
|
|
3606
|
+
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
3607
|
+
* * The operator must be `=` or `!=`.
|
|
3608
|
+
*
|
|
3609
|
+
* Examples:
|
|
3610
|
+
*
|
|
3611
|
+
* * `project_id = 12345 AND status_code = 1`
|
|
3612
|
+
* * `project_id = 12345 AND sensitivity_level = HIGH`
|
|
3613
|
+
* * `project_id = 12345 AND resource_visibility = PUBLIC`
|
|
3614
|
+
* * `file_store_path = "gs://mybucket"`
|
|
3615
|
+
*
|
|
3616
|
+
* The length of this field should be no more than 500 characters.
|
|
3617
|
+
* @param {object} [options]
|
|
3618
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
3619
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
3620
|
+
* The first element of the array is Array of {@link protos.google.privacy.dlp.v2.FileStoreDataProfile|FileStoreDataProfile}.
|
|
3621
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
3622
|
+
* times as needed and will merge results from all the pages into this array.
|
|
3623
|
+
* Note that it can affect your quota.
|
|
3624
|
+
* We recommend using `listFileStoreDataProfilesAsync()`
|
|
3625
|
+
* method described below for async iteration which you can stop as needed.
|
|
3626
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
3627
|
+
* for more details and examples.
|
|
3628
|
+
*/
|
|
3629
3629
|
listFileStoreDataProfiles(request?: protos.google.privacy.dlp.v2.IListFileStoreDataProfilesRequest, options?: CallOptions): Promise<[
|
|
3630
3630
|
protos.google.privacy.dlp.v2.IFileStoreDataProfile[],
|
|
3631
3631
|
protos.google.privacy.dlp.v2.IListFileStoreDataProfilesRequest | null,
|
|
@@ -3797,34 +3797,34 @@ export declare class DlpServiceClient {
|
|
|
3797
3797
|
*/
|
|
3798
3798
|
listFileStoreDataProfilesAsync(request?: protos.google.privacy.dlp.v2.IListFileStoreDataProfilesRequest, options?: CallOptions): AsyncIterable<protos.google.privacy.dlp.v2.IFileStoreDataProfile>;
|
|
3799
3799
|
/**
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3800
|
+
* Lists Connections in a parent. Use SearchConnections to see all connections
|
|
3801
|
+
* within an organization.
|
|
3802
|
+
*
|
|
3803
|
+
* @param {Object} request
|
|
3804
|
+
* The request object that will be sent.
|
|
3805
|
+
* @param {string} request.parent
|
|
3806
|
+
* Required. Resource name of the organization or project, for
|
|
3807
|
+
* example, `organizations/433245324/locations/europe` or
|
|
3808
|
+
* `projects/project-id/locations/asia`.
|
|
3809
|
+
* @param {number} [request.pageSize]
|
|
3810
|
+
* Optional. Number of results per page, max 1000.
|
|
3811
|
+
* @param {string} [request.pageToken]
|
|
3812
|
+
* Optional. Page token from a previous page to return the next set of
|
|
3813
|
+
* results. If set, all other request fields must match the original request.
|
|
3814
|
+
* @param {string} [request.filter]
|
|
3815
|
+
* Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR
|
|
3816
|
+
* @param {object} [options]
|
|
3817
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
3818
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
3819
|
+
* The first element of the array is Array of {@link protos.google.privacy.dlp.v2.Connection|Connection}.
|
|
3820
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
3821
|
+
* times as needed and will merge results from all the pages into this array.
|
|
3822
|
+
* Note that it can affect your quota.
|
|
3823
|
+
* We recommend using `listConnectionsAsync()`
|
|
3824
|
+
* method described below for async iteration which you can stop as needed.
|
|
3825
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
3826
|
+
* for more details and examples.
|
|
3827
|
+
*/
|
|
3828
3828
|
listConnections(request?: protos.google.privacy.dlp.v2.IListConnectionsRequest, options?: CallOptions): Promise<[
|
|
3829
3829
|
protos.google.privacy.dlp.v2.IConnection[],
|
|
3830
3830
|
protos.google.privacy.dlp.v2.IListConnectionsRequest | null,
|
|
@@ -3890,33 +3890,33 @@ export declare class DlpServiceClient {
|
|
|
3890
3890
|
*/
|
|
3891
3891
|
listConnectionsAsync(request?: protos.google.privacy.dlp.v2.IListConnectionsRequest, options?: CallOptions): AsyncIterable<protos.google.privacy.dlp.v2.IConnection>;
|
|
3892
3892
|
/**
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3893
|
+
* Searches for Connections in a parent.
|
|
3894
|
+
*
|
|
3895
|
+
* @param {Object} request
|
|
3896
|
+
* The request object that will be sent.
|
|
3897
|
+
* @param {string} request.parent
|
|
3898
|
+
* Required. Resource name of the organization or project with a wildcard
|
|
3899
|
+
* location, for example, `organizations/433245324/locations/-` or
|
|
3900
|
+
* `projects/project-id/locations/-`.
|
|
3901
|
+
* @param {number} [request.pageSize]
|
|
3902
|
+
* Optional. Number of results per page, max 1000.
|
|
3903
|
+
* @param {string} [request.pageToken]
|
|
3904
|
+
* Optional. Page token from a previous page to return the next set of
|
|
3905
|
+
* results. If set, all other request fields must match the original request.
|
|
3906
|
+
* @param {string} [request.filter]
|
|
3907
|
+
* Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR
|
|
3908
|
+
* @param {object} [options]
|
|
3909
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
3910
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
3911
|
+
* The first element of the array is Array of {@link protos.google.privacy.dlp.v2.Connection|Connection}.
|
|
3912
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
3913
|
+
* times as needed and will merge results from all the pages into this array.
|
|
3914
|
+
* Note that it can affect your quota.
|
|
3915
|
+
* We recommend using `searchConnectionsAsync()`
|
|
3916
|
+
* method described below for async iteration which you can stop as needed.
|
|
3917
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
3918
|
+
* for more details and examples.
|
|
3919
|
+
*/
|
|
3920
3920
|
searchConnections(request?: protos.google.privacy.dlp.v2.ISearchConnectionsRequest, options?: CallOptions): Promise<[
|
|
3921
3921
|
protos.google.privacy.dlp.v2.IConnection[],
|
|
3922
3922
|
protos.google.privacy.dlp.v2.ISearchConnectionsRequest | null,
|
|
@@ -3982,55 +3982,55 @@ export declare class DlpServiceClient {
|
|
|
3982
3982
|
*/
|
|
3983
3983
|
searchConnectionsAsync(request?: protos.google.privacy.dlp.v2.ISearchConnectionsRequest, options?: CallOptions): AsyncIterable<protos.google.privacy.dlp.v2.IConnection>;
|
|
3984
3984
|
/**
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
3985
|
+
* Gets information about a location.
|
|
3986
|
+
*
|
|
3987
|
+
* @param {Object} request
|
|
3988
|
+
* The request object that will be sent.
|
|
3989
|
+
* @param {string} request.name
|
|
3990
|
+
* Resource name for the location.
|
|
3991
|
+
* @param {object} [options]
|
|
3992
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html | CallOptions} for more details.
|
|
3993
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
3994
|
+
* The first element of the array is an object representing {@link google.cloud.location.Location | Location}.
|
|
3995
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
3996
|
+
* for more details and examples.
|
|
3997
|
+
* @example
|
|
3998
|
+
* ```
|
|
3999
|
+
* const [response] = await client.getLocation(request);
|
|
4000
|
+
* ```
|
|
4001
|
+
*/
|
|
4002
4002
|
getLocation(request: LocationProtos.google.cloud.location.IGetLocationRequest, options?: gax.CallOptions | Callback<LocationProtos.google.cloud.location.ILocation, LocationProtos.google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>, callback?: Callback<LocationProtos.google.cloud.location.ILocation, LocationProtos.google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>): Promise<LocationProtos.google.cloud.location.ILocation>;
|
|
4003
4003
|
/**
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4004
|
+
* Lists information about the supported locations for this service. Returns an iterable object.
|
|
4005
|
+
*
|
|
4006
|
+
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
|
|
4007
|
+
* @param {Object} request
|
|
4008
|
+
* The request object that will be sent.
|
|
4009
|
+
* @param {string} request.name
|
|
4010
|
+
* The resource that owns the locations collection, if applicable.
|
|
4011
|
+
* @param {string} request.filter
|
|
4012
|
+
* The standard list filter.
|
|
4013
|
+
* @param {number} request.pageSize
|
|
4014
|
+
* The standard list page size.
|
|
4015
|
+
* @param {string} request.pageToken
|
|
4016
|
+
* The standard list page token.
|
|
4017
|
+
* @param {object} [options]
|
|
4018
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
4019
|
+
* @returns {Object}
|
|
4020
|
+
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
|
|
4021
|
+
* When you iterate the returned iterable, each element will be an object representing
|
|
4022
|
+
* {@link google.cloud.location.Location | Location}. The API will be called under the hood as needed, once per the page,
|
|
4023
|
+
* so you can stop the iteration when you don't need more results.
|
|
4024
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
4025
|
+
* for more details and examples.
|
|
4026
|
+
* @example
|
|
4027
|
+
* ```
|
|
4028
|
+
* const iterable = client.listLocationsAsync(request);
|
|
4029
|
+
* for await (const response of iterable) {
|
|
4030
|
+
* // process response
|
|
4031
|
+
* }
|
|
4032
|
+
* ```
|
|
4033
|
+
*/
|
|
4034
4034
|
listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;
|
|
4035
4035
|
/**
|
|
4036
4036
|
* Return a fully-qualified discoveryConfig resource name string.
|