@google-cloud/dlp 3.3.0 → 4.0.1

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.
@@ -1136,6 +1136,8 @@
1136
1136
  "TEXT_UTF8": 5,
1137
1137
  "WORD_DOCUMENT": 7,
1138
1138
  "PDF": 8,
1139
+ "POWERPOINT_DOCUMENT": 9,
1140
+ "EXCEL_DOCUMENT": 10,
1139
1141
  "AVRO": 11,
1140
1142
  "CSV": 12,
1141
1143
  "TSV": 13
@@ -3215,6 +3217,13 @@
3215
3217
  }
3216
3218
  },
3217
3219
  "nested": {
3220
+ "TransformationResultCode": {
3221
+ "values": {
3222
+ "TRANSFORMATION_RESULT_CODE_UNSPECIFIED": 0,
3223
+ "SUCCESS": 1,
3224
+ "ERROR": 2
3225
+ }
3226
+ },
3218
3227
  "SummaryResult": {
3219
3228
  "fields": {
3220
3229
  "count": {
@@ -3230,13 +3239,6 @@
3230
3239
  "id": 3
3231
3240
  }
3232
3241
  }
3233
- },
3234
- "TransformationResultCode": {
3235
- "values": {
3236
- "TRANSFORMATION_RESULT_CODE_UNSPECIFIED": 0,
3237
- "SUCCESS": 1,
3238
- "ERROR": 2
3239
- }
3240
3242
  }
3241
3243
  }
3242
3244
  },
@@ -3826,6 +3828,116 @@
3826
3828
  }
3827
3829
  }
3828
3830
  },
3831
+ "DataProfileAction": {
3832
+ "oneofs": {
3833
+ "action": {
3834
+ "oneof": [
3835
+ "exportData",
3836
+ "pubSubNotification"
3837
+ ]
3838
+ }
3839
+ },
3840
+ "fields": {
3841
+ "exportData": {
3842
+ "type": "Export",
3843
+ "id": 1
3844
+ },
3845
+ "pubSubNotification": {
3846
+ "type": "PubSubNotification",
3847
+ "id": 2
3848
+ }
3849
+ },
3850
+ "nested": {
3851
+ "Export": {
3852
+ "fields": {
3853
+ "profileTable": {
3854
+ "type": "BigQueryTable",
3855
+ "id": 1
3856
+ }
3857
+ }
3858
+ },
3859
+ "PubSubNotification": {
3860
+ "fields": {
3861
+ "topic": {
3862
+ "type": "string",
3863
+ "id": 1
3864
+ },
3865
+ "event": {
3866
+ "type": "EventType",
3867
+ "id": 2
3868
+ },
3869
+ "pubsubCondition": {
3870
+ "type": "DataProfilePubSubCondition",
3871
+ "id": 3
3872
+ },
3873
+ "detailOfMessage": {
3874
+ "type": "DetailLevel",
3875
+ "id": 4
3876
+ }
3877
+ },
3878
+ "nested": {
3879
+ "DetailLevel": {
3880
+ "values": {
3881
+ "DETAIL_LEVEL_UNSPECIFIED": 0,
3882
+ "TABLE_PROFILE": 1,
3883
+ "RESOURCE_NAME": 2
3884
+ }
3885
+ }
3886
+ }
3887
+ },
3888
+ "EventType": {
3889
+ "values": {
3890
+ "EVENT_TYPE_UNSPECIFIED": 0,
3891
+ "NEW_PROFILE": 1,
3892
+ "CHANGED_PROFILE": 2,
3893
+ "SCORE_INCREASED": 3,
3894
+ "ERROR_CHANGED": 4
3895
+ }
3896
+ }
3897
+ }
3898
+ },
3899
+ "DataProfileJobConfig": {
3900
+ "fields": {
3901
+ "location": {
3902
+ "type": "DataProfileLocation",
3903
+ "id": 1
3904
+ },
3905
+ "projectId": {
3906
+ "type": "string",
3907
+ "id": 5
3908
+ },
3909
+ "inspectTemplates": {
3910
+ "rule": "repeated",
3911
+ "type": "string",
3912
+ "id": 7
3913
+ },
3914
+ "dataProfileActions": {
3915
+ "rule": "repeated",
3916
+ "type": "DataProfileAction",
3917
+ "id": 6
3918
+ }
3919
+ }
3920
+ },
3921
+ "DataProfileLocation": {
3922
+ "oneofs": {
3923
+ "location": {
3924
+ "oneof": [
3925
+ "organizationId",
3926
+ "folderId"
3927
+ ]
3928
+ }
3929
+ },
3930
+ "fields": {
3931
+ "organizationId": {
3932
+ "type": "int64",
3933
+ "id": 1
3934
+ },
3935
+ "folderId": {
3936
+ "type": "int64",
3937
+ "id": 2
3938
+ }
3939
+ }
3940
+ },
3829
3941
  "DlpJob": {
3830
3942
  "options": {
3831
3943
  "(google.api.resource).type": "dlp.googleapis.com/DlpJob",
@@ -4471,26 +4583,291 @@
4471
4583
  "INVALID": 4
4472
4584
  }
4473
4585
  },
4474
- "InfoType": {
4586
+ "SensitivityScore": {
4587
+ "fields": {
4588
+ "score": {
4589
+ "type": "SensitivityScoreLevel",
4590
+ "id": 1
4591
+ }
4592
+ },
4593
+ "nested": {
4594
+ "SensitivityScoreLevel": {
4595
+ "values": {
4596
+ "SENSITIVITY_SCORE_UNSPECIFIED": 0,
4597
+ "SENSITIVITY_LOW": 10,
4598
+ "SENSITIVITY_MODERATE": 20,
4599
+ "SENSITIVITY_HIGH": 30
4600
+ }
4601
+ }
4602
+ }
4603
+ },
4604
+ "DataRiskLevel": {
4605
+ "fields": {
4606
+ "score": {
4607
+ "type": "DataRiskLevelScore",
4608
+ "id": 1
4609
+ }
4610
+ },
4611
+ "nested": {
4612
+ "DataRiskLevelScore": {
4613
+ "values": {
4614
+ "RISK_SCORE_UNSPECIFIED": 0,
4615
+ "RISK_LOW": 10,
4616
+ "RISK_MODERATE": 20,
4617
+ "RISK_HIGH": 30
4618
+ }
4619
+ }
4620
+ }
4621
+ },
4622
+ "ResourceVisibility": {
4623
+ "values": {
4624
+ "RESOURCE_VISIBILITY_UNSPECIFIED": 0,
4625
+ "RESOURCE_VISIBILITY_PUBLIC": 10,
4626
+ "RESOURCE_VISIBILITY_RESTRICTED": 20
4627
+ }
4628
+ },
4629
+ "DataProfileConfigSnapshot": {
4630
+ "fields": {
4631
+ "inspectConfig": {
4632
+ "type": "InspectConfig",
4633
+ "id": 2
4634
+ },
4635
+ "dataProfileJob": {
4636
+ "type": "DataProfileJobConfig",
4637
+ "id": 3
4638
+ }
4639
+ }
4640
+ },
4641
+ "TableDataProfile": {
4475
4642
  "fields": {
4476
4643
  "name": {
4477
4644
  "type": "string",
4478
4645
  "id": 1
4479
4646
  },
4480
- "version": {
4647
+ "projectDataProfile": {
4481
4648
  "type": "string",
4482
4649
  "id": 2
4650
+ },
4651
+ "datasetProjectId": {
4652
+ "type": "string",
4653
+ "id": 24
4654
+ },
4655
+ "datasetLocation": {
4656
+ "type": "string",
4657
+ "id": 29
4658
+ },
4659
+ "datasetId": {
4660
+ "type": "string",
4661
+ "id": 25
4662
+ },
4663
+ "tableId": {
4664
+ "type": "string",
4665
+ "id": 26
4666
+ },
4667
+ "fullResource": {
4668
+ "type": "string",
4669
+ "id": 3
4670
+ },
4671
+ "profileStatus": {
4672
+ "type": "ProfileStatus",
4673
+ "id": 21
4674
+ },
4675
+ "state": {
4676
+ "type": "State",
4677
+ "id": 22
4678
+ },
4679
+ "sensitivityScore": {
4680
+ "type": "SensitivityScore",
4681
+ "id": 5
4682
+ },
4683
+ "dataRiskLevel": {
4684
+ "type": "DataRiskLevel",
4685
+ "id": 6
4686
+ },
4687
+ "predictedInfoTypes": {
4688
+ "rule": "repeated",
4689
+ "type": "InfoTypeSummary",
4690
+ "id": 27
4691
+ },
4692
+ "otherInfoTypes": {
4693
+ "rule": "repeated",
4694
+ "type": "OtherInfoTypeSummary",
4695
+ "id": 28
4696
+ },
4697
+ "configSnapshot": {
4698
+ "type": "DataProfileConfigSnapshot",
4699
+ "id": 7
4700
+ },
4701
+ "lastModifiedTime": {
4702
+ "type": "google.protobuf.Timestamp",
4703
+ "id": 8
4704
+ },
4705
+ "expirationTime": {
4706
+ "type": "google.protobuf.Timestamp",
4707
+ "id": 9
4708
+ },
4709
+ "scannedColumnCount": {
4710
+ "type": "int64",
4711
+ "id": 10
4712
+ },
4713
+ "failedColumnCount": {
4714
+ "type": "int64",
4715
+ "id": 11
4716
+ },
4717
+ "tableSizeBytes": {
4718
+ "type": "int64",
4719
+ "id": 12
4720
+ },
4721
+ "rowCount": {
4722
+ "type": "int64",
4723
+ "id": 13
4724
+ },
4725
+ "encryptionStatus": {
4726
+ "type": "EncryptionStatus",
4727
+ "id": 14
4728
+ },
4729
+ "resourceVisibility": {
4730
+ "type": "ResourceVisibility",
4731
+ "id": 15
4732
+ },
4733
+ "profileLastGenerated": {
4734
+ "type": "google.protobuf.Timestamp",
4735
+ "id": 16
4736
+ },
4737
+ "resourceLabels": {
4738
+ "keyType": "string",
4739
+ "type": "string",
4740
+ "id": 17
4741
+ },
4742
+ "createTime": {
4743
+ "type": "google.protobuf.Timestamp",
4744
+ "id": 23
4745
+ }
4746
+ },
4747
+ "nested": {
4748
+ "State": {
4749
+ "values": {
4750
+ "STATE_UNSPECIFIED": 0,
4751
+ "RUNNING": 1,
4752
+ "DONE": 2
4753
+ }
4483
4754
  }
4484
4755
  }
4485
4756
  },
4486
- "StoredType": {
4757
+ "ProfileStatus": {
4758
+ "fields": {
4759
+ "status": {
4760
+ "type": "google.rpc.Status",
4761
+ "id": 1
4762
+ },
4763
+ "timestamp": {
4764
+ "type": "google.protobuf.Timestamp",
4765
+ "id": 3
4766
+ }
4767
+ }
4768
+ },
4769
+ "EncryptionStatus": {
4770
+ "values": {
4771
+ "ENCRYPTION_STATUS_UNSPECIFIED": 0,
4772
+ "ENCRYPTION_GOOGLE_MANAGED": 1,
4773
+ "ENCRYPTION_CUSTOMER_MANAGED": 2
4774
+ }
4775
+ },
4776
+ "InfoTypeSummary": {
4777
+ "fields": {
4778
+ "infoType": {
4779
+ "type": "InfoType",
4780
+ "id": 1
4781
+ }
4782
+ }
4783
+ },
4784
+ "OtherInfoTypeSummary": {
4785
+ "fields": {
4786
+ "infoType": {
4787
+ "type": "InfoType",
4788
+ "id": 1
4789
+ }
4790
+ }
4791
+ },
4792
+ "DataProfilePubSubCondition": {
4793
+ "fields": {
4794
+ "expressions": {
4795
+ "type": "PubSubExpressions",
4796
+ "id": 1
4797
+ }
4798
+ },
4799
+ "nested": {
4800
+ "ProfileScoreBucket": {
4801
+ "values": {
4802
+ "PROFILE_SCORE_BUCKET_UNSPECIFIED": 0,
4803
+ "HIGH": 1,
4804
+ "MEDIUM_OR_HIGH": 2
4805
+ }
4806
+ },
4807
+ "PubSubCondition": {
4808
+ "oneofs": {
4809
+ "value": {
4810
+ "oneof": [
4811
+ "minimumRiskScore",
4812
+ "minimumSensitivityScore"
4813
+ ]
4814
+ }
4815
+ },
4816
+ "fields": {
4817
+ "minimumRiskScore": {
4818
+ "type": "ProfileScoreBucket",
4819
+ "id": 1
4820
+ },
4821
+ "minimumSensitivityScore": {
4822
+ "type": "ProfileScoreBucket",
4823
+ "id": 2
4824
+ }
4825
+ }
4826
+ },
4827
+ "PubSubExpressions": {
4828
+ "fields": {
4829
+ "logicalOperator": {
4830
+ "type": "PubSubLogicalOperator",
4831
+ "id": 1
4832
+ },
4833
+ "conditions": {
4834
+ "rule": "repeated",
4835
+ "type": "PubSubCondition",
4836
+ "id": 2
4837
+ }
4838
+ },
4839
+ "nested": {
4840
+ "PubSubLogicalOperator": {
4841
+ "values": {
4842
+ "LOGICAL_OPERATOR_UNSPECIFIED": 0,
4843
+ "OR": 1,
4844
+ "AND": 2
4845
+ }
4846
+ }
4847
+ }
4848
+ }
4849
+ }
4850
+ },
4851
+ "DataProfilePubSubMessage": {
4852
+ "fields": {
4853
+ "profile": {
4854
+ "type": "TableDataProfile",
4855
+ "id": 1
4856
+ },
4857
+ "event": {
4858
+ "type": "DataProfileAction.EventType",
4859
+ "id": 2
4860
+ }
4861
+ }
4862
+ },
4863
+ "InfoType": {
4487
4864
  "fields": {
4488
4865
  "name": {
4489
4866
  "type": "string",
4490
4867
  "id": 1
4491
4868
  },
4492
- "createTime": {
4493
- "type": "google.protobuf.Timestamp",
4869
+ "version": {
4870
+ "type": "string",
4494
4871
  "id": 2
4495
4872
  }
4496
4873
  }
@@ -4505,6 +4882,18 @@
4505
4882
  "VERY_LIKELY": 5
4506
4883
  }
4507
4884
  },
4885
+ "StoredType": {
4886
+ "fields": {
4887
+ "name": {
4888
+ "type": "string",
4889
+ "id": 1
4890
+ },
4891
+ "createTime": {
4892
+ "type": "google.protobuf.Timestamp",
4893
+ "id": 2
4894
+ }
4895
+ }
4896
+ },
4508
4897
  "CustomInfoType": {
4509
4898
  "oneofs": {
4510
4899
  "type": {
@@ -4712,6 +5101,21 @@
4712
5101
  }
4713
5102
  }
4714
5103
  },
5104
+ "FileType": {
5105
+ "values": {
5106
+ "FILE_TYPE_UNSPECIFIED": 0,
5107
+ "BINARY_FILE": 1,
5108
+ "TEXT_FILE": 2,
5109
+ "IMAGE": 3,
5110
+ "WORD": 5,
5111
+ "PDF": 6,
5112
+ "AVRO": 7,
5113
+ "CSV": 8,
5114
+ "TSV": 9,
5115
+ "POWERPOINT": 11,
5116
+ "EXCEL": 12
5117
+ }
5118
+ },
4715
5119
  "CloudStorageRegexFileSet": {
4716
5120
  "fields": {
4717
5121
  "bucketName": {
@@ -4896,19 +5300,6 @@
4896
5300
  }
4897
5301
  }
4898
5302
  },
4899
- "FileType": {
4900
- "values": {
4901
- "FILE_TYPE_UNSPECIFIED": 0,
4902
- "BINARY_FILE": 1,
4903
- "TEXT_FILE": 2,
4904
- "IMAGE": 3,
4905
- "WORD": 5,
4906
- "PDF": 6,
4907
- "AVRO": 7,
4908
- "CSV": 8,
4909
- "TSV": 9
4910
- }
4911
- },
4912
5303
  "HybridOptions": {
4913
5304
  "fields": {
4914
5305
  "description": {
@@ -5070,12 +5461,99 @@
5070
5461
  "options": {
5071
5462
  "go_package": "google.golang.org/genproto/googleapis/api/annotations;annotations",
5072
5463
  "java_multiple_files": true,
5073
- "java_outer_classname": "HttpProto",
5464
+ "java_outer_classname": "ResourceProto",
5074
5465
  "java_package": "com.google.api",
5075
5466
  "objc_class_prefix": "GAPI",
5076
5467
  "cc_enable_arenas": true
5077
5468
  },
5078
5469
  "nested": {
5470
+ "http": {
5471
+ "type": "HttpRule",
5472
+ "id": 72295728,
5473
+ "extend": "google.protobuf.MethodOptions"
5474
+ },
5475
+ "Http": {
5476
+ "fields": {
5477
+ "rules": {
5478
+ "rule": "repeated",
5479
+ "type": "HttpRule",
5480
+ "id": 1
5481
+ },
5482
+ "fullyDecodeReservedExpansion": {
5483
+ "type": "bool",
5484
+ "id": 2
5485
+ }
5486
+ }
5487
+ },
5488
+ "HttpRule": {
5489
+ "oneofs": {
5490
+ "pattern": {
5491
+ "oneof": [
5492
+ "get",
5493
+ "put",
5494
+ "post",
5495
+ "delete",
5496
+ "patch",
5497
+ "custom"
5498
+ ]
5499
+ }
5500
+ },
5501
+ "fields": {
5502
+ "selector": {
5503
+ "type": "string",
5504
+ "id": 1
5505
+ },
5506
+ "get": {
5507
+ "type": "string",
5508
+ "id": 2
5509
+ },
5510
+ "put": {
5511
+ "type": "string",
5512
+ "id": 3
5513
+ },
5514
+ "post": {
5515
+ "type": "string",
5516
+ "id": 4
5517
+ },
5518
+ "delete": {
5519
+ "type": "string",
5520
+ "id": 5
5521
+ },
5522
+ "patch": {
5523
+ "type": "string",
5524
+ "id": 6
5525
+ },
5526
+ "custom": {
5527
+ "type": "CustomHttpPattern",
5528
+ "id": 8
5529
+ },
5530
+ "body": {
5531
+ "type": "string",
5532
+ "id": 7
5533
+ },
5534
+ "responseBody": {
5535
+ "type": "string",
5536
+ "id": 12
5537
+ },
5538
+ "additionalBindings": {
5539
+ "rule": "repeated",
5540
+ "type": "HttpRule",
5541
+ "id": 11
5542
+ }
5543
+ }
5544
+ },
5545
+ "CustomHttpPattern": {
5546
+ "fields": {
5547
+ "kind": {
5548
+ "type": "string",
5549
+ "id": 1
5550
+ },
5551
+ "path": {
5552
+ "type": "string",
5553
+ "id": 2
5554
+ }
5555
+ }
5556
+ },
5079
5557
  "methodSignature": {
5080
5558
  "rule": "repeated",
5081
5559
  "type": "string",
@@ -5186,93 +5664,6 @@
5186
5664
  "id": 2
5187
5665
  }
5188
5666
  }
5189
- },
5190
- "http": {
5191
- "type": "HttpRule",
5192
- "id": 72295728,
5193
- "extend": "google.protobuf.MethodOptions"
5194
- },
5195
- "Http": {
5196
- "fields": {
5197
- "rules": {
5198
- "rule": "repeated",
5199
- "type": "HttpRule",
5200
- "id": 1
5201
- },
5202
- "fullyDecodeReservedExpansion": {
5203
- "type": "bool",
5204
- "id": 2
5205
- }
5206
- }
5207
- },
5208
- "HttpRule": {
5209
- "oneofs": {
5210
- "pattern": {
5211
- "oneof": [
5212
- "get",
5213
- "put",
5214
- "post",
5215
- "delete",
5216
- "patch",
5217
- "custom"
5218
- ]
5219
- }
5220
- },
5221
- "fields": {
5222
- "selector": {
5223
- "type": "string",
5224
- "id": 1
5225
- },
5226
- "get": {
5227
- "type": "string",
5228
- "id": 2
5229
- },
5230
- "put": {
5231
- "type": "string",
5232
- "id": 3
5233
- },
5234
- "post": {
5235
- "type": "string",
5236
- "id": 4
5237
- },
5238
- "delete": {
5239
- "type": "string",
5240
- "id": 5
5241
- },
5242
- "patch": {
5243
- "type": "string",
5244
- "id": 6
5245
- },
5246
- "custom": {
5247
- "type": "CustomHttpPattern",
5248
- "id": 8
5249
- },
5250
- "body": {
5251
- "type": "string",
5252
- "id": 7
5253
- },
5254
- "responseBody": {
5255
- "type": "string",
5256
- "id": 12
5257
- },
5258
- "additionalBindings": {
5259
- "rule": "repeated",
5260
- "type": "HttpRule",
5261
- "id": 11
5262
- }
5263
- }
5264
- },
5265
- "CustomHttpPattern": {
5266
- "fields": {
5267
- "kind": {
5268
- "type": "string",
5269
- "id": 1
5270
- },
5271
- "path": {
5272
- "type": "string",
5273
- "id": 2
5274
- }
5275
- }
5276
5667
  }
5277
5668
  }
5278
5669
  },
@@ -5886,6 +6277,13 @@
5886
6277
  "default": false
5887
6278
  }
5888
6279
  },
6280
+ "unverifiedLazy": {
6281
+ "type": "bool",
6282
+ "id": 15,
6283
+ "options": {
6284
+ "default": false
6285
+ }
6286
+ },
5889
6287
  "deprecated": {
5890
6288
  "type": "bool",
5891
6289
  "id": 3,