@maxim_mazurok/gapi.client.dlp-v2 0.0.20221017 → 0.0.20221029
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 +12 -1
- package/package.json +1 -1
- 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:
|
|
12
|
+
// Revision: 20221029
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -730,6 +730,15 @@ declare namespace gapi.client {
|
|
|
730
730
|
/** The times the error occurred. */
|
|
731
731
|
timestamps?: string[];
|
|
732
732
|
}
|
|
733
|
+
interface GooglePrivacyDlpV2ExcludeByHotword {
|
|
734
|
+
/** Regular expression pattern defining what qualifies as a hotword. */
|
|
735
|
+
hotwordRegex?: GooglePrivacyDlpV2Regex;
|
|
736
|
+
/**
|
|
737
|
+
* Range of characters within which the entire hotword must reside. The total length of the window cannot exceed 1000 characters. The windowBefore property in proximity should be set
|
|
738
|
+
* to 1 if the hotword needs to be included in a column header.
|
|
739
|
+
*/
|
|
740
|
+
proximity?: GooglePrivacyDlpV2Proximity;
|
|
741
|
+
}
|
|
733
742
|
interface GooglePrivacyDlpV2ExcludeInfoTypes {
|
|
734
743
|
/**
|
|
735
744
|
* InfoType list in ExclusionRule rule drops a finding when it overlaps or contained within with a finding of an infoType from this list. For example, for
|
|
@@ -741,6 +750,8 @@ declare namespace gapi.client {
|
|
|
741
750
|
interface GooglePrivacyDlpV2ExclusionRule {
|
|
742
751
|
/** Dictionary which defines the rule. */
|
|
743
752
|
dictionary?: GooglePrivacyDlpV2Dictionary;
|
|
753
|
+
/** Drop if the hotword rule is contained in the proximate context. For tabular data, the context includes the column name. */
|
|
754
|
+
excludeByHotword?: GooglePrivacyDlpV2ExcludeByHotword;
|
|
744
755
|
/** Set of infoTypes for which findings would affect this rule. */
|
|
745
756
|
excludeInfoTypes?: GooglePrivacyDlpV2ExcludeInfoTypes;
|
|
746
757
|
/** How the rule is applied, see MatchingType documentation for details. */
|
package/package.json
CHANGED
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:
|
|
6
|
+
// Revision: 20221029
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -1852,6 +1852,18 @@ gapi.load('client', async () => {
|
|
|
1852
1852
|
],
|
|
1853
1853
|
},
|
|
1854
1854
|
},
|
|
1855
|
+
excludeByHotword: {
|
|
1856
|
+
hotwordRegex: {
|
|
1857
|
+
groupIndexes: [
|
|
1858
|
+
42
|
|
1859
|
+
],
|
|
1860
|
+
pattern: "Test string",
|
|
1861
|
+
},
|
|
1862
|
+
proximity: {
|
|
1863
|
+
windowAfter: 42,
|
|
1864
|
+
windowBefore: 42,
|
|
1865
|
+
},
|
|
1866
|
+
},
|
|
1855
1867
|
excludeInfoTypes: {
|
|
1856
1868
|
infoTypes: [
|
|
1857
1869
|
{
|
|
@@ -2018,6 +2030,18 @@ gapi.load('client', async () => {
|
|
|
2018
2030
|
],
|
|
2019
2031
|
},
|
|
2020
2032
|
},
|
|
2033
|
+
excludeByHotword: {
|
|
2034
|
+
hotwordRegex: {
|
|
2035
|
+
groupIndexes: [
|
|
2036
|
+
42
|
|
2037
|
+
],
|
|
2038
|
+
pattern: "Test string",
|
|
2039
|
+
},
|
|
2040
|
+
proximity: {
|
|
2041
|
+
windowAfter: 42,
|
|
2042
|
+
windowBefore: 42,
|
|
2043
|
+
},
|
|
2044
|
+
},
|
|
2021
2045
|
excludeInfoTypes: {
|
|
2022
2046
|
infoTypes: [
|
|
2023
2047
|
{
|
|
@@ -3882,6 +3906,18 @@ gapi.load('client', async () => {
|
|
|
3882
3906
|
],
|
|
3883
3907
|
},
|
|
3884
3908
|
},
|
|
3909
|
+
excludeByHotword: {
|
|
3910
|
+
hotwordRegex: {
|
|
3911
|
+
groupIndexes: [
|
|
3912
|
+
42
|
|
3913
|
+
],
|
|
3914
|
+
pattern: "Test string",
|
|
3915
|
+
},
|
|
3916
|
+
proximity: {
|
|
3917
|
+
windowAfter: 42,
|
|
3918
|
+
windowBefore: 42,
|
|
3919
|
+
},
|
|
3920
|
+
},
|
|
3885
3921
|
excludeInfoTypes: {
|
|
3886
3922
|
infoTypes: [
|
|
3887
3923
|
{
|
|
@@ -4048,6 +4084,18 @@ gapi.load('client', async () => {
|
|
|
4048
4084
|
],
|
|
4049
4085
|
},
|
|
4050
4086
|
},
|
|
4087
|
+
excludeByHotword: {
|
|
4088
|
+
hotwordRegex: {
|
|
4089
|
+
groupIndexes: [
|
|
4090
|
+
42
|
|
4091
|
+
],
|
|
4092
|
+
pattern: "Test string",
|
|
4093
|
+
},
|
|
4094
|
+
proximity: {
|
|
4095
|
+
windowAfter: 42,
|
|
4096
|
+
windowBefore: 42,
|
|
4097
|
+
},
|
|
4098
|
+
},
|
|
4051
4099
|
excludeInfoTypes: {
|
|
4052
4100
|
infoTypes: [
|
|
4053
4101
|
{
|
|
@@ -4257,6 +4305,18 @@ gapi.load('client', async () => {
|
|
|
4257
4305
|
],
|
|
4258
4306
|
},
|
|
4259
4307
|
},
|
|
4308
|
+
excludeByHotword: {
|
|
4309
|
+
hotwordRegex: {
|
|
4310
|
+
groupIndexes: [
|
|
4311
|
+
42
|
|
4312
|
+
],
|
|
4313
|
+
pattern: "Test string",
|
|
4314
|
+
},
|
|
4315
|
+
proximity: {
|
|
4316
|
+
windowAfter: 42,
|
|
4317
|
+
windowBefore: 42,
|
|
4318
|
+
},
|
|
4319
|
+
},
|
|
4260
4320
|
excludeInfoTypes: {
|
|
4261
4321
|
infoTypes: [
|
|
4262
4322
|
{
|
|
@@ -4579,6 +4639,18 @@ gapi.load('client', async () => {
|
|
|
4579
4639
|
],
|
|
4580
4640
|
},
|
|
4581
4641
|
},
|
|
4642
|
+
excludeByHotword: {
|
|
4643
|
+
hotwordRegex: {
|
|
4644
|
+
groupIndexes: [
|
|
4645
|
+
42
|
|
4646
|
+
],
|
|
4647
|
+
pattern: "Test string",
|
|
4648
|
+
},
|
|
4649
|
+
proximity: {
|
|
4650
|
+
windowAfter: 42,
|
|
4651
|
+
windowBefore: 42,
|
|
4652
|
+
},
|
|
4653
|
+
},
|
|
4582
4654
|
excludeInfoTypes: {
|
|
4583
4655
|
infoTypes: [
|
|
4584
4656
|
{
|
|
@@ -5867,6 +5939,18 @@ gapi.load('client', async () => {
|
|
|
5867
5939
|
],
|
|
5868
5940
|
},
|
|
5869
5941
|
},
|
|
5942
|
+
excludeByHotword: {
|
|
5943
|
+
hotwordRegex: {
|
|
5944
|
+
groupIndexes: [
|
|
5945
|
+
42
|
|
5946
|
+
],
|
|
5947
|
+
pattern: "Test string",
|
|
5948
|
+
},
|
|
5949
|
+
proximity: {
|
|
5950
|
+
windowAfter: 42,
|
|
5951
|
+
windowBefore: 42,
|
|
5952
|
+
},
|
|
5953
|
+
},
|
|
5870
5954
|
excludeInfoTypes: {
|
|
5871
5955
|
infoTypes: [
|
|
5872
5956
|
{
|
|
@@ -6053,6 +6137,18 @@ gapi.load('client', async () => {
|
|
|
6053
6137
|
],
|
|
6054
6138
|
},
|
|
6055
6139
|
},
|
|
6140
|
+
excludeByHotword: {
|
|
6141
|
+
hotwordRegex: {
|
|
6142
|
+
groupIndexes: [
|
|
6143
|
+
42
|
|
6144
|
+
],
|
|
6145
|
+
pattern: "Test string",
|
|
6146
|
+
},
|
|
6147
|
+
proximity: {
|
|
6148
|
+
windowAfter: 42,
|
|
6149
|
+
windowBefore: 42,
|
|
6150
|
+
},
|
|
6151
|
+
},
|
|
6056
6152
|
excludeInfoTypes: {
|
|
6057
6153
|
infoTypes: [
|
|
6058
6154
|
{
|
|
@@ -6235,6 +6331,18 @@ gapi.load('client', async () => {
|
|
|
6235
6331
|
],
|
|
6236
6332
|
},
|
|
6237
6333
|
},
|
|
6334
|
+
excludeByHotword: {
|
|
6335
|
+
hotwordRegex: {
|
|
6336
|
+
groupIndexes: [
|
|
6337
|
+
42
|
|
6338
|
+
],
|
|
6339
|
+
pattern: "Test string",
|
|
6340
|
+
},
|
|
6341
|
+
proximity: {
|
|
6342
|
+
windowAfter: 42,
|
|
6343
|
+
windowBefore: 42,
|
|
6344
|
+
},
|
|
6345
|
+
},
|
|
6238
6346
|
excludeInfoTypes: {
|
|
6239
6347
|
infoTypes: [
|
|
6240
6348
|
{
|
|
@@ -9004,6 +9112,18 @@ gapi.load('client', async () => {
|
|
|
9004
9112
|
],
|
|
9005
9113
|
},
|
|
9006
9114
|
},
|
|
9115
|
+
excludeByHotword: {
|
|
9116
|
+
hotwordRegex: {
|
|
9117
|
+
groupIndexes: [
|
|
9118
|
+
42
|
|
9119
|
+
],
|
|
9120
|
+
pattern: "Test string",
|
|
9121
|
+
},
|
|
9122
|
+
proximity: {
|
|
9123
|
+
windowAfter: 42,
|
|
9124
|
+
windowBefore: 42,
|
|
9125
|
+
},
|
|
9126
|
+
},
|
|
9007
9127
|
excludeInfoTypes: {
|
|
9008
9128
|
infoTypes: [
|
|
9009
9129
|
{
|
|
@@ -9435,6 +9555,18 @@ gapi.load('client', async () => {
|
|
|
9435
9555
|
],
|
|
9436
9556
|
},
|
|
9437
9557
|
},
|
|
9558
|
+
excludeByHotword: {
|
|
9559
|
+
hotwordRegex: {
|
|
9560
|
+
groupIndexes: [
|
|
9561
|
+
42
|
|
9562
|
+
],
|
|
9563
|
+
pattern: "Test string",
|
|
9564
|
+
},
|
|
9565
|
+
proximity: {
|
|
9566
|
+
windowAfter: 42,
|
|
9567
|
+
windowBefore: 42,
|
|
9568
|
+
},
|
|
9569
|
+
},
|
|
9438
9570
|
excludeInfoTypes: {
|
|
9439
9571
|
infoTypes: [
|
|
9440
9572
|
{
|
|
@@ -9581,6 +9713,18 @@ gapi.load('client', async () => {
|
|
|
9581
9713
|
],
|
|
9582
9714
|
},
|
|
9583
9715
|
},
|
|
9716
|
+
excludeByHotword: {
|
|
9717
|
+
hotwordRegex: {
|
|
9718
|
+
groupIndexes: [
|
|
9719
|
+
42
|
|
9720
|
+
],
|
|
9721
|
+
pattern: "Test string",
|
|
9722
|
+
},
|
|
9723
|
+
proximity: {
|
|
9724
|
+
windowAfter: 42,
|
|
9725
|
+
windowBefore: 42,
|
|
9726
|
+
},
|
|
9727
|
+
},
|
|
9584
9728
|
excludeInfoTypes: {
|
|
9585
9729
|
infoTypes: [
|
|
9586
9730
|
{
|
|
@@ -9747,6 +9891,18 @@ gapi.load('client', async () => {
|
|
|
9747
9891
|
],
|
|
9748
9892
|
},
|
|
9749
9893
|
},
|
|
9894
|
+
excludeByHotword: {
|
|
9895
|
+
hotwordRegex: {
|
|
9896
|
+
groupIndexes: [
|
|
9897
|
+
42
|
|
9898
|
+
],
|
|
9899
|
+
pattern: "Test string",
|
|
9900
|
+
},
|
|
9901
|
+
proximity: {
|
|
9902
|
+
windowAfter: 42,
|
|
9903
|
+
windowBefore: 42,
|
|
9904
|
+
},
|
|
9905
|
+
},
|
|
9750
9906
|
excludeInfoTypes: {
|
|
9751
9907
|
infoTypes: [
|
|
9752
9908
|
{
|
|
@@ -9961,6 +10117,18 @@ gapi.load('client', async () => {
|
|
|
9961
10117
|
],
|
|
9962
10118
|
},
|
|
9963
10119
|
},
|
|
10120
|
+
excludeByHotword: {
|
|
10121
|
+
hotwordRegex: {
|
|
10122
|
+
groupIndexes: [
|
|
10123
|
+
42
|
|
10124
|
+
],
|
|
10125
|
+
pattern: "Test string",
|
|
10126
|
+
},
|
|
10127
|
+
proximity: {
|
|
10128
|
+
windowAfter: 42,
|
|
10129
|
+
windowBefore: 42,
|
|
10130
|
+
},
|
|
10131
|
+
},
|
|
9964
10132
|
excludeInfoTypes: {
|
|
9965
10133
|
infoTypes: [
|
|
9966
10134
|
{
|
|
@@ -10283,6 +10451,18 @@ gapi.load('client', async () => {
|
|
|
10283
10451
|
],
|
|
10284
10452
|
},
|
|
10285
10453
|
},
|
|
10454
|
+
excludeByHotword: {
|
|
10455
|
+
hotwordRegex: {
|
|
10456
|
+
groupIndexes: [
|
|
10457
|
+
42
|
|
10458
|
+
],
|
|
10459
|
+
pattern: "Test string",
|
|
10460
|
+
},
|
|
10461
|
+
proximity: {
|
|
10462
|
+
windowAfter: 42,
|
|
10463
|
+
windowBefore: 42,
|
|
10464
|
+
},
|
|
10465
|
+
},
|
|
10286
10466
|
excludeInfoTypes: {
|
|
10287
10467
|
infoTypes: [
|
|
10288
10468
|
{
|
|
@@ -11355,6 +11535,18 @@ gapi.load('client', async () => {
|
|
|
11355
11535
|
],
|
|
11356
11536
|
},
|
|
11357
11537
|
},
|
|
11538
|
+
excludeByHotword: {
|
|
11539
|
+
hotwordRegex: {
|
|
11540
|
+
groupIndexes: [
|
|
11541
|
+
42
|
|
11542
|
+
],
|
|
11543
|
+
pattern: "Test string",
|
|
11544
|
+
},
|
|
11545
|
+
proximity: {
|
|
11546
|
+
windowAfter: 42,
|
|
11547
|
+
windowBefore: 42,
|
|
11548
|
+
},
|
|
11549
|
+
},
|
|
11358
11550
|
excludeInfoTypes: {
|
|
11359
11551
|
infoTypes: [
|
|
11360
11552
|
{
|
|
@@ -11541,6 +11733,18 @@ gapi.load('client', async () => {
|
|
|
11541
11733
|
],
|
|
11542
11734
|
},
|
|
11543
11735
|
},
|
|
11736
|
+
excludeByHotword: {
|
|
11737
|
+
hotwordRegex: {
|
|
11738
|
+
groupIndexes: [
|
|
11739
|
+
42
|
|
11740
|
+
],
|
|
11741
|
+
pattern: "Test string",
|
|
11742
|
+
},
|
|
11743
|
+
proximity: {
|
|
11744
|
+
windowAfter: 42,
|
|
11745
|
+
windowBefore: 42,
|
|
11746
|
+
},
|
|
11747
|
+
},
|
|
11544
11748
|
excludeInfoTypes: {
|
|
11545
11749
|
infoTypes: [
|
|
11546
11750
|
{
|
|
@@ -11723,6 +11927,18 @@ gapi.load('client', async () => {
|
|
|
11723
11927
|
],
|
|
11724
11928
|
},
|
|
11725
11929
|
},
|
|
11930
|
+
excludeByHotword: {
|
|
11931
|
+
hotwordRegex: {
|
|
11932
|
+
groupIndexes: [
|
|
11933
|
+
42
|
|
11934
|
+
],
|
|
11935
|
+
pattern: "Test string",
|
|
11936
|
+
},
|
|
11937
|
+
proximity: {
|
|
11938
|
+
windowAfter: 42,
|
|
11939
|
+
windowBefore: 42,
|
|
11940
|
+
},
|
|
11941
|
+
},
|
|
11726
11942
|
excludeInfoTypes: {
|
|
11727
11943
|
infoTypes: [
|
|
11728
11944
|
{
|
|
@@ -14492,6 +14708,18 @@ gapi.load('client', async () => {
|
|
|
14492
14708
|
],
|
|
14493
14709
|
},
|
|
14494
14710
|
},
|
|
14711
|
+
excludeByHotword: {
|
|
14712
|
+
hotwordRegex: {
|
|
14713
|
+
groupIndexes: [
|
|
14714
|
+
42
|
|
14715
|
+
],
|
|
14716
|
+
pattern: "Test string",
|
|
14717
|
+
},
|
|
14718
|
+
proximity: {
|
|
14719
|
+
windowAfter: 42,
|
|
14720
|
+
windowBefore: 42,
|
|
14721
|
+
},
|
|
14722
|
+
},
|
|
14495
14723
|
excludeInfoTypes: {
|
|
14496
14724
|
infoTypes: [
|
|
14497
14725
|
{
|
|
@@ -14997,6 +15225,18 @@ gapi.load('client', async () => {
|
|
|
14997
15225
|
],
|
|
14998
15226
|
},
|
|
14999
15227
|
},
|
|
15228
|
+
excludeByHotword: {
|
|
15229
|
+
hotwordRegex: {
|
|
15230
|
+
groupIndexes: [
|
|
15231
|
+
42
|
|
15232
|
+
],
|
|
15233
|
+
pattern: "Test string",
|
|
15234
|
+
},
|
|
15235
|
+
proximity: {
|
|
15236
|
+
windowAfter: 42,
|
|
15237
|
+
windowBefore: 42,
|
|
15238
|
+
},
|
|
15239
|
+
},
|
|
15000
15240
|
excludeInfoTypes: {
|
|
15001
15241
|
infoTypes: [
|
|
15002
15242
|
{
|
|
@@ -15143,6 +15383,18 @@ gapi.load('client', async () => {
|
|
|
15143
15383
|
],
|
|
15144
15384
|
},
|
|
15145
15385
|
},
|
|
15386
|
+
excludeByHotword: {
|
|
15387
|
+
hotwordRegex: {
|
|
15388
|
+
groupIndexes: [
|
|
15389
|
+
42
|
|
15390
|
+
],
|
|
15391
|
+
pattern: "Test string",
|
|
15392
|
+
},
|
|
15393
|
+
proximity: {
|
|
15394
|
+
windowAfter: 42,
|
|
15395
|
+
windowBefore: 42,
|
|
15396
|
+
},
|
|
15397
|
+
},
|
|
15146
15398
|
excludeInfoTypes: {
|
|
15147
15399
|
infoTypes: [
|
|
15148
15400
|
{
|
|
@@ -15309,6 +15561,18 @@ gapi.load('client', async () => {
|
|
|
15309
15561
|
],
|
|
15310
15562
|
},
|
|
15311
15563
|
},
|
|
15564
|
+
excludeByHotword: {
|
|
15565
|
+
hotwordRegex: {
|
|
15566
|
+
groupIndexes: [
|
|
15567
|
+
42
|
|
15568
|
+
],
|
|
15569
|
+
pattern: "Test string",
|
|
15570
|
+
},
|
|
15571
|
+
proximity: {
|
|
15572
|
+
windowAfter: 42,
|
|
15573
|
+
windowBefore: 42,
|
|
15574
|
+
},
|
|
15575
|
+
},
|
|
15312
15576
|
excludeInfoTypes: {
|
|
15313
15577
|
infoTypes: [
|
|
15314
15578
|
{
|
|
@@ -15523,6 +15787,18 @@ gapi.load('client', async () => {
|
|
|
15523
15787
|
],
|
|
15524
15788
|
},
|
|
15525
15789
|
},
|
|
15790
|
+
excludeByHotword: {
|
|
15791
|
+
hotwordRegex: {
|
|
15792
|
+
groupIndexes: [
|
|
15793
|
+
42
|
|
15794
|
+
],
|
|
15795
|
+
pattern: "Test string",
|
|
15796
|
+
},
|
|
15797
|
+
proximity: {
|
|
15798
|
+
windowAfter: 42,
|
|
15799
|
+
windowBefore: 42,
|
|
15800
|
+
},
|
|
15801
|
+
},
|
|
15526
15802
|
excludeInfoTypes: {
|
|
15527
15803
|
infoTypes: [
|
|
15528
15804
|
{
|
|
@@ -15914,6 +16190,18 @@ gapi.load('client', async () => {
|
|
|
15914
16190
|
],
|
|
15915
16191
|
},
|
|
15916
16192
|
},
|
|
16193
|
+
excludeByHotword: {
|
|
16194
|
+
hotwordRegex: {
|
|
16195
|
+
groupIndexes: [
|
|
16196
|
+
42
|
|
16197
|
+
],
|
|
16198
|
+
pattern: "Test string",
|
|
16199
|
+
},
|
|
16200
|
+
proximity: {
|
|
16201
|
+
windowAfter: 42,
|
|
16202
|
+
windowBefore: 42,
|
|
16203
|
+
},
|
|
16204
|
+
},
|
|
15917
16205
|
excludeInfoTypes: {
|
|
15918
16206
|
infoTypes: [
|
|
15919
16207
|
{
|