@maxim_mazurok/gapi.client.dlp-v2 0.0.20230514 → 0.0.20230521

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/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /* Type definitions for non-npm package Cloud Data Loss Prevention (DLP) API v2 0.0 */
1
+ /* Type definitions for non-npm package Cloud Data Loss Prevention (DLP) v2 0.0 */
2
2
  // Project: https://cloud.google.com/dlp/docs/
3
3
  // Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
4
4
  // Nick Amoscato <https://github.com/namoscato>
@@ -9,12 +9,12 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://dlp.googleapis.com/$discovery/rest?version=v2
12
- // Revision: 20230514
12
+ // Revision: 20230521
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
- /** Load Cloud Data Loss Prevention (DLP) API v2 */
17
+ /** Load Cloud Data Loss Prevention (DLP) v2 */
18
18
  function load(urlOrObject: "https://dlp.googleapis.com/$discovery/rest?version=v2"): Promise<void>;
19
19
  /** @deprecated Please load APIs with discovery documents. */
20
20
  function load(name: "dlp", version: "v2"): Promise<void>;
@@ -1837,6 +1837,9 @@ declare namespace gapi.client {
1837
1837
  /** Approximate percentage of non-null rows that contained data detected by this infotype. */
1838
1838
  estimatedPrevalence?:
1839
1839
  number;
1840
+ /** Whether this infoType was excluded from sensitivity and risk analysis due to factors such as low prevalence (subject to change). */
1841
+ excludedFromAnalysis?:
1842
+ boolean;
1840
1843
  /** The other infoType. */
1841
1844
  infoType?:
1842
1845
  GooglePrivacyDlpV2InfoType;
@@ -1938,7 +1941,7 @@ declare namespace gapi.client {
1938
1941
  GooglePrivacyDlpV2NumericalStatsConfig;
1939
1942
  }
1940
1943
  interface GooglePrivacyDlpV2ProfileStatus {
1941
- /** Profiling status code and optional message */
1944
+ /** Profiling status code and optional message. status.code will be 0 (default value) for OK. */
1942
1945
  status?:
1943
1946
  GoogleRpcStatus;
1944
1947
  /** Time when the profile generation status was updated */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dlp-v2",
3
- "version": "0.0.20230514",
4
- "description": "TypeScript typings for Cloud Data Loss Prevention (DLP) API v2",
3
+ "version": "0.0.20230521",
4
+ "description": "TypeScript typings for Cloud Data Loss Prevention (DLP) v2",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "email": "maxim@mazurok.com",
package/readme.md CHANGED
@@ -1,11 +1,11 @@
1
- # TypeScript typings for Cloud Data Loss Prevention (DLP) API v2
1
+ # TypeScript typings for Cloud Data Loss Prevention (DLP) v2
2
2
 
3
3
  Provides methods for detection, risk analysis, and de-identification of privacy-sensitive fragments in text, images, and Google Cloud Platform storage repositories.
4
4
  For detailed description please check [documentation](https://cloud.google.com/dlp/docs/).
5
5
 
6
6
  ## Installing
7
7
 
8
- Install typings for Cloud Data Loss Prevention (DLP) API:
8
+ Install typings for Cloud Data Loss Prevention (DLP):
9
9
 
10
10
  ```
11
11
  npm install @types/gapi.client.dlp-v2 --save-dev
@@ -62,7 +62,7 @@ gapi.auth.authorize(
62
62
  });
63
63
  ```
64
64
 
65
- After that you can use Cloud Data Loss Prevention (DLP) API resources: <!-- TODO: make this work for multiple namespaces -->
65
+ After that you can use Cloud Data Loss Prevention (DLP) resources: <!-- TODO: make this work for multiple namespaces -->
66
66
 
67
67
  ```typescript
68
68
 
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20230514
6
+ // Revision: 20230521
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */