@maxim_mazurok/gapi.client.dlp-v2 0.0.20230326 → 0.0.20230409

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.
Files changed (3) hide show
  1. package/index.d.ts +11 -6
  2. package/package.json +1 -1
  3. package/tests.ts +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
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: 20230326
12
+ // Revision: 20230409
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -862,11 +862,16 @@ declare namespace gapi.client {
862
862
  /** Configuration of findings limit given for specified infoTypes. */
863
863
  maxFindingsPerInfoType?: GooglePrivacyDlpV2InfoTypeLimit[];
864
864
  /**
865
- * Max number of findings that will be returned for each item scanned. When set within `InspectJobConfig`, the maximum returned is 2000 regardless if this is set higher. When set
866
- * within `InspectContentRequest`, this field is ignored.
865
+ * Max number of findings that are returned for each item scanned. When set within an InspectContentRequest, this field is ignored. This value isn't a hard limit. If the number of
866
+ * findings for an item reaches this limit, the inspection of that item ends gradually, not abruptly. Therefore, the actual number of findings that Cloud DLP returns for the item can
867
+ * be multiple times higher than this value.
867
868
  */
868
869
  maxFindingsPerItem?: number;
869
- /** Max number of findings that will be returned per request/job. When set within `InspectContentRequest`, the maximum returned is 2000 regardless if this is set higher. */
870
+ /**
871
+ * Max number of findings that are returned per request or job. If you set this field in an InspectContentRequest, the resulting maximum value is the value that you set or 3,000,
872
+ * whichever is lower. This value isn't a hard limit. If an inspection reaches this limit, the inspection ends gradually, not abruptly. Therefore, the actual number of findings that
873
+ * Cloud DLP returns can be multiple times higher than this value.
874
+ */
870
875
  maxFindingsPerRequest?: number;
871
876
  }
872
877
  // tslint:disable-next-line:no-empty-interface
@@ -1081,8 +1086,8 @@ declare namespace gapi.client {
1081
1086
  infoTypes?: GooglePrivacyDlpV2InfoType[];
1082
1087
  /**
1083
1088
  * Configuration to control the number of findings returned. This is not used for data profiling. When redacting sensitive data from images, finding limits don't apply. They can cause
1084
- * unexpected or inconsistent results, where only some data is redacted. Don't include finding limits in RedactImage requests. Otherwise, Cloud DLP returns an error. When set within
1085
- * `InspectJobConfig`, the specified maximum values aren't hard limits. If an inspection job reaches these limits, the job ends gradually, not abruptly. Therefore, the actual number of
1089
+ * unexpected or inconsistent results, where only some data is redacted. Don't include finding limits in RedactImage requests. Otherwise, Cloud DLP returns an error. When set within an
1090
+ * InspectJobConfig, the specified maximum values aren't hard limits. If an inspection job reaches these limits, the job ends gradually, not abruptly. Therefore, the actual number of
1086
1091
  * findings that Cloud DLP returns can be multiple times higher than these maximum values.
1087
1092
  */
1088
1093
  limits?: GooglePrivacyDlpV2FindingLimits;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dlp-v2",
3
- "version": "0.0.20230326",
3
+ "version": "0.0.20230409",
4
4
  "description": "TypeScript typings for Cloud Data Loss Prevention (DLP) API v2",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20230326
6
+ // Revision: 20230409
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */