@maxim_mazurok/gapi.client.dlp-v2 0.0.20230820 → 0.0.20230910

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 +18 -1
  2. package/package.json +1 -1
  3. package/tests.ts +289 -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: 20230820
12
+ // Revision: 20230910
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1411,6 +1411,17 @@ declare namespace gapi.client {
1411
1411
  versions?:
1412
1412
  GooglePrivacyDlpV2VersionDescription[];
1413
1413
  }
1414
+ interface GooglePrivacyDlpV2InfoTypeLikelihood {
1415
+ /**
1416
+ * Type of information the likelihood threshold applies to. Only one likelihood per info_type should be provided. If InfoTypeLikelihood does not have an info_type, the configuration
1417
+ * fails.
1418
+ */
1419
+ infoType?:
1420
+ GooglePrivacyDlpV2InfoType;
1421
+ /** Only returns findings equal or above this threshold. This field is required or else the configuration fails. */
1422
+ minLikelihood?:
1423
+ string;
1424
+ }
1414
1425
  interface GooglePrivacyDlpV2InfoTypeLimit {
1415
1426
  /**
1416
1427
  * Type of information the findings limit applies to. Only one limit per info_type should be provided. If InfoTypeLimit does not have an info_type, the DLP API applies the limit
@@ -1483,6 +1494,12 @@ declare namespace gapi.client {
1483
1494
  /** Only returns findings equal or above this threshold. The default is POSSIBLE. See https://cloud.google.com/dlp/docs/likelihood to learn more. */
1484
1495
  minLikelihood?:
1485
1496
  string;
1497
+ /**
1498
+ * Per infotype likelihoods. For each infotype, a user can specify a minimum likelihood, and only return that infotype if it is above that threshold. If an infotype is not included, it
1499
+ * uses the InspectConfig min_likelihood.
1500
+ */
1501
+ minLikelihoodPerInfoType?:
1502
+ GooglePrivacyDlpV2InfoTypeLikelihood[];
1486
1503
  /**
1487
1504
  * Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end, other rules are executed in the order they are specified
1488
1505
  * for each info type.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dlp-v2",
3
- "version": "0.0.20230820",
3
+ "version": "0.0.20230910",
4
4
  "description": "TypeScript typings for Cloud Data Loss Prevention (DLP) 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: 20230820
6
+ // Revision: 20230910
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -1897,6 +1897,18 @@ gapi.load('client', async () => {
1897
1897
  maxFindingsPerRequest: 42,
1898
1898
  },
1899
1899
  minLikelihood: "Test string",
1900
+ minLikelihoodPerInfoType: [
1901
+ {
1902
+ infoType: {
1903
+ name: "Test string",
1904
+ sensitivityScore: {
1905
+ score: "Test string",
1906
+ },
1907
+ version: "Test string",
1908
+ },
1909
+ minLikelihood: "Test string",
1910
+ }
1911
+ ],
1900
1912
  ruleSet: [
1901
1913
  {
1902
1914
  infoTypes: [
@@ -2093,6 +2105,18 @@ gapi.load('client', async () => {
2093
2105
  maxFindingsPerRequest: 42,
2094
2106
  },
2095
2107
  minLikelihood: "Test string",
2108
+ minLikelihoodPerInfoType: [
2109
+ {
2110
+ infoType: {
2111
+ name: "Test string",
2112
+ sensitivityScore: {
2113
+ score: "Test string",
2114
+ },
2115
+ version: "Test string",
2116
+ },
2117
+ minLikelihood: "Test string",
2118
+ }
2119
+ ],
2096
2120
  ruleSet: [
2097
2121
  {
2098
2122
  infoTypes: [
@@ -4041,6 +4065,18 @@ gapi.load('client', async () => {
4041
4065
  maxFindingsPerRequest: 42,
4042
4066
  },
4043
4067
  minLikelihood: "Test string",
4068
+ minLikelihoodPerInfoType: [
4069
+ {
4070
+ infoType: {
4071
+ name: "Test string",
4072
+ sensitivityScore: {
4073
+ score: "Test string",
4074
+ },
4075
+ version: "Test string",
4076
+ },
4077
+ minLikelihood: "Test string",
4078
+ }
4079
+ ],
4044
4080
  ruleSet: [
4045
4081
  {
4046
4082
  infoTypes: [
@@ -4237,6 +4273,18 @@ gapi.load('client', async () => {
4237
4273
  maxFindingsPerRequest: 42,
4238
4274
  },
4239
4275
  minLikelihood: "Test string",
4276
+ minLikelihoodPerInfoType: [
4277
+ {
4278
+ infoType: {
4279
+ name: "Test string",
4280
+ sensitivityScore: {
4281
+ score: "Test string",
4282
+ },
4283
+ version: "Test string",
4284
+ },
4285
+ minLikelihood: "Test string",
4286
+ }
4287
+ ],
4240
4288
  ruleSet: [
4241
4289
  {
4242
4290
  infoTypes: [
@@ -4476,6 +4524,18 @@ gapi.load('client', async () => {
4476
4524
  maxFindingsPerRequest: 42,
4477
4525
  },
4478
4526
  minLikelihood: "Test string",
4527
+ minLikelihoodPerInfoType: [
4528
+ {
4529
+ infoType: {
4530
+ name: "Test string",
4531
+ sensitivityScore: {
4532
+ score: "Test string",
4533
+ },
4534
+ version: "Test string",
4535
+ },
4536
+ minLikelihood: "Test string",
4537
+ }
4538
+ ],
4479
4539
  ruleSet: [
4480
4540
  {
4481
4541
  infoTypes: [
@@ -4828,6 +4888,18 @@ gapi.load('client', async () => {
4828
4888
  maxFindingsPerRequest: 42,
4829
4889
  },
4830
4890
  minLikelihood: "Test string",
4891
+ minLikelihoodPerInfoType: [
4892
+ {
4893
+ infoType: {
4894
+ name: "Test string",
4895
+ sensitivityScore: {
4896
+ score: "Test string",
4897
+ },
4898
+ version: "Test string",
4899
+ },
4900
+ minLikelihood: "Test string",
4901
+ }
4902
+ ],
4831
4903
  ruleSet: [
4832
4904
  {
4833
4905
  infoTypes: [
@@ -6173,6 +6245,18 @@ gapi.load('client', async () => {
6173
6245
  maxFindingsPerRequest: 42,
6174
6246
  },
6175
6247
  minLikelihood: "Test string",
6248
+ minLikelihoodPerInfoType: [
6249
+ {
6250
+ infoType: {
6251
+ name: "Test string",
6252
+ sensitivityScore: {
6253
+ score: "Test string",
6254
+ },
6255
+ version: "Test string",
6256
+ },
6257
+ minLikelihood: "Test string",
6258
+ }
6259
+ ],
6176
6260
  ruleSet: [
6177
6261
  {
6178
6262
  infoTypes: [
@@ -6389,6 +6473,18 @@ gapi.load('client', async () => {
6389
6473
  maxFindingsPerRequest: 42,
6390
6474
  },
6391
6475
  minLikelihood: "Test string",
6476
+ minLikelihoodPerInfoType: [
6477
+ {
6478
+ infoType: {
6479
+ name: "Test string",
6480
+ sensitivityScore: {
6481
+ score: "Test string",
6482
+ },
6483
+ version: "Test string",
6484
+ },
6485
+ minLikelihood: "Test string",
6486
+ }
6487
+ ],
6392
6488
  ruleSet: [
6393
6489
  {
6394
6490
  infoTypes: [
@@ -6601,6 +6697,18 @@ gapi.load('client', async () => {
6601
6697
  maxFindingsPerRequest: 42,
6602
6698
  },
6603
6699
  minLikelihood: "Test string",
6700
+ minLikelihoodPerInfoType: [
6701
+ {
6702
+ infoType: {
6703
+ name: "Test string",
6704
+ sensitivityScore: {
6705
+ score: "Test string",
6706
+ },
6707
+ version: "Test string",
6708
+ },
6709
+ minLikelihood: "Test string",
6710
+ }
6711
+ ],
6604
6712
  ruleSet: [
6605
6713
  {
6606
6714
  infoTypes: [
@@ -9481,6 +9589,18 @@ gapi.load('client', async () => {
9481
9589
  maxFindingsPerRequest: 42,
9482
9590
  },
9483
9591
  minLikelihood: "Test string",
9592
+ minLikelihoodPerInfoType: [
9593
+ {
9594
+ infoType: {
9595
+ name: "Test string",
9596
+ sensitivityScore: {
9597
+ score: "Test string",
9598
+ },
9599
+ version: "Test string",
9600
+ },
9601
+ minLikelihood: "Test string",
9602
+ }
9603
+ ],
9484
9604
  ruleSet: [
9485
9605
  {
9486
9606
  infoTypes: [
@@ -9951,6 +10071,18 @@ gapi.load('client', async () => {
9951
10071
  maxFindingsPerRequest: 42,
9952
10072
  },
9953
10073
  minLikelihood: "Test string",
10074
+ minLikelihoodPerInfoType: [
10075
+ {
10076
+ infoType: {
10077
+ name: "Test string",
10078
+ sensitivityScore: {
10079
+ score: "Test string",
10080
+ },
10081
+ version: "Test string",
10082
+ },
10083
+ minLikelihood: "Test string",
10084
+ }
10085
+ ],
9954
10086
  ruleSet: [
9955
10087
  {
9956
10088
  infoTypes: [
@@ -10127,6 +10259,18 @@ gapi.load('client', async () => {
10127
10259
  maxFindingsPerRequest: 42,
10128
10260
  },
10129
10261
  minLikelihood: "Test string",
10262
+ minLikelihoodPerInfoType: [
10263
+ {
10264
+ infoType: {
10265
+ name: "Test string",
10266
+ sensitivityScore: {
10267
+ score: "Test string",
10268
+ },
10269
+ version: "Test string",
10270
+ },
10271
+ minLikelihood: "Test string",
10272
+ }
10273
+ ],
10130
10274
  ruleSet: [
10131
10275
  {
10132
10276
  infoTypes: [
@@ -10323,6 +10467,18 @@ gapi.load('client', async () => {
10323
10467
  maxFindingsPerRequest: 42,
10324
10468
  },
10325
10469
  minLikelihood: "Test string",
10470
+ minLikelihoodPerInfoType: [
10471
+ {
10472
+ infoType: {
10473
+ name: "Test string",
10474
+ sensitivityScore: {
10475
+ score: "Test string",
10476
+ },
10477
+ version: "Test string",
10478
+ },
10479
+ minLikelihood: "Test string",
10480
+ }
10481
+ ],
10326
10482
  ruleSet: [
10327
10483
  {
10328
10484
  infoTypes: [
@@ -10567,6 +10723,18 @@ gapi.load('client', async () => {
10567
10723
  maxFindingsPerRequest: 42,
10568
10724
  },
10569
10725
  minLikelihood: "Test string",
10726
+ minLikelihoodPerInfoType: [
10727
+ {
10728
+ infoType: {
10729
+ name: "Test string",
10730
+ sensitivityScore: {
10731
+ score: "Test string",
10732
+ },
10733
+ version: "Test string",
10734
+ },
10735
+ minLikelihood: "Test string",
10736
+ }
10737
+ ],
10570
10738
  ruleSet: [
10571
10739
  {
10572
10740
  infoTypes: [
@@ -10919,6 +11087,18 @@ gapi.load('client', async () => {
10919
11087
  maxFindingsPerRequest: 42,
10920
11088
  },
10921
11089
  minLikelihood: "Test string",
11090
+ minLikelihoodPerInfoType: [
11091
+ {
11092
+ infoType: {
11093
+ name: "Test string",
11094
+ sensitivityScore: {
11095
+ score: "Test string",
11096
+ },
11097
+ version: "Test string",
11098
+ },
11099
+ minLikelihood: "Test string",
11100
+ }
11101
+ ],
10922
11102
  ruleSet: [
10923
11103
  {
10924
11104
  infoTypes: [
@@ -12048,6 +12228,18 @@ gapi.load('client', async () => {
12048
12228
  maxFindingsPerRequest: 42,
12049
12229
  },
12050
12230
  minLikelihood: "Test string",
12231
+ minLikelihoodPerInfoType: [
12232
+ {
12233
+ infoType: {
12234
+ name: "Test string",
12235
+ sensitivityScore: {
12236
+ score: "Test string",
12237
+ },
12238
+ version: "Test string",
12239
+ },
12240
+ minLikelihood: "Test string",
12241
+ }
12242
+ ],
12051
12243
  ruleSet: [
12052
12244
  {
12053
12245
  infoTypes: [
@@ -12264,6 +12456,18 @@ gapi.load('client', async () => {
12264
12456
  maxFindingsPerRequest: 42,
12265
12457
  },
12266
12458
  minLikelihood: "Test string",
12459
+ minLikelihoodPerInfoType: [
12460
+ {
12461
+ infoType: {
12462
+ name: "Test string",
12463
+ sensitivityScore: {
12464
+ score: "Test string",
12465
+ },
12466
+ version: "Test string",
12467
+ },
12468
+ minLikelihood: "Test string",
12469
+ }
12470
+ ],
12267
12471
  ruleSet: [
12268
12472
  {
12269
12473
  infoTypes: [
@@ -12476,6 +12680,18 @@ gapi.load('client', async () => {
12476
12680
  maxFindingsPerRequest: 42,
12477
12681
  },
12478
12682
  minLikelihood: "Test string",
12683
+ minLikelihoodPerInfoType: [
12684
+ {
12685
+ infoType: {
12686
+ name: "Test string",
12687
+ sensitivityScore: {
12688
+ score: "Test string",
12689
+ },
12690
+ version: "Test string",
12691
+ },
12692
+ minLikelihood: "Test string",
12693
+ }
12694
+ ],
12479
12695
  ruleSet: [
12480
12696
  {
12481
12697
  infoTypes: [
@@ -15356,6 +15572,18 @@ gapi.load('client', async () => {
15356
15572
  maxFindingsPerRequest: 42,
15357
15573
  },
15358
15574
  minLikelihood: "Test string",
15575
+ minLikelihoodPerInfoType: [
15576
+ {
15577
+ infoType: {
15578
+ name: "Test string",
15579
+ sensitivityScore: {
15580
+ score: "Test string",
15581
+ },
15582
+ version: "Test string",
15583
+ },
15584
+ minLikelihood: "Test string",
15585
+ }
15586
+ ],
15359
15587
  ruleSet: [
15360
15588
  {
15361
15589
  infoTypes: [
@@ -15900,6 +16128,18 @@ gapi.load('client', async () => {
15900
16128
  maxFindingsPerRequest: 42,
15901
16129
  },
15902
16130
  minLikelihood: "Test string",
16131
+ minLikelihoodPerInfoType: [
16132
+ {
16133
+ infoType: {
16134
+ name: "Test string",
16135
+ sensitivityScore: {
16136
+ score: "Test string",
16137
+ },
16138
+ version: "Test string",
16139
+ },
16140
+ minLikelihood: "Test string",
16141
+ }
16142
+ ],
15903
16143
  ruleSet: [
15904
16144
  {
15905
16145
  infoTypes: [
@@ -16076,6 +16316,18 @@ gapi.load('client', async () => {
16076
16316
  maxFindingsPerRequest: 42,
16077
16317
  },
16078
16318
  minLikelihood: "Test string",
16319
+ minLikelihoodPerInfoType: [
16320
+ {
16321
+ infoType: {
16322
+ name: "Test string",
16323
+ sensitivityScore: {
16324
+ score: "Test string",
16325
+ },
16326
+ version: "Test string",
16327
+ },
16328
+ minLikelihood: "Test string",
16329
+ }
16330
+ ],
16079
16331
  ruleSet: [
16080
16332
  {
16081
16333
  infoTypes: [
@@ -16272,6 +16524,18 @@ gapi.load('client', async () => {
16272
16524
  maxFindingsPerRequest: 42,
16273
16525
  },
16274
16526
  minLikelihood: "Test string",
16527
+ minLikelihoodPerInfoType: [
16528
+ {
16529
+ infoType: {
16530
+ name: "Test string",
16531
+ sensitivityScore: {
16532
+ score: "Test string",
16533
+ },
16534
+ version: "Test string",
16535
+ },
16536
+ minLikelihood: "Test string",
16537
+ }
16538
+ ],
16275
16539
  ruleSet: [
16276
16540
  {
16277
16541
  infoTypes: [
@@ -16516,6 +16780,18 @@ gapi.load('client', async () => {
16516
16780
  maxFindingsPerRequest: 42,
16517
16781
  },
16518
16782
  minLikelihood: "Test string",
16783
+ minLikelihoodPerInfoType: [
16784
+ {
16785
+ infoType: {
16786
+ name: "Test string",
16787
+ sensitivityScore: {
16788
+ score: "Test string",
16789
+ },
16790
+ version: "Test string",
16791
+ },
16792
+ minLikelihood: "Test string",
16793
+ }
16794
+ ],
16519
16795
  ruleSet: [
16520
16796
  {
16521
16797
  infoTypes: [
@@ -16937,6 +17213,18 @@ gapi.load('client', async () => {
16937
17213
  maxFindingsPerRequest: 42,
16938
17214
  },
16939
17215
  minLikelihood: "Test string",
17216
+ minLikelihoodPerInfoType: [
17217
+ {
17218
+ infoType: {
17219
+ name: "Test string",
17220
+ sensitivityScore: {
17221
+ score: "Test string",
17222
+ },
17223
+ version: "Test string",
17224
+ },
17225
+ minLikelihood: "Test string",
17226
+ }
17227
+ ],
16940
17228
  ruleSet: [
16941
17229
  {
16942
17230
  infoTypes: [