@maxim_mazurok/gapi.client.dlp-v2 0.0.20230508 → 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: 20230508
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>;
@@ -810,7 +810,7 @@ declare namespace gapi.client {
810
810
  GooglePrivacyDlpV2TransformationOverview;
811
811
  }
812
812
  interface GooglePrivacyDlpV2DeidentifyDataSourceDetails {
813
- /** Stats about de-identification. */
813
+ /** Stats about the de-identification operation. */
814
814
  deidentifyStats?:
815
815
  GooglePrivacyDlpV2DeidentifyDataSourceStats;
816
816
  /** De-identification config used for the request. */
@@ -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 */
@@ -2199,13 +2202,13 @@ declare namespace gapi.client {
2199
2202
  interface GooglePrivacyDlpV2ReplaceWithInfoTypeConfig {
2200
2203
  }
2201
2204
  interface GooglePrivacyDlpV2RequestedDeidentifyOptions {
2202
- /** Snapshot of the state of the DeidentifyTemplate from the Deidentify action at the time this job was run. */
2205
+ /** Snapshot of the state of the `DeidentifyTemplate` from the Deidentify action at the time this job was run. */
2203
2206
  snapshotDeidentifyTemplate?:
2204
2207
  GooglePrivacyDlpV2DeidentifyTemplate;
2205
- /** Snapshot of the state of the image redact DeidentifyTemplate from the Deidentify action at the time this job was run. */
2208
+ /** Snapshot of the state of the image transformation `DeidentifyTemplate` from the `Deidentify` action at the time this job was run. */
2206
2209
  snapshotImageRedactTemplate?:
2207
2210
  GooglePrivacyDlpV2DeidentifyTemplate;
2208
- /** Snapshot of the state of the structured DeidentifyTemplate from the Deidentify action at the time this job was run. */
2211
+ /** Snapshot of the state of the structured `DeidentifyTemplate` from the `Deidentify` action at the time this job was run. */
2209
2212
  snapshotStructuredDeidentifyTemplate?:
2210
2213
  GooglePrivacyDlpV2DeidentifyTemplate;
2211
2214
  }
@@ -2271,7 +2274,7 @@ declare namespace gapi.client {
2271
2274
  GooglePrivacyDlpV2InfoType[];
2272
2275
  }
2273
2276
  interface GooglePrivacyDlpV2SensitivityScore {
2274
- /** The score applied to the resource. */
2277
+ /** The sensitivity score applied to the resource. */
2275
2278
  score?:
2276
2279
  string;
2277
2280
  }
@@ -2407,7 +2410,7 @@ declare namespace gapi.client {
2407
2410
  /** The BigQuery location where the dataset's data is stored. See https://cloud.google.com/bigquery/docs/locations for supported locations. */
2408
2411
  datasetLocation?:
2409
2412
  string;
2410
- /** The GCP project ID that owns the BigQuery dataset. */
2413
+ /** The Google Cloud project ID that owns the BigQuery dataset. */
2411
2414
  datasetProjectId?:
2412
2415
  string;
2413
2416
  /** How the table is encrypted. */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dlp-v2",
3
- "version": "0.0.20230508",
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: 20230508
6
+ // Revision: 20230521
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */