@google-cloud/dlp 3.2.0 → 3.4.0

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.
@@ -465,7 +465,7 @@
465
465
  "options": {
466
466
  "(google.api.http).post": "/v2/{parent=projects/*}/jobTriggers",
467
467
  "(google.api.http).body": "*",
468
- "(google.api.http).additional_bindings.post": "/v2/{parent=projects/*/locations/*}/jobTriggers",
468
+ "(google.api.http).additional_bindings.post": "/v2/{parent=organizations/*/locations/*}/jobTriggers",
469
469
  "(google.api.http).additional_bindings.body": "*",
470
470
  "(google.api.method_signature)": "parent,job_trigger"
471
471
  },
@@ -474,10 +474,16 @@
474
474
  "(google.api.http)": {
475
475
  "post": "/v2/{parent=projects/*}/jobTriggers",
476
476
  "body": "*",
477
- "additional_bindings": {
478
- "post": "/v2/{parent=projects/*/locations/*}/jobTriggers",
479
- "body": "*"
480
- }
477
+ "additional_bindings": [
478
+ {
479
+ "post": "/v2/{parent=projects/*/locations/*}/jobTriggers",
480
+ "body": "*"
481
+ },
482
+ {
483
+ "post": "/v2/{parent=organizations/*/locations/*}/jobTriggers",
484
+ "body": "*"
485
+ }
486
+ ]
481
487
  }
482
488
  },
483
489
  {
@@ -491,7 +497,7 @@
491
497
  "options": {
492
498
  "(google.api.http).patch": "/v2/{name=projects/*/jobTriggers/*}",
493
499
  "(google.api.http).body": "*",
494
- "(google.api.http).additional_bindings.patch": "/v2/{name=projects/*/locations/*/jobTriggers/*}",
500
+ "(google.api.http).additional_bindings.patch": "/v2/{name=organizations/*/locations/*/jobTriggers/*}",
495
501
  "(google.api.http).additional_bindings.body": "*",
496
502
  "(google.api.method_signature)": "name,job_trigger,update_mask"
497
503
  },
@@ -500,10 +506,16 @@
500
506
  "(google.api.http)": {
501
507
  "patch": "/v2/{name=projects/*/jobTriggers/*}",
502
508
  "body": "*",
503
- "additional_bindings": {
504
- "patch": "/v2/{name=projects/*/locations/*/jobTriggers/*}",
505
- "body": "*"
506
- }
509
+ "additional_bindings": [
510
+ {
511
+ "patch": "/v2/{name=projects/*/locations/*/jobTriggers/*}",
512
+ "body": "*"
513
+ },
514
+ {
515
+ "patch": "/v2/{name=organizations/*/locations/*/jobTriggers/*}",
516
+ "body": "*"
517
+ }
518
+ ]
507
519
  }
508
520
  },
509
521
  {
@@ -536,16 +548,21 @@
536
548
  "responseType": "JobTrigger",
537
549
  "options": {
538
550
  "(google.api.http).get": "/v2/{name=projects/*/jobTriggers/*}",
539
- "(google.api.http).additional_bindings.get": "/v2/{name=projects/*/locations/*/jobTriggers/*}",
551
+ "(google.api.http).additional_bindings.get": "/v2/{name=organizations/*/locations/*/jobTriggers/*}",
540
552
  "(google.api.method_signature)": "name"
541
553
  },
542
554
  "parsedOptions": [
543
555
  {
544
556
  "(google.api.http)": {
545
557
  "get": "/v2/{name=projects/*/jobTriggers/*}",
546
- "additional_bindings": {
547
- "get": "/v2/{name=projects/*/locations/*/jobTriggers/*}"
548
- }
558
+ "additional_bindings": [
559
+ {
560
+ "get": "/v2/{name=projects/*/locations/*/jobTriggers/*}"
561
+ },
562
+ {
563
+ "get": "/v2/{name=organizations/*/locations/*/jobTriggers/*}"
564
+ }
565
+ ]
549
566
  }
550
567
  },
551
568
  {
@@ -558,16 +575,21 @@
558
575
  "responseType": "ListJobTriggersResponse",
559
576
  "options": {
560
577
  "(google.api.http).get": "/v2/{parent=projects/*}/jobTriggers",
561
- "(google.api.http).additional_bindings.get": "/v2/{parent=projects/*/locations/*}/jobTriggers",
578
+ "(google.api.http).additional_bindings.get": "/v2/{parent=organizations/*/locations/*}/jobTriggers",
562
579
  "(google.api.method_signature)": "parent"
563
580
  },
564
581
  "parsedOptions": [
565
582
  {
566
583
  "(google.api.http)": {
567
584
  "get": "/v2/{parent=projects/*}/jobTriggers",
568
- "additional_bindings": {
569
- "get": "/v2/{parent=projects/*/locations/*}/jobTriggers"
570
- }
585
+ "additional_bindings": [
586
+ {
587
+ "get": "/v2/{parent=projects/*/locations/*}/jobTriggers"
588
+ },
589
+ {
590
+ "get": "/v2/{parent=organizations/*/locations/*}/jobTriggers"
591
+ }
592
+ ]
571
593
  }
572
594
  },
573
595
  {
@@ -580,16 +602,21 @@
580
602
  "responseType": "google.protobuf.Empty",
581
603
  "options": {
582
604
  "(google.api.http).delete": "/v2/{name=projects/*/jobTriggers/*}",
583
- "(google.api.http).additional_bindings.delete": "/v2/{name=projects/*/locations/*/jobTriggers/*}",
605
+ "(google.api.http).additional_bindings.delete": "/v2/{name=organizations/*/locations/*/jobTriggers/*}",
584
606
  "(google.api.method_signature)": "name"
585
607
  },
586
608
  "parsedOptions": [
587
609
  {
588
610
  "(google.api.http)": {
589
611
  "delete": "/v2/{name=projects/*/jobTriggers/*}",
590
- "additional_bindings": {
591
- "delete": "/v2/{name=projects/*/locations/*/jobTriggers/*}"
592
- }
612
+ "additional_bindings": [
613
+ {
614
+ "delete": "/v2/{name=projects/*/locations/*/jobTriggers/*}"
615
+ },
616
+ {
617
+ "delete": "/v2/{name=organizations/*/locations/*/jobTriggers/*}"
618
+ }
619
+ ]
593
620
  }
594
621
  },
595
622
  {
@@ -653,16 +680,21 @@
653
680
  "responseType": "ListDlpJobsResponse",
654
681
  "options": {
655
682
  "(google.api.http).get": "/v2/{parent=projects/*}/dlpJobs",
656
- "(google.api.http).additional_bindings.get": "/v2/{parent=projects/*/locations/*}/dlpJobs",
683
+ "(google.api.http).additional_bindings.get": "/v2/{parent=organizations/*/locations/*}/dlpJobs",
657
684
  "(google.api.method_signature)": "parent"
658
685
  },
659
686
  "parsedOptions": [
660
687
  {
661
688
  "(google.api.http)": {
662
689
  "get": "/v2/{parent=projects/*}/dlpJobs",
663
- "additional_bindings": {
664
- "get": "/v2/{parent=projects/*/locations/*}/dlpJobs"
665
- }
690
+ "additional_bindings": [
691
+ {
692
+ "get": "/v2/{parent=projects/*/locations/*}/dlpJobs"
693
+ },
694
+ {
695
+ "get": "/v2/{parent=organizations/*/locations/*}/dlpJobs"
696
+ }
697
+ ]
666
698
  }
667
699
  },
668
700
  {
@@ -1104,6 +1136,8 @@
1104
1136
  "TEXT_UTF8": 5,
1105
1137
  "WORD_DOCUMENT": 7,
1106
1138
  "PDF": 8,
1139
+ "POWERPOINT_DOCUMENT": 9,
1140
+ "EXCEL_DOCUMENT": 10,
1107
1141
  "AVRO": 11,
1108
1142
  "CSV": 12,
1109
1143
  "TSV": 13
@@ -1237,6 +1271,10 @@
1237
1271
  "options": {
1238
1272
  "(google.api.resource_reference).type": "dlp.googleapis.com/DlpJob"
1239
1273
  }
1274
+ },
1275
+ "findingId": {
1276
+ "type": "string",
1277
+ "id": 15
1240
1278
  }
1241
1279
  }
1242
1280
  },
@@ -2593,7 +2631,8 @@
2593
2631
  "timePartConfig",
2594
2632
  "cryptoHashConfig",
2595
2633
  "dateShiftConfig",
2596
- "cryptoDeterministicConfig"
2634
+ "cryptoDeterministicConfig",
2635
+ "replaceDictionaryConfig"
2597
2636
  ]
2598
2637
  }
2599
2638
  },
@@ -2641,6 +2680,10 @@
2641
2680
  "cryptoDeterministicConfig": {
2642
2681
  "type": "CryptoDeterministicConfig",
2643
2682
  "id": 12
2683
+ },
2684
+ "replaceDictionaryConfig": {
2685
+ "type": "ReplaceDictionaryConfig",
2686
+ "id": 13
2644
2687
  }
2645
2688
  }
2646
2689
  },
@@ -2697,6 +2740,21 @@
2697
2740
  }
2698
2741
  }
2699
2742
  },
2743
+ "ReplaceDictionaryConfig": {
2744
+ "oneofs": {
2745
+ "type": {
2746
+ "oneof": [
2747
+ "wordList"
2748
+ ]
2749
+ }
2750
+ },
2751
+ "fields": {
2752
+ "wordList": {
2753
+ "type": "CustomInfoType.Dictionary.WordList",
2754
+ "id": 1
2755
+ }
2756
+ }
2757
+ },
2700
2758
  "ReplaceWithInfoTypeConfig": {
2701
2759
  "fields": {}
2702
2760
  },
@@ -3159,6 +3217,13 @@
3159
3217
  }
3160
3218
  },
3161
3219
  "nested": {
3220
+ "TransformationResultCode": {
3221
+ "values": {
3222
+ "TRANSFORMATION_RESULT_CODE_UNSPECIFIED": 0,
3223
+ "SUCCESS": 1,
3224
+ "ERROR": 2
3225
+ }
3226
+ },
3162
3227
  "SummaryResult": {
3163
3228
  "fields": {
3164
3229
  "count": {
@@ -3174,13 +3239,6 @@
3174
3239
  "id": 3
3175
3240
  }
3176
3241
  }
3177
- },
3178
- "TransformationResultCode": {
3179
- "values": {
3180
- "TRANSFORMATION_RESULT_CODE_UNSPECIFIED": 0,
3181
- "SUCCESS": 1,
3182
- "ERROR": 2
3183
- }
3184
3242
  }
3185
3243
  }
3186
3244
  },
@@ -3714,6 +3772,10 @@
3714
3772
  "type": "string",
3715
3773
  "id": 5
3716
3774
  },
3775
+ "type": {
3776
+ "type": "DlpJobType",
3777
+ "id": 6
3778
+ },
3717
3779
  "locationId": {
3718
3780
  "type": "string",
3719
3781
  "id": 7
@@ -4412,21 +4474,13 @@
4412
4474
  }
4413
4475
  },
4414
4476
  "InfoType": {
4415
- "fields": {
4416
- "name": {
4417
- "type": "string",
4418
- "id": 1
4419
- }
4420
- }
4421
- },
4422
- "StoredType": {
4423
4477
  "fields": {
4424
4478
  "name": {
4425
4479
  "type": "string",
4426
4480
  "id": 1
4427
4481
  },
4428
- "createTime": {
4429
- "type": "google.protobuf.Timestamp",
4482
+ "version": {
4483
+ "type": "string",
4430
4484
  "id": 2
4431
4485
  }
4432
4486
  }
@@ -4441,6 +4495,18 @@
4441
4495
  "VERY_LIKELY": 5
4442
4496
  }
4443
4497
  },
4498
+ "StoredType": {
4499
+ "fields": {
4500
+ "name": {
4501
+ "type": "string",
4502
+ "id": 1
4503
+ },
4504
+ "createTime": {
4505
+ "type": "google.protobuf.Timestamp",
4506
+ "id": 2
4507
+ }
4508
+ }
4509
+ },
4444
4510
  "CustomInfoType": {
4445
4511
  "oneofs": {
4446
4512
  "type": {
@@ -4648,6 +4714,21 @@
4648
4714
  }
4649
4715
  }
4650
4716
  },
4717
+ "FileType": {
4718
+ "values": {
4719
+ "FILE_TYPE_UNSPECIFIED": 0,
4720
+ "BINARY_FILE": 1,
4721
+ "TEXT_FILE": 2,
4722
+ "IMAGE": 3,
4723
+ "WORD": 5,
4724
+ "PDF": 6,
4725
+ "AVRO": 7,
4726
+ "CSV": 8,
4727
+ "TSV": 9,
4728
+ "POWERPOINT": 11,
4729
+ "EXCEL": 12
4730
+ }
4731
+ },
4651
4732
  "CloudStorageRegexFileSet": {
4652
4733
  "fields": {
4653
4734
  "bucketName": {
@@ -4759,6 +4840,11 @@
4759
4840
  "rule": "repeated",
4760
4841
  "type": "FieldId",
4761
4842
  "id": 5
4843
+ },
4844
+ "includedFields": {
4845
+ "rule": "repeated",
4846
+ "type": "FieldId",
4847
+ "id": 7
4762
4848
  }
4763
4849
  },
4764
4850
  "nested": {
@@ -4827,19 +4913,6 @@
4827
4913
  }
4828
4914
  }
4829
4915
  },
4830
- "FileType": {
4831
- "values": {
4832
- "FILE_TYPE_UNSPECIFIED": 0,
4833
- "BINARY_FILE": 1,
4834
- "TEXT_FILE": 2,
4835
- "IMAGE": 3,
4836
- "WORD": 5,
4837
- "PDF": 6,
4838
- "AVRO": 7,
4839
- "CSV": 8,
4840
- "TSV": 9
4841
- }
4842
- },
4843
4916
  "HybridOptions": {
4844
4917
  "fields": {
4845
4918
  "description": {
@@ -5001,12 +5074,99 @@
5001
5074
  "options": {
5002
5075
  "go_package": "google.golang.org/genproto/googleapis/api/annotations;annotations",
5003
5076
  "java_multiple_files": true,
5004
- "java_outer_classname": "HttpProto",
5077
+ "java_outer_classname": "ResourceProto",
5005
5078
  "java_package": "com.google.api",
5006
5079
  "objc_class_prefix": "GAPI",
5007
5080
  "cc_enable_arenas": true
5008
5081
  },
5009
5082
  "nested": {
5083
+ "http": {
5084
+ "type": "HttpRule",
5085
+ "id": 72295728,
5086
+ "extend": "google.protobuf.MethodOptions"
5087
+ },
5088
+ "Http": {
5089
+ "fields": {
5090
+ "rules": {
5091
+ "rule": "repeated",
5092
+ "type": "HttpRule",
5093
+ "id": 1
5094
+ },
5095
+ "fullyDecodeReservedExpansion": {
5096
+ "type": "bool",
5097
+ "id": 2
5098
+ }
5099
+ }
5100
+ },
5101
+ "HttpRule": {
5102
+ "oneofs": {
5103
+ "pattern": {
5104
+ "oneof": [
5105
+ "get",
5106
+ "put",
5107
+ "post",
5108
+ "delete",
5109
+ "patch",
5110
+ "custom"
5111
+ ]
5112
+ }
5113
+ },
5114
+ "fields": {
5115
+ "selector": {
5116
+ "type": "string",
5117
+ "id": 1
5118
+ },
5119
+ "get": {
5120
+ "type": "string",
5121
+ "id": 2
5122
+ },
5123
+ "put": {
5124
+ "type": "string",
5125
+ "id": 3
5126
+ },
5127
+ "post": {
5128
+ "type": "string",
5129
+ "id": 4
5130
+ },
5131
+ "delete": {
5132
+ "type": "string",
5133
+ "id": 5
5134
+ },
5135
+ "patch": {
5136
+ "type": "string",
5137
+ "id": 6
5138
+ },
5139
+ "custom": {
5140
+ "type": "CustomHttpPattern",
5141
+ "id": 8
5142
+ },
5143
+ "body": {
5144
+ "type": "string",
5145
+ "id": 7
5146
+ },
5147
+ "responseBody": {
5148
+ "type": "string",
5149
+ "id": 12
5150
+ },
5151
+ "additionalBindings": {
5152
+ "rule": "repeated",
5153
+ "type": "HttpRule",
5154
+ "id": 11
5155
+ }
5156
+ }
5157
+ },
5158
+ "CustomHttpPattern": {
5159
+ "fields": {
5160
+ "kind": {
5161
+ "type": "string",
5162
+ "id": 1
5163
+ },
5164
+ "path": {
5165
+ "type": "string",
5166
+ "id": 2
5167
+ }
5168
+ }
5169
+ },
5010
5170
  "methodSignature": {
5011
5171
  "rule": "repeated",
5012
5172
  "type": "string",
@@ -5037,7 +5197,8 @@
5037
5197
  "OUTPUT_ONLY": 3,
5038
5198
  "INPUT_ONLY": 4,
5039
5199
  "IMMUTABLE": 5,
5040
- "UNORDERED_LIST": 6
5200
+ "UNORDERED_LIST": 6,
5201
+ "NON_EMPTY_DEFAULT": 7
5041
5202
  }
5042
5203
  },
5043
5204
  "resourceReference": {
@@ -5116,93 +5277,6 @@
5116
5277
  "id": 2
5117
5278
  }
5118
5279
  }
5119
- },
5120
- "http": {
5121
- "type": "HttpRule",
5122
- "id": 72295728,
5123
- "extend": "google.protobuf.MethodOptions"
5124
- },
5125
- "Http": {
5126
- "fields": {
5127
- "rules": {
5128
- "rule": "repeated",
5129
- "type": "HttpRule",
5130
- "id": 1
5131
- },
5132
- "fullyDecodeReservedExpansion": {
5133
- "type": "bool",
5134
- "id": 2
5135
- }
5136
- }
5137
- },
5138
- "HttpRule": {
5139
- "oneofs": {
5140
- "pattern": {
5141
- "oneof": [
5142
- "get",
5143
- "put",
5144
- "post",
5145
- "delete",
5146
- "patch",
5147
- "custom"
5148
- ]
5149
- }
5150
- },
5151
- "fields": {
5152
- "selector": {
5153
- "type": "string",
5154
- "id": 1
5155
- },
5156
- "get": {
5157
- "type": "string",
5158
- "id": 2
5159
- },
5160
- "put": {
5161
- "type": "string",
5162
- "id": 3
5163
- },
5164
- "post": {
5165
- "type": "string",
5166
- "id": 4
5167
- },
5168
- "delete": {
5169
- "type": "string",
5170
- "id": 5
5171
- },
5172
- "patch": {
5173
- "type": "string",
5174
- "id": 6
5175
- },
5176
- "custom": {
5177
- "type": "CustomHttpPattern",
5178
- "id": 8
5179
- },
5180
- "body": {
5181
- "type": "string",
5182
- "id": 7
5183
- },
5184
- "responseBody": {
5185
- "type": "string",
5186
- "id": 12
5187
- },
5188
- "additionalBindings": {
5189
- "rule": "repeated",
5190
- "type": "HttpRule",
5191
- "id": 11
5192
- }
5193
- }
5194
- },
5195
- "CustomHttpPattern": {
5196
- "fields": {
5197
- "kind": {
5198
- "type": "string",
5199
- "id": 1
5200
- },
5201
- "path": {
5202
- "type": "string",
5203
- "id": 2
5204
- }
5205
- }
5206
5280
  }
5207
5281
  }
5208
5282
  },
@@ -5767,6 +5841,18 @@
5767
5841
  ]
5768
5842
  ],
5769
5843
  "reserved": [
5844
+ [
5845
+ 4,
5846
+ 4
5847
+ ],
5848
+ [
5849
+ 5,
5850
+ 5
5851
+ ],
5852
+ [
5853
+ 6,
5854
+ 6
5855
+ ],
5770
5856
  [
5771
5857
  8,
5772
5858
  8