@google-cloud/dlp 3.4.0 → 4.0.2

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.
@@ -3828,6 +3828,116 @@
3828
3828
  }
3829
3829
  }
3830
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
+ },
3831
3941
  "DlpJob": {
3832
3942
  "options": {
3833
3943
  "(google.api.resource).type": "dlp.googleapis.com/DlpJob",
@@ -4473,6 +4583,283 @@
4473
4583
  "INVALID": 4
4474
4584
  }
4475
4585
  },
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": {
4642
+ "fields": {
4643
+ "name": {
4644
+ "type": "string",
4645
+ "id": 1
4646
+ },
4647
+ "projectDataProfile": {
4648
+ "type": "string",
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
+ }
4754
+ }
4755
+ }
4756
+ },
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
+ },
4476
4863
  "InfoType": {
4477
4864
  "fields": {
4478
4865
  "name": {
@@ -5890,6 +6277,13 @@
5890
6277
  "default": false
5891
6278
  }
5892
6279
  },
6280
+ "unverifiedLazy": {
6281
+ "type": "bool",
6282
+ "id": 15,
6283
+ "options": {
6284
+ "default": false
6285
+ }
6286
+ },
5893
6287
  "deprecated": {
5894
6288
  "type": "bool",
5895
6289
  "id": 3,