@google-cloud/dlp 3.2.1 → 3.5.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.
- package/CHANGELOG.md +21 -0
- package/README.md +17 -17
- package/build/protos/google/privacy/dlp/v2/dlp.proto +506 -59
- package/build/protos/google/privacy/dlp/v2/storage.proto +81 -66
- package/build/protos/protos.d.ts +3621 -1735
- package/build/protos/protos.js +9705 -4716
- package/build/protos/protos.json +651 -191
- package/build/src/v2/dlp_service_client.d.ts +1300 -44
- package/build/src/v2/dlp_service_client.js +63 -1353
- package/build/src/v2/dlp_service_client.js.map +1 -1
- package/build/src/v2/index.js +1 -1
- package/package.json +3 -3
package/build/protos/protos.json
CHANGED
|
@@ -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=
|
|
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
|
-
|
|
479
|
-
|
|
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=
|
|
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
|
-
|
|
505
|
-
|
|
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=
|
|
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
|
-
|
|
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=
|
|
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
|
-
|
|
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=
|
|
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
|
-
|
|
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=
|
|
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
|
-
|
|
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
|
|
@@ -3766,6 +3828,116 @@
|
|
|
3766
3828
|
}
|
|
3767
3829
|
}
|
|
3768
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
|
+
},
|
|
3769
3941
|
"DlpJob": {
|
|
3770
3942
|
"options": {
|
|
3771
3943
|
"(google.api.resource).type": "dlp.googleapis.com/DlpJob",
|
|
@@ -4411,90 +4583,371 @@
|
|
|
4411
4583
|
"INVALID": 4
|
|
4412
4584
|
}
|
|
4413
4585
|
},
|
|
4414
|
-
"
|
|
4586
|
+
"SensitivityScore": {
|
|
4415
4587
|
"fields": {
|
|
4416
|
-
"
|
|
4417
|
-
"type": "
|
|
4588
|
+
"score": {
|
|
4589
|
+
"type": "SensitivityScoreLevel",
|
|
4418
4590
|
"id": 1
|
|
4419
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
|
+
}
|
|
4420
4602
|
}
|
|
4421
4603
|
},
|
|
4422
|
-
"
|
|
4604
|
+
"DataRiskLevel": {
|
|
4423
4605
|
"fields": {
|
|
4424
|
-
"
|
|
4425
|
-
"type": "
|
|
4606
|
+
"score": {
|
|
4607
|
+
"type": "DataRiskLevelScore",
|
|
4426
4608
|
"id": 1
|
|
4427
|
-
}
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
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
|
+
}
|
|
4431
4619
|
}
|
|
4432
4620
|
}
|
|
4433
4621
|
},
|
|
4434
|
-
"
|
|
4622
|
+
"ResourceVisibility": {
|
|
4435
4623
|
"values": {
|
|
4436
|
-
"
|
|
4437
|
-
"
|
|
4438
|
-
"
|
|
4439
|
-
"POSSIBLE": 3,
|
|
4440
|
-
"LIKELY": 4,
|
|
4441
|
-
"VERY_LIKELY": 5
|
|
4624
|
+
"RESOURCE_VISIBILITY_UNSPECIFIED": 0,
|
|
4625
|
+
"RESOURCE_VISIBILITY_PUBLIC": 10,
|
|
4626
|
+
"RESOURCE_VISIBILITY_RESTRICTED": 20
|
|
4442
4627
|
}
|
|
4443
4628
|
},
|
|
4444
|
-
"
|
|
4445
|
-
"
|
|
4446
|
-
"
|
|
4447
|
-
"
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4629
|
+
"DataProfileConfigSnapshot": {
|
|
4630
|
+
"fields": {
|
|
4631
|
+
"inspectConfig": {
|
|
4632
|
+
"type": "InspectConfig",
|
|
4633
|
+
"id": 2
|
|
4634
|
+
},
|
|
4635
|
+
"dataProfileJob": {
|
|
4636
|
+
"type": "DataProfileJobConfig",
|
|
4637
|
+
"id": 3
|
|
4453
4638
|
}
|
|
4454
|
-
}
|
|
4639
|
+
}
|
|
4640
|
+
},
|
|
4641
|
+
"TableDataProfile": {
|
|
4455
4642
|
"fields": {
|
|
4456
|
-
"
|
|
4457
|
-
"type": "
|
|
4643
|
+
"name": {
|
|
4644
|
+
"type": "string",
|
|
4458
4645
|
"id": 1
|
|
4459
4646
|
},
|
|
4460
|
-
"
|
|
4461
|
-
"type": "
|
|
4462
|
-
"id": 6
|
|
4463
|
-
},
|
|
4464
|
-
"dictionary": {
|
|
4465
|
-
"type": "Dictionary",
|
|
4647
|
+
"projectDataProfile": {
|
|
4648
|
+
"type": "string",
|
|
4466
4649
|
"id": 2
|
|
4467
4650
|
},
|
|
4468
|
-
"
|
|
4469
|
-
"type": "
|
|
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",
|
|
4470
4669
|
"id": 3
|
|
4471
4670
|
},
|
|
4472
|
-
"
|
|
4473
|
-
"type": "
|
|
4474
|
-
"id":
|
|
4671
|
+
"profileStatus": {
|
|
4672
|
+
"type": "ProfileStatus",
|
|
4673
|
+
"id": 21
|
|
4475
4674
|
},
|
|
4476
|
-
"
|
|
4477
|
-
"type": "
|
|
4675
|
+
"state": {
|
|
4676
|
+
"type": "State",
|
|
4677
|
+
"id": 22
|
|
4678
|
+
},
|
|
4679
|
+
"sensitivityScore": {
|
|
4680
|
+
"type": "SensitivityScore",
|
|
4478
4681
|
"id": 5
|
|
4479
4682
|
},
|
|
4480
|
-
"
|
|
4683
|
+
"dataRiskLevel": {
|
|
4684
|
+
"type": "DataRiskLevel",
|
|
4685
|
+
"id": 6
|
|
4686
|
+
},
|
|
4687
|
+
"predictedInfoTypes": {
|
|
4481
4688
|
"rule": "repeated",
|
|
4482
|
-
"type": "
|
|
4689
|
+
"type": "InfoTypeSummary",
|
|
4690
|
+
"id": 27
|
|
4691
|
+
},
|
|
4692
|
+
"otherInfoTypes": {
|
|
4693
|
+
"rule": "repeated",
|
|
4694
|
+
"type": "OtherInfoTypeSummary",
|
|
4695
|
+
"id": 28
|
|
4696
|
+
},
|
|
4697
|
+
"configSnapshot": {
|
|
4698
|
+
"type": "DataProfileConfigSnapshot",
|
|
4483
4699
|
"id": 7
|
|
4484
4700
|
},
|
|
4485
|
-
"
|
|
4486
|
-
"type": "
|
|
4701
|
+
"lastModifiedTime": {
|
|
4702
|
+
"type": "google.protobuf.Timestamp",
|
|
4487
4703
|
"id": 8
|
|
4488
|
-
}
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
|
|
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
|
+
},
|
|
4863
|
+
"InfoType": {
|
|
4864
|
+
"fields": {
|
|
4865
|
+
"name": {
|
|
4866
|
+
"type": "string",
|
|
4867
|
+
"id": 1
|
|
4868
|
+
},
|
|
4869
|
+
"version": {
|
|
4870
|
+
"type": "string",
|
|
4871
|
+
"id": 2
|
|
4872
|
+
}
|
|
4873
|
+
}
|
|
4874
|
+
},
|
|
4875
|
+
"Likelihood": {
|
|
4876
|
+
"values": {
|
|
4877
|
+
"LIKELIHOOD_UNSPECIFIED": 0,
|
|
4878
|
+
"VERY_UNLIKELY": 1,
|
|
4879
|
+
"UNLIKELY": 2,
|
|
4880
|
+
"POSSIBLE": 3,
|
|
4881
|
+
"LIKELY": 4,
|
|
4882
|
+
"VERY_LIKELY": 5
|
|
4883
|
+
}
|
|
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
|
+
},
|
|
4897
|
+
"CustomInfoType": {
|
|
4898
|
+
"oneofs": {
|
|
4899
|
+
"type": {
|
|
4900
|
+
"oneof": [
|
|
4901
|
+
"dictionary",
|
|
4902
|
+
"regex",
|
|
4903
|
+
"surrogateType",
|
|
4904
|
+
"storedType"
|
|
4905
|
+
]
|
|
4906
|
+
}
|
|
4907
|
+
},
|
|
4908
|
+
"fields": {
|
|
4909
|
+
"infoType": {
|
|
4910
|
+
"type": "InfoType",
|
|
4911
|
+
"id": 1
|
|
4912
|
+
},
|
|
4913
|
+
"likelihood": {
|
|
4914
|
+
"type": "Likelihood",
|
|
4915
|
+
"id": 6
|
|
4916
|
+
},
|
|
4917
|
+
"dictionary": {
|
|
4918
|
+
"type": "Dictionary",
|
|
4919
|
+
"id": 2
|
|
4920
|
+
},
|
|
4921
|
+
"regex": {
|
|
4922
|
+
"type": "Regex",
|
|
4923
|
+
"id": 3
|
|
4924
|
+
},
|
|
4925
|
+
"surrogateType": {
|
|
4926
|
+
"type": "SurrogateType",
|
|
4927
|
+
"id": 4
|
|
4928
|
+
},
|
|
4929
|
+
"storedType": {
|
|
4930
|
+
"type": "StoredType",
|
|
4931
|
+
"id": 5
|
|
4932
|
+
},
|
|
4933
|
+
"detectionRules": {
|
|
4934
|
+
"rule": "repeated",
|
|
4935
|
+
"type": "DetectionRule",
|
|
4936
|
+
"id": 7
|
|
4937
|
+
},
|
|
4938
|
+
"exclusionType": {
|
|
4939
|
+
"type": "ExclusionType",
|
|
4940
|
+
"id": 8
|
|
4941
|
+
}
|
|
4942
|
+
},
|
|
4943
|
+
"nested": {
|
|
4944
|
+
"Dictionary": {
|
|
4945
|
+
"oneofs": {
|
|
4946
|
+
"source": {
|
|
4947
|
+
"oneof": [
|
|
4948
|
+
"wordList",
|
|
4949
|
+
"cloudStoragePath"
|
|
4950
|
+
]
|
|
4498
4951
|
}
|
|
4499
4952
|
},
|
|
4500
4953
|
"fields": {
|
|
@@ -4648,6 +5101,21 @@
|
|
|
4648
5101
|
}
|
|
4649
5102
|
}
|
|
4650
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
|
+
},
|
|
4651
5119
|
"CloudStorageRegexFileSet": {
|
|
4652
5120
|
"fields": {
|
|
4653
5121
|
"bucketName": {
|
|
@@ -4759,6 +5227,11 @@
|
|
|
4759
5227
|
"rule": "repeated",
|
|
4760
5228
|
"type": "FieldId",
|
|
4761
5229
|
"id": 5
|
|
5230
|
+
},
|
|
5231
|
+
"includedFields": {
|
|
5232
|
+
"rule": "repeated",
|
|
5233
|
+
"type": "FieldId",
|
|
5234
|
+
"id": 7
|
|
4762
5235
|
}
|
|
4763
5236
|
},
|
|
4764
5237
|
"nested": {
|
|
@@ -4827,19 +5300,6 @@
|
|
|
4827
5300
|
}
|
|
4828
5301
|
}
|
|
4829
5302
|
},
|
|
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
5303
|
"HybridOptions": {
|
|
4844
5304
|
"fields": {
|
|
4845
5305
|
"description": {
|
|
@@ -5001,12 +5461,99 @@
|
|
|
5001
5461
|
"options": {
|
|
5002
5462
|
"go_package": "google.golang.org/genproto/googleapis/api/annotations;annotations",
|
|
5003
5463
|
"java_multiple_files": true,
|
|
5004
|
-
"java_outer_classname": "
|
|
5464
|
+
"java_outer_classname": "ResourceProto",
|
|
5005
5465
|
"java_package": "com.google.api",
|
|
5006
5466
|
"objc_class_prefix": "GAPI",
|
|
5007
5467
|
"cc_enable_arenas": true
|
|
5008
5468
|
},
|
|
5009
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
|
+
},
|
|
5010
5557
|
"methodSignature": {
|
|
5011
5558
|
"rule": "repeated",
|
|
5012
5559
|
"type": "string",
|
|
@@ -5117,93 +5664,6 @@
|
|
|
5117
5664
|
"id": 2
|
|
5118
5665
|
}
|
|
5119
5666
|
}
|
|
5120
|
-
},
|
|
5121
|
-
"http": {
|
|
5122
|
-
"type": "HttpRule",
|
|
5123
|
-
"id": 72295728,
|
|
5124
|
-
"extend": "google.protobuf.MethodOptions"
|
|
5125
|
-
},
|
|
5126
|
-
"Http": {
|
|
5127
|
-
"fields": {
|
|
5128
|
-
"rules": {
|
|
5129
|
-
"rule": "repeated",
|
|
5130
|
-
"type": "HttpRule",
|
|
5131
|
-
"id": 1
|
|
5132
|
-
},
|
|
5133
|
-
"fullyDecodeReservedExpansion": {
|
|
5134
|
-
"type": "bool",
|
|
5135
|
-
"id": 2
|
|
5136
|
-
}
|
|
5137
|
-
}
|
|
5138
|
-
},
|
|
5139
|
-
"HttpRule": {
|
|
5140
|
-
"oneofs": {
|
|
5141
|
-
"pattern": {
|
|
5142
|
-
"oneof": [
|
|
5143
|
-
"get",
|
|
5144
|
-
"put",
|
|
5145
|
-
"post",
|
|
5146
|
-
"delete",
|
|
5147
|
-
"patch",
|
|
5148
|
-
"custom"
|
|
5149
|
-
]
|
|
5150
|
-
}
|
|
5151
|
-
},
|
|
5152
|
-
"fields": {
|
|
5153
|
-
"selector": {
|
|
5154
|
-
"type": "string",
|
|
5155
|
-
"id": 1
|
|
5156
|
-
},
|
|
5157
|
-
"get": {
|
|
5158
|
-
"type": "string",
|
|
5159
|
-
"id": 2
|
|
5160
|
-
},
|
|
5161
|
-
"put": {
|
|
5162
|
-
"type": "string",
|
|
5163
|
-
"id": 3
|
|
5164
|
-
},
|
|
5165
|
-
"post": {
|
|
5166
|
-
"type": "string",
|
|
5167
|
-
"id": 4
|
|
5168
|
-
},
|
|
5169
|
-
"delete": {
|
|
5170
|
-
"type": "string",
|
|
5171
|
-
"id": 5
|
|
5172
|
-
},
|
|
5173
|
-
"patch": {
|
|
5174
|
-
"type": "string",
|
|
5175
|
-
"id": 6
|
|
5176
|
-
},
|
|
5177
|
-
"custom": {
|
|
5178
|
-
"type": "CustomHttpPattern",
|
|
5179
|
-
"id": 8
|
|
5180
|
-
},
|
|
5181
|
-
"body": {
|
|
5182
|
-
"type": "string",
|
|
5183
|
-
"id": 7
|
|
5184
|
-
},
|
|
5185
|
-
"responseBody": {
|
|
5186
|
-
"type": "string",
|
|
5187
|
-
"id": 12
|
|
5188
|
-
},
|
|
5189
|
-
"additionalBindings": {
|
|
5190
|
-
"rule": "repeated",
|
|
5191
|
-
"type": "HttpRule",
|
|
5192
|
-
"id": 11
|
|
5193
|
-
}
|
|
5194
|
-
}
|
|
5195
|
-
},
|
|
5196
|
-
"CustomHttpPattern": {
|
|
5197
|
-
"fields": {
|
|
5198
|
-
"kind": {
|
|
5199
|
-
"type": "string",
|
|
5200
|
-
"id": 1
|
|
5201
|
-
},
|
|
5202
|
-
"path": {
|
|
5203
|
-
"type": "string",
|
|
5204
|
-
"id": 2
|
|
5205
|
-
}
|
|
5206
|
-
}
|
|
5207
5667
|
}
|
|
5208
5668
|
}
|
|
5209
5669
|
},
|