@google-cloud/dlp 5.0.1 → 5.1.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.
- package/CHANGELOG.md +14 -0
- package/README.md +5 -0
- package/build/protos/google/privacy/dlp/v2/dlp.proto +1088 -262
- package/build/protos/google/privacy/dlp/v2/storage.proto +85 -39
- package/build/protos/protos.d.ts +5664 -2133
- package/build/protos/protos.js +15415 -6352
- package/build/protos/protos.json +851 -15
- package/build/src/v2/dlp_service_client.d.ts +410 -87
- package/build/src/v2/dlp_service_client.js +356 -42
- package/build/src/v2/dlp_service_client_config.json +25 -0
- package/package.json +6 -6
package/build/protos/protos.json
CHANGED
|
@@ -646,6 +646,124 @@
|
|
|
646
646
|
}
|
|
647
647
|
]
|
|
648
648
|
},
|
|
649
|
+
"CreateDiscoveryConfig": {
|
|
650
|
+
"requestType": "CreateDiscoveryConfigRequest",
|
|
651
|
+
"responseType": "DiscoveryConfig",
|
|
652
|
+
"options": {
|
|
653
|
+
"(google.api.http).post": "/v2/{parent=projects/*/locations/*}/discoveryConfigs",
|
|
654
|
+
"(google.api.http).body": "*",
|
|
655
|
+
"(google.api.http).additional_bindings.post": "/v2/{parent=organizations/*/locations/*}/discoveryConfigs",
|
|
656
|
+
"(google.api.http).additional_bindings.body": "*",
|
|
657
|
+
"(google.api.method_signature)": "parent,discovery_config"
|
|
658
|
+
},
|
|
659
|
+
"parsedOptions": [
|
|
660
|
+
{
|
|
661
|
+
"(google.api.http)": {
|
|
662
|
+
"post": "/v2/{parent=projects/*/locations/*}/discoveryConfigs",
|
|
663
|
+
"body": "*",
|
|
664
|
+
"additional_bindings": {
|
|
665
|
+
"post": "/v2/{parent=organizations/*/locations/*}/discoveryConfigs",
|
|
666
|
+
"body": "*"
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"(google.api.method_signature)": "parent,discovery_config"
|
|
672
|
+
}
|
|
673
|
+
]
|
|
674
|
+
},
|
|
675
|
+
"UpdateDiscoveryConfig": {
|
|
676
|
+
"requestType": "UpdateDiscoveryConfigRequest",
|
|
677
|
+
"responseType": "DiscoveryConfig",
|
|
678
|
+
"options": {
|
|
679
|
+
"(google.api.http).patch": "/v2/{name=projects/*/locations/*/discoveryConfigs/*}",
|
|
680
|
+
"(google.api.http).body": "*",
|
|
681
|
+
"(google.api.http).additional_bindings.patch": "/v2/{name=organizations/*/locations/*/discoveryConfigs/*}",
|
|
682
|
+
"(google.api.http).additional_bindings.body": "*",
|
|
683
|
+
"(google.api.method_signature)": "name,discovery_config,update_mask"
|
|
684
|
+
},
|
|
685
|
+
"parsedOptions": [
|
|
686
|
+
{
|
|
687
|
+
"(google.api.http)": {
|
|
688
|
+
"patch": "/v2/{name=projects/*/locations/*/discoveryConfigs/*}",
|
|
689
|
+
"body": "*",
|
|
690
|
+
"additional_bindings": {
|
|
691
|
+
"patch": "/v2/{name=organizations/*/locations/*/discoveryConfigs/*}",
|
|
692
|
+
"body": "*"
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
"(google.api.method_signature)": "name,discovery_config,update_mask"
|
|
698
|
+
}
|
|
699
|
+
]
|
|
700
|
+
},
|
|
701
|
+
"GetDiscoveryConfig": {
|
|
702
|
+
"requestType": "GetDiscoveryConfigRequest",
|
|
703
|
+
"responseType": "DiscoveryConfig",
|
|
704
|
+
"options": {
|
|
705
|
+
"(google.api.http).get": "/v2/{name=projects/*/locations/*/discoveryConfigs/*}",
|
|
706
|
+
"(google.api.http).additional_bindings.get": "/v2/{name=organizations/*/locations/*/discoveryConfigs/*}",
|
|
707
|
+
"(google.api.method_signature)": "name"
|
|
708
|
+
},
|
|
709
|
+
"parsedOptions": [
|
|
710
|
+
{
|
|
711
|
+
"(google.api.http)": {
|
|
712
|
+
"get": "/v2/{name=projects/*/locations/*/discoveryConfigs/*}",
|
|
713
|
+
"additional_bindings": {
|
|
714
|
+
"get": "/v2/{name=organizations/*/locations/*/discoveryConfigs/*}"
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
"(google.api.method_signature)": "name"
|
|
720
|
+
}
|
|
721
|
+
]
|
|
722
|
+
},
|
|
723
|
+
"ListDiscoveryConfigs": {
|
|
724
|
+
"requestType": "ListDiscoveryConfigsRequest",
|
|
725
|
+
"responseType": "ListDiscoveryConfigsResponse",
|
|
726
|
+
"options": {
|
|
727
|
+
"(google.api.http).get": "/v2/{parent=projects/*/locations/*}/discoveryConfigs",
|
|
728
|
+
"(google.api.http).additional_bindings.get": "/v2/{parent=organizations/*/locations/*}/discoveryConfigs",
|
|
729
|
+
"(google.api.method_signature)": "parent"
|
|
730
|
+
},
|
|
731
|
+
"parsedOptions": [
|
|
732
|
+
{
|
|
733
|
+
"(google.api.http)": {
|
|
734
|
+
"get": "/v2/{parent=projects/*/locations/*}/discoveryConfigs",
|
|
735
|
+
"additional_bindings": {
|
|
736
|
+
"get": "/v2/{parent=organizations/*/locations/*}/discoveryConfigs"
|
|
737
|
+
}
|
|
738
|
+
}
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
"(google.api.method_signature)": "parent"
|
|
742
|
+
}
|
|
743
|
+
]
|
|
744
|
+
},
|
|
745
|
+
"DeleteDiscoveryConfig": {
|
|
746
|
+
"requestType": "DeleteDiscoveryConfigRequest",
|
|
747
|
+
"responseType": "google.protobuf.Empty",
|
|
748
|
+
"options": {
|
|
749
|
+
"(google.api.http).delete": "/v2/{name=projects/*/locations/*/discoveryConfigs/*}",
|
|
750
|
+
"(google.api.http).additional_bindings.delete": "/v2/{name=organizations/*/locations/*/discoveryConfigs/*}",
|
|
751
|
+
"(google.api.method_signature)": "name"
|
|
752
|
+
},
|
|
753
|
+
"parsedOptions": [
|
|
754
|
+
{
|
|
755
|
+
"(google.api.http)": {
|
|
756
|
+
"delete": "/v2/{name=projects/*/locations/*/discoveryConfigs/*}",
|
|
757
|
+
"additional_bindings": {
|
|
758
|
+
"delete": "/v2/{name=organizations/*/locations/*/discoveryConfigs/*}"
|
|
759
|
+
}
|
|
760
|
+
}
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
"(google.api.method_signature)": "name"
|
|
764
|
+
}
|
|
765
|
+
]
|
|
766
|
+
},
|
|
649
767
|
"CreateDlpJob": {
|
|
650
768
|
"requestType": "CreateDlpJobRequest",
|
|
651
769
|
"responseType": "DlpJob",
|
|
@@ -1068,6 +1186,11 @@
|
|
|
1068
1186
|
"type": "Likelihood",
|
|
1069
1187
|
"id": 2
|
|
1070
1188
|
},
|
|
1189
|
+
"minLikelihoodPerInfoType": {
|
|
1190
|
+
"rule": "repeated",
|
|
1191
|
+
"type": "InfoTypeLikelihood",
|
|
1192
|
+
"id": 11
|
|
1193
|
+
},
|
|
1071
1194
|
"limits": {
|
|
1072
1195
|
"type": "FindingLimits",
|
|
1073
1196
|
"id": 3
|
|
@@ -1097,6 +1220,18 @@
|
|
|
1097
1220
|
}
|
|
1098
1221
|
},
|
|
1099
1222
|
"nested": {
|
|
1223
|
+
"InfoTypeLikelihood": {
|
|
1224
|
+
"fields": {
|
|
1225
|
+
"infoType": {
|
|
1226
|
+
"type": "InfoType",
|
|
1227
|
+
"id": 1
|
|
1228
|
+
},
|
|
1229
|
+
"minLikelihood": {
|
|
1230
|
+
"type": "Likelihood",
|
|
1231
|
+
"id": 2
|
|
1232
|
+
}
|
|
1233
|
+
}
|
|
1234
|
+
},
|
|
1100
1235
|
"FindingLimits": {
|
|
1101
1236
|
"fields": {
|
|
1102
1237
|
"maxFindingsPerItem": {
|
|
@@ -1800,6 +1935,26 @@
|
|
|
1800
1935
|
}
|
|
1801
1936
|
}
|
|
1802
1937
|
},
|
|
1938
|
+
"DataProfileBigQueryRowSchema": {
|
|
1939
|
+
"oneofs": {
|
|
1940
|
+
"dataProfile": {
|
|
1941
|
+
"oneof": [
|
|
1942
|
+
"tableProfile",
|
|
1943
|
+
"columnProfile"
|
|
1944
|
+
]
|
|
1945
|
+
}
|
|
1946
|
+
},
|
|
1947
|
+
"fields": {
|
|
1948
|
+
"tableProfile": {
|
|
1949
|
+
"type": "TableDataProfile",
|
|
1950
|
+
"id": 1
|
|
1951
|
+
},
|
|
1952
|
+
"columnProfile": {
|
|
1953
|
+
"type": "ColumnDataProfile",
|
|
1954
|
+
"id": 2
|
|
1955
|
+
}
|
|
1956
|
+
}
|
|
1957
|
+
},
|
|
1803
1958
|
"HybridInspectStatistics": {
|
|
1804
1959
|
"fields": {
|
|
1805
1960
|
"processedCount": {
|
|
@@ -1816,6 +1971,67 @@
|
|
|
1816
1971
|
}
|
|
1817
1972
|
}
|
|
1818
1973
|
},
|
|
1974
|
+
"ActionDetails": {
|
|
1975
|
+
"oneofs": {
|
|
1976
|
+
"details": {
|
|
1977
|
+
"oneof": [
|
|
1978
|
+
"deidentifyDetails"
|
|
1979
|
+
]
|
|
1980
|
+
}
|
|
1981
|
+
},
|
|
1982
|
+
"fields": {
|
|
1983
|
+
"deidentifyDetails": {
|
|
1984
|
+
"type": "DeidentifyDataSourceDetails",
|
|
1985
|
+
"id": 1
|
|
1986
|
+
}
|
|
1987
|
+
}
|
|
1988
|
+
},
|
|
1989
|
+
"DeidentifyDataSourceStats": {
|
|
1990
|
+
"fields": {
|
|
1991
|
+
"transformedBytes": {
|
|
1992
|
+
"type": "int64",
|
|
1993
|
+
"id": 1
|
|
1994
|
+
},
|
|
1995
|
+
"transformationCount": {
|
|
1996
|
+
"type": "int64",
|
|
1997
|
+
"id": 2
|
|
1998
|
+
},
|
|
1999
|
+
"transformationErrorCount": {
|
|
2000
|
+
"type": "int64",
|
|
2001
|
+
"id": 3
|
|
2002
|
+
}
|
|
2003
|
+
}
|
|
2004
|
+
},
|
|
2005
|
+
"DeidentifyDataSourceDetails": {
|
|
2006
|
+
"fields": {
|
|
2007
|
+
"requestedOptions": {
|
|
2008
|
+
"type": "RequestedDeidentifyOptions",
|
|
2009
|
+
"id": 1
|
|
2010
|
+
},
|
|
2011
|
+
"deidentifyStats": {
|
|
2012
|
+
"type": "DeidentifyDataSourceStats",
|
|
2013
|
+
"id": 2
|
|
2014
|
+
}
|
|
2015
|
+
},
|
|
2016
|
+
"nested": {
|
|
2017
|
+
"RequestedDeidentifyOptions": {
|
|
2018
|
+
"fields": {
|
|
2019
|
+
"snapshotDeidentifyTemplate": {
|
|
2020
|
+
"type": "DeidentifyTemplate",
|
|
2021
|
+
"id": 1
|
|
2022
|
+
},
|
|
2023
|
+
"snapshotStructuredDeidentifyTemplate": {
|
|
2024
|
+
"type": "DeidentifyTemplate",
|
|
2025
|
+
"id": 2
|
|
2026
|
+
},
|
|
2027
|
+
"snapshotImageRedactTemplate": {
|
|
2028
|
+
"type": "DeidentifyTemplate",
|
|
2029
|
+
"id": 3
|
|
2030
|
+
}
|
|
2031
|
+
}
|
|
2032
|
+
}
|
|
2033
|
+
}
|
|
2034
|
+
},
|
|
1819
2035
|
"InfoTypeDescription": {
|
|
1820
2036
|
"fields": {
|
|
1821
2037
|
"name": {
|
|
@@ -1844,6 +2060,10 @@
|
|
|
1844
2060
|
"rule": "repeated",
|
|
1845
2061
|
"type": "InfoTypeCategory",
|
|
1846
2062
|
"id": 10
|
|
2063
|
+
},
|
|
2064
|
+
"sensitivityScore": {
|
|
2065
|
+
"type": "SensitivityScore",
|
|
2066
|
+
"id": 11
|
|
1847
2067
|
}
|
|
1848
2068
|
}
|
|
1849
2069
|
},
|
|
@@ -1884,6 +2104,7 @@
|
|
|
1884
2104
|
"CHILE": 7,
|
|
1885
2105
|
"CHINA": 8,
|
|
1886
2106
|
"COLOMBIA": 9,
|
|
2107
|
+
"CROATIA": 42,
|
|
1887
2108
|
"DENMARK": 10,
|
|
1888
2109
|
"FRANCE": 11,
|
|
1889
2110
|
"FINLAND": 12,
|
|
@@ -1898,6 +2119,7 @@
|
|
|
1898
2119
|
"KOREA": 21,
|
|
1899
2120
|
"MEXICO": 22,
|
|
1900
2121
|
"THE_NETHERLANDS": 23,
|
|
2122
|
+
"NEW_ZEALAND": 41,
|
|
1901
2123
|
"NORWAY": 24,
|
|
1902
2124
|
"PARAGUAY": 25,
|
|
1903
2125
|
"PERU": 26,
|
|
@@ -1907,6 +2129,7 @@
|
|
|
1907
2129
|
"SOUTH_AFRICA": 30,
|
|
1908
2130
|
"SPAIN": 31,
|
|
1909
2131
|
"SWEDEN": 32,
|
|
2132
|
+
"SWITZERLAND": 43,
|
|
1910
2133
|
"TAIWAN": 33,
|
|
1911
2134
|
"THAILAND": 34,
|
|
1912
2135
|
"TURKEY": 35,
|
|
@@ -1914,8 +2137,7 @@
|
|
|
1914
2137
|
"UNITED_STATES": 37,
|
|
1915
2138
|
"URUGUAY": 38,
|
|
1916
2139
|
"VENEZUELA": 39,
|
|
1917
|
-
"INTERNAL": 40
|
|
1918
|
-
"NEW_ZEALAND": 41
|
|
2140
|
+
"INTERNAL": 40
|
|
1919
2141
|
}
|
|
1920
2142
|
},
|
|
1921
2143
|
"IndustryCategory": {
|
|
@@ -4111,6 +4333,113 @@
|
|
|
4111
4333
|
}
|
|
4112
4334
|
}
|
|
4113
4335
|
},
|
|
4336
|
+
"CreateDiscoveryConfigRequest": {
|
|
4337
|
+
"fields": {
|
|
4338
|
+
"parent": {
|
|
4339
|
+
"type": "string",
|
|
4340
|
+
"id": 1,
|
|
4341
|
+
"options": {
|
|
4342
|
+
"(google.api.field_behavior)": "REQUIRED",
|
|
4343
|
+
"(google.api.resource_reference).child_type": "dlp.googleapis.com/DiscoveryConfig"
|
|
4344
|
+
}
|
|
4345
|
+
},
|
|
4346
|
+
"discoveryConfig": {
|
|
4347
|
+
"type": "DiscoveryConfig",
|
|
4348
|
+
"id": 2,
|
|
4349
|
+
"options": {
|
|
4350
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
4351
|
+
}
|
|
4352
|
+
},
|
|
4353
|
+
"configId": {
|
|
4354
|
+
"type": "string",
|
|
4355
|
+
"id": 3
|
|
4356
|
+
}
|
|
4357
|
+
}
|
|
4358
|
+
},
|
|
4359
|
+
"UpdateDiscoveryConfigRequest": {
|
|
4360
|
+
"fields": {
|
|
4361
|
+
"name": {
|
|
4362
|
+
"type": "string",
|
|
4363
|
+
"id": 1,
|
|
4364
|
+
"options": {
|
|
4365
|
+
"(google.api.field_behavior)": "REQUIRED",
|
|
4366
|
+
"(google.api.resource_reference).type": "dlp.googleapis.com/DiscoveryConfig"
|
|
4367
|
+
}
|
|
4368
|
+
},
|
|
4369
|
+
"discoveryConfig": {
|
|
4370
|
+
"type": "DiscoveryConfig",
|
|
4371
|
+
"id": 2,
|
|
4372
|
+
"options": {
|
|
4373
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
4374
|
+
}
|
|
4375
|
+
},
|
|
4376
|
+
"updateMask": {
|
|
4377
|
+
"type": "google.protobuf.FieldMask",
|
|
4378
|
+
"id": 3
|
|
4379
|
+
}
|
|
4380
|
+
}
|
|
4381
|
+
},
|
|
4382
|
+
"GetDiscoveryConfigRequest": {
|
|
4383
|
+
"fields": {
|
|
4384
|
+
"name": {
|
|
4385
|
+
"type": "string",
|
|
4386
|
+
"id": 1,
|
|
4387
|
+
"options": {
|
|
4388
|
+
"(google.api.field_behavior)": "REQUIRED",
|
|
4389
|
+
"(google.api.resource_reference).type": "dlp.googleapis.com/DiscoveryConfig"
|
|
4390
|
+
}
|
|
4391
|
+
}
|
|
4392
|
+
}
|
|
4393
|
+
},
|
|
4394
|
+
"ListDiscoveryConfigsRequest": {
|
|
4395
|
+
"fields": {
|
|
4396
|
+
"parent": {
|
|
4397
|
+
"type": "string",
|
|
4398
|
+
"id": 1,
|
|
4399
|
+
"options": {
|
|
4400
|
+
"(google.api.field_behavior)": "REQUIRED",
|
|
4401
|
+
"(google.api.resource_reference).child_type": "dlp.googleapis.com/DiscoveryConfig"
|
|
4402
|
+
}
|
|
4403
|
+
},
|
|
4404
|
+
"pageToken": {
|
|
4405
|
+
"type": "string",
|
|
4406
|
+
"id": 2
|
|
4407
|
+
},
|
|
4408
|
+
"pageSize": {
|
|
4409
|
+
"type": "int32",
|
|
4410
|
+
"id": 3
|
|
4411
|
+
},
|
|
4412
|
+
"orderBy": {
|
|
4413
|
+
"type": "string",
|
|
4414
|
+
"id": 4
|
|
4415
|
+
}
|
|
4416
|
+
}
|
|
4417
|
+
},
|
|
4418
|
+
"ListDiscoveryConfigsResponse": {
|
|
4419
|
+
"fields": {
|
|
4420
|
+
"discoveryConfigs": {
|
|
4421
|
+
"rule": "repeated",
|
|
4422
|
+
"type": "DiscoveryConfig",
|
|
4423
|
+
"id": 1
|
|
4424
|
+
},
|
|
4425
|
+
"nextPageToken": {
|
|
4426
|
+
"type": "string",
|
|
4427
|
+
"id": 2
|
|
4428
|
+
}
|
|
4429
|
+
}
|
|
4430
|
+
},
|
|
4431
|
+
"DeleteDiscoveryConfigRequest": {
|
|
4432
|
+
"fields": {
|
|
4433
|
+
"name": {
|
|
4434
|
+
"type": "string",
|
|
4435
|
+
"id": 1,
|
|
4436
|
+
"options": {
|
|
4437
|
+
"(google.api.field_behavior)": "REQUIRED",
|
|
4438
|
+
"(google.api.resource_reference).type": "dlp.googleapis.com/DiscoveryConfig"
|
|
4439
|
+
}
|
|
4440
|
+
}
|
|
4441
|
+
}
|
|
4442
|
+
},
|
|
4114
4443
|
"CreateDlpJobRequest": {
|
|
4115
4444
|
"oneofs": {
|
|
4116
4445
|
"job": {
|
|
@@ -4319,22 +4648,372 @@
|
|
|
4319
4648
|
}
|
|
4320
4649
|
}
|
|
4321
4650
|
},
|
|
4322
|
-
"
|
|
4323
|
-
"oneofs": {
|
|
4324
|
-
"location": {
|
|
4325
|
-
"oneof": [
|
|
4326
|
-
"organizationId",
|
|
4327
|
-
"folderId"
|
|
4328
|
-
]
|
|
4329
|
-
}
|
|
4330
|
-
},
|
|
4651
|
+
"BigQueryRegex": {
|
|
4331
4652
|
"fields": {
|
|
4332
|
-
"
|
|
4333
|
-
"type": "
|
|
4653
|
+
"projectIdRegex": {
|
|
4654
|
+
"type": "string",
|
|
4334
4655
|
"id": 1
|
|
4335
4656
|
},
|
|
4336
|
-
"
|
|
4337
|
-
"type": "
|
|
4657
|
+
"datasetIdRegex": {
|
|
4658
|
+
"type": "string",
|
|
4659
|
+
"id": 2
|
|
4660
|
+
},
|
|
4661
|
+
"tableIdRegex": {
|
|
4662
|
+
"type": "string",
|
|
4663
|
+
"id": 3
|
|
4664
|
+
}
|
|
4665
|
+
}
|
|
4666
|
+
},
|
|
4667
|
+
"BigQueryRegexes": {
|
|
4668
|
+
"fields": {
|
|
4669
|
+
"patterns": {
|
|
4670
|
+
"rule": "repeated",
|
|
4671
|
+
"type": "BigQueryRegex",
|
|
4672
|
+
"id": 1
|
|
4673
|
+
}
|
|
4674
|
+
}
|
|
4675
|
+
},
|
|
4676
|
+
"BigQueryTableTypes": {
|
|
4677
|
+
"fields": {
|
|
4678
|
+
"types": {
|
|
4679
|
+
"rule": "repeated",
|
|
4680
|
+
"type": "BigQueryTableType",
|
|
4681
|
+
"id": 1
|
|
4682
|
+
}
|
|
4683
|
+
}
|
|
4684
|
+
},
|
|
4685
|
+
"BigQueryTableTypeCollection": {
|
|
4686
|
+
"values": {
|
|
4687
|
+
"BIG_QUERY_COLLECTION_UNSPECIFIED": 0,
|
|
4688
|
+
"BIG_QUERY_COLLECTION_ALL_TYPES": 1,
|
|
4689
|
+
"BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES": 2
|
|
4690
|
+
}
|
|
4691
|
+
},
|
|
4692
|
+
"BigQueryTableType": {
|
|
4693
|
+
"values": {
|
|
4694
|
+
"BIG_QUERY_TABLE_TYPE_UNSPECIFIED": 0,
|
|
4695
|
+
"BIG_QUERY_TABLE_TYPE_TABLE": 1,
|
|
4696
|
+
"BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE": 2
|
|
4697
|
+
}
|
|
4698
|
+
},
|
|
4699
|
+
"DataProfileUpdateFrequency": {
|
|
4700
|
+
"values": {
|
|
4701
|
+
"UPDATE_FREQUENCY_UNSPECIFIED": 0,
|
|
4702
|
+
"UPDATE_FREQUENCY_NEVER": 1,
|
|
4703
|
+
"UPDATE_FREQUENCY_DAILY": 2,
|
|
4704
|
+
"UPDATE_FREQUENCY_MONTHLY": 4
|
|
4705
|
+
}
|
|
4706
|
+
},
|
|
4707
|
+
"Disabled": {
|
|
4708
|
+
"fields": {}
|
|
4709
|
+
},
|
|
4710
|
+
"DataProfileLocation": {
|
|
4711
|
+
"oneofs": {
|
|
4712
|
+
"location": {
|
|
4713
|
+
"oneof": [
|
|
4714
|
+
"organizationId",
|
|
4715
|
+
"folderId"
|
|
4716
|
+
]
|
|
4717
|
+
}
|
|
4718
|
+
},
|
|
4719
|
+
"fields": {
|
|
4720
|
+
"organizationId": {
|
|
4721
|
+
"type": "int64",
|
|
4722
|
+
"id": 1
|
|
4723
|
+
},
|
|
4724
|
+
"folderId": {
|
|
4725
|
+
"type": "int64",
|
|
4726
|
+
"id": 2
|
|
4727
|
+
}
|
|
4728
|
+
}
|
|
4729
|
+
},
|
|
4730
|
+
"DiscoveryConfig": {
|
|
4731
|
+
"options": {
|
|
4732
|
+
"(google.api.resource).type": "dlp.googleapis.com/DiscoveryConfig",
|
|
4733
|
+
"(google.api.resource).pattern": "projects/{project}/locations/{location}/discoveryConfigs/{discovery_config}"
|
|
4734
|
+
},
|
|
4735
|
+
"fields": {
|
|
4736
|
+
"name": {
|
|
4737
|
+
"type": "string",
|
|
4738
|
+
"id": 1
|
|
4739
|
+
},
|
|
4740
|
+
"displayName": {
|
|
4741
|
+
"type": "string",
|
|
4742
|
+
"id": 11
|
|
4743
|
+
},
|
|
4744
|
+
"orgConfig": {
|
|
4745
|
+
"type": "OrgConfig",
|
|
4746
|
+
"id": 2
|
|
4747
|
+
},
|
|
4748
|
+
"inspectTemplates": {
|
|
4749
|
+
"rule": "repeated",
|
|
4750
|
+
"type": "string",
|
|
4751
|
+
"id": 3
|
|
4752
|
+
},
|
|
4753
|
+
"actions": {
|
|
4754
|
+
"rule": "repeated",
|
|
4755
|
+
"type": "DataProfileAction",
|
|
4756
|
+
"id": 4
|
|
4757
|
+
},
|
|
4758
|
+
"targets": {
|
|
4759
|
+
"rule": "repeated",
|
|
4760
|
+
"type": "DiscoveryTarget",
|
|
4761
|
+
"id": 5
|
|
4762
|
+
},
|
|
4763
|
+
"errors": {
|
|
4764
|
+
"rule": "repeated",
|
|
4765
|
+
"type": "Error",
|
|
4766
|
+
"id": 6,
|
|
4767
|
+
"options": {
|
|
4768
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
4769
|
+
}
|
|
4770
|
+
},
|
|
4771
|
+
"createTime": {
|
|
4772
|
+
"type": "google.protobuf.Timestamp",
|
|
4773
|
+
"id": 7,
|
|
4774
|
+
"options": {
|
|
4775
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
4776
|
+
}
|
|
4777
|
+
},
|
|
4778
|
+
"updateTime": {
|
|
4779
|
+
"type": "google.protobuf.Timestamp",
|
|
4780
|
+
"id": 8,
|
|
4781
|
+
"options": {
|
|
4782
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
4783
|
+
}
|
|
4784
|
+
},
|
|
4785
|
+
"lastRunTime": {
|
|
4786
|
+
"type": "google.protobuf.Timestamp",
|
|
4787
|
+
"id": 9,
|
|
4788
|
+
"options": {
|
|
4789
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
4790
|
+
}
|
|
4791
|
+
},
|
|
4792
|
+
"status": {
|
|
4793
|
+
"type": "Status",
|
|
4794
|
+
"id": 10,
|
|
4795
|
+
"options": {
|
|
4796
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
4797
|
+
}
|
|
4798
|
+
}
|
|
4799
|
+
},
|
|
4800
|
+
"nested": {
|
|
4801
|
+
"OrgConfig": {
|
|
4802
|
+
"fields": {
|
|
4803
|
+
"location": {
|
|
4804
|
+
"type": "DiscoveryStartingLocation",
|
|
4805
|
+
"id": 1
|
|
4806
|
+
},
|
|
4807
|
+
"projectId": {
|
|
4808
|
+
"type": "string",
|
|
4809
|
+
"id": 2
|
|
4810
|
+
}
|
|
4811
|
+
}
|
|
4812
|
+
},
|
|
4813
|
+
"Status": {
|
|
4814
|
+
"values": {
|
|
4815
|
+
"STATUS_UNSPECIFIED": 0,
|
|
4816
|
+
"RUNNING": 1,
|
|
4817
|
+
"PAUSED": 2
|
|
4818
|
+
}
|
|
4819
|
+
}
|
|
4820
|
+
}
|
|
4821
|
+
},
|
|
4822
|
+
"DiscoveryTarget": {
|
|
4823
|
+
"oneofs": {
|
|
4824
|
+
"target": {
|
|
4825
|
+
"oneof": [
|
|
4826
|
+
"bigQueryTarget"
|
|
4827
|
+
]
|
|
4828
|
+
}
|
|
4829
|
+
},
|
|
4830
|
+
"fields": {
|
|
4831
|
+
"bigQueryTarget": {
|
|
4832
|
+
"type": "BigQueryDiscoveryTarget",
|
|
4833
|
+
"id": 1
|
|
4834
|
+
}
|
|
4835
|
+
}
|
|
4836
|
+
},
|
|
4837
|
+
"BigQueryDiscoveryTarget": {
|
|
4838
|
+
"oneofs": {
|
|
4839
|
+
"frequency": {
|
|
4840
|
+
"oneof": [
|
|
4841
|
+
"cadence",
|
|
4842
|
+
"disabled"
|
|
4843
|
+
]
|
|
4844
|
+
}
|
|
4845
|
+
},
|
|
4846
|
+
"fields": {
|
|
4847
|
+
"filter": {
|
|
4848
|
+
"type": "DiscoveryBigQueryFilter",
|
|
4849
|
+
"id": 1,
|
|
4850
|
+
"options": {
|
|
4851
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
4852
|
+
}
|
|
4853
|
+
},
|
|
4854
|
+
"conditions": {
|
|
4855
|
+
"type": "DiscoveryBigQueryConditions",
|
|
4856
|
+
"id": 2
|
|
4857
|
+
},
|
|
4858
|
+
"cadence": {
|
|
4859
|
+
"type": "DiscoveryGenerationCadence",
|
|
4860
|
+
"id": 3
|
|
4861
|
+
},
|
|
4862
|
+
"disabled": {
|
|
4863
|
+
"type": "Disabled",
|
|
4864
|
+
"id": 4
|
|
4865
|
+
}
|
|
4866
|
+
}
|
|
4867
|
+
},
|
|
4868
|
+
"DiscoveryBigQueryFilter": {
|
|
4869
|
+
"oneofs": {
|
|
4870
|
+
"filter": {
|
|
4871
|
+
"oneof": [
|
|
4872
|
+
"tables",
|
|
4873
|
+
"otherTables"
|
|
4874
|
+
]
|
|
4875
|
+
}
|
|
4876
|
+
},
|
|
4877
|
+
"fields": {
|
|
4878
|
+
"tables": {
|
|
4879
|
+
"type": "BigQueryTableCollection",
|
|
4880
|
+
"id": 1
|
|
4881
|
+
},
|
|
4882
|
+
"otherTables": {
|
|
4883
|
+
"type": "AllOtherBigQueryTables",
|
|
4884
|
+
"id": 2
|
|
4885
|
+
}
|
|
4886
|
+
},
|
|
4887
|
+
"nested": {
|
|
4888
|
+
"AllOtherBigQueryTables": {
|
|
4889
|
+
"fields": {}
|
|
4890
|
+
}
|
|
4891
|
+
}
|
|
4892
|
+
},
|
|
4893
|
+
"BigQueryTableCollection": {
|
|
4894
|
+
"oneofs": {
|
|
4895
|
+
"pattern": {
|
|
4896
|
+
"oneof": [
|
|
4897
|
+
"includeRegexes"
|
|
4898
|
+
]
|
|
4899
|
+
}
|
|
4900
|
+
},
|
|
4901
|
+
"fields": {
|
|
4902
|
+
"includeRegexes": {
|
|
4903
|
+
"type": "BigQueryRegexes",
|
|
4904
|
+
"id": 1
|
|
4905
|
+
}
|
|
4906
|
+
}
|
|
4907
|
+
},
|
|
4908
|
+
"DiscoveryBigQueryConditions": {
|
|
4909
|
+
"oneofs": {
|
|
4910
|
+
"includedTypes": {
|
|
4911
|
+
"oneof": [
|
|
4912
|
+
"types",
|
|
4913
|
+
"typeCollection"
|
|
4914
|
+
]
|
|
4915
|
+
}
|
|
4916
|
+
},
|
|
4917
|
+
"fields": {
|
|
4918
|
+
"createdAfter": {
|
|
4919
|
+
"type": "google.protobuf.Timestamp",
|
|
4920
|
+
"id": 1
|
|
4921
|
+
},
|
|
4922
|
+
"types": {
|
|
4923
|
+
"type": "BigQueryTableTypes",
|
|
4924
|
+
"id": 2
|
|
4925
|
+
},
|
|
4926
|
+
"typeCollection": {
|
|
4927
|
+
"type": "BigQueryTableTypeCollection",
|
|
4928
|
+
"id": 3
|
|
4929
|
+
},
|
|
4930
|
+
"orConditions": {
|
|
4931
|
+
"type": "OrConditions",
|
|
4932
|
+
"id": 4
|
|
4933
|
+
}
|
|
4934
|
+
},
|
|
4935
|
+
"nested": {
|
|
4936
|
+
"OrConditions": {
|
|
4937
|
+
"fields": {
|
|
4938
|
+
"minRowCount": {
|
|
4939
|
+
"type": "int32",
|
|
4940
|
+
"id": 1
|
|
4941
|
+
},
|
|
4942
|
+
"minAge": {
|
|
4943
|
+
"type": "google.protobuf.Duration",
|
|
4944
|
+
"id": 2
|
|
4945
|
+
}
|
|
4946
|
+
}
|
|
4947
|
+
}
|
|
4948
|
+
}
|
|
4949
|
+
},
|
|
4950
|
+
"DiscoveryGenerationCadence": {
|
|
4951
|
+
"fields": {
|
|
4952
|
+
"schemaModifiedCadence": {
|
|
4953
|
+
"type": "DiscoverySchemaModifiedCadence",
|
|
4954
|
+
"id": 1
|
|
4955
|
+
},
|
|
4956
|
+
"tableModifiedCadence": {
|
|
4957
|
+
"type": "DiscoveryTableModifiedCadence",
|
|
4958
|
+
"id": 2
|
|
4959
|
+
}
|
|
4960
|
+
}
|
|
4961
|
+
},
|
|
4962
|
+
"DiscoveryTableModifiedCadence": {
|
|
4963
|
+
"fields": {
|
|
4964
|
+
"types": {
|
|
4965
|
+
"rule": "repeated",
|
|
4966
|
+
"type": "BigQueryTableModification",
|
|
4967
|
+
"id": 1
|
|
4968
|
+
},
|
|
4969
|
+
"frequency": {
|
|
4970
|
+
"type": "DataProfileUpdateFrequency",
|
|
4971
|
+
"id": 2
|
|
4972
|
+
}
|
|
4973
|
+
}
|
|
4974
|
+
},
|
|
4975
|
+
"BigQueryTableModification": {
|
|
4976
|
+
"values": {
|
|
4977
|
+
"TABLE_MODIFICATION_UNSPECIFIED": 0,
|
|
4978
|
+
"TABLE_MODIFIED_TIMESTAMP": 1
|
|
4979
|
+
}
|
|
4980
|
+
},
|
|
4981
|
+
"DiscoverySchemaModifiedCadence": {
|
|
4982
|
+
"fields": {
|
|
4983
|
+
"types": {
|
|
4984
|
+
"rule": "repeated",
|
|
4985
|
+
"type": "BigQuerySchemaModification",
|
|
4986
|
+
"id": 1
|
|
4987
|
+
},
|
|
4988
|
+
"frequency": {
|
|
4989
|
+
"type": "DataProfileUpdateFrequency",
|
|
4990
|
+
"id": 2
|
|
4991
|
+
}
|
|
4992
|
+
}
|
|
4993
|
+
},
|
|
4994
|
+
"BigQuerySchemaModification": {
|
|
4995
|
+
"values": {
|
|
4996
|
+
"SCHEMA_MODIFICATION_UNSPECIFIED": 0,
|
|
4997
|
+
"SCHEMA_NEW_COLUMNS": 1,
|
|
4998
|
+
"SCHEMA_REMOVED_COLUMNS": 2
|
|
4999
|
+
}
|
|
5000
|
+
},
|
|
5001
|
+
"DiscoveryStartingLocation": {
|
|
5002
|
+
"oneofs": {
|
|
5003
|
+
"location": {
|
|
5004
|
+
"oneof": [
|
|
5005
|
+
"organizationId",
|
|
5006
|
+
"folderId"
|
|
5007
|
+
]
|
|
5008
|
+
}
|
|
5009
|
+
},
|
|
5010
|
+
"fields": {
|
|
5011
|
+
"organizationId": {
|
|
5012
|
+
"type": "int64",
|
|
5013
|
+
"id": 1
|
|
5014
|
+
},
|
|
5015
|
+
"folderId": {
|
|
5016
|
+
"type": "int64",
|
|
4338
5017
|
"id": 2
|
|
4339
5018
|
}
|
|
4340
5019
|
}
|
|
@@ -4385,6 +5064,10 @@
|
|
|
4385
5064
|
"type": "google.protobuf.Timestamp",
|
|
4386
5065
|
"id": 8
|
|
4387
5066
|
},
|
|
5067
|
+
"lastModified": {
|
|
5068
|
+
"type": "google.protobuf.Timestamp",
|
|
5069
|
+
"id": 15
|
|
5070
|
+
},
|
|
4388
5071
|
"jobTriggerName": {
|
|
4389
5072
|
"type": "string",
|
|
4390
5073
|
"id": 10
|
|
@@ -4393,6 +5076,11 @@
|
|
|
4393
5076
|
"rule": "repeated",
|
|
4394
5077
|
"type": "Error",
|
|
4395
5078
|
"id": 11
|
|
5079
|
+
},
|
|
5080
|
+
"actionDetails": {
|
|
5081
|
+
"rule": "repeated",
|
|
5082
|
+
"type": "ActionDetails",
|
|
5083
|
+
"id": 12
|
|
4396
5084
|
}
|
|
4397
5085
|
},
|
|
4398
5086
|
"nested": {
|
|
@@ -5180,6 +5868,146 @@
|
|
|
5180
5868
|
"estimatedPrevalence": {
|
|
5181
5869
|
"type": "int32",
|
|
5182
5870
|
"id": 2
|
|
5871
|
+
},
|
|
5872
|
+
"excludedFromAnalysis": {
|
|
5873
|
+
"type": "bool",
|
|
5874
|
+
"id": 3
|
|
5875
|
+
}
|
|
5876
|
+
}
|
|
5877
|
+
},
|
|
5878
|
+
"NullPercentageLevel": {
|
|
5879
|
+
"values": {
|
|
5880
|
+
"NULL_PERCENTAGE_LEVEL_UNSPECIFIED": 0,
|
|
5881
|
+
"NULL_PERCENTAGE_VERY_LOW": 1,
|
|
5882
|
+
"NULL_PERCENTAGE_LOW": 2,
|
|
5883
|
+
"NULL_PERCENTAGE_MEDIUM": 3,
|
|
5884
|
+
"NULL_PERCENTAGE_HIGH": 4
|
|
5885
|
+
}
|
|
5886
|
+
},
|
|
5887
|
+
"UniquenessScoreLevel": {
|
|
5888
|
+
"values": {
|
|
5889
|
+
"UNIQUENESS_SCORE_LEVEL_UNSPECIFIED": 0,
|
|
5890
|
+
"UNIQUENESS_SCORE_LOW": 1,
|
|
5891
|
+
"UNIQUENESS_SCORE_MEDIUM": 2,
|
|
5892
|
+
"UNIQUENESS_SCORE_HIGH": 3
|
|
5893
|
+
}
|
|
5894
|
+
},
|
|
5895
|
+
"ColumnDataProfile": {
|
|
5896
|
+
"fields": {
|
|
5897
|
+
"name": {
|
|
5898
|
+
"type": "string",
|
|
5899
|
+
"id": 1
|
|
5900
|
+
},
|
|
5901
|
+
"profileStatus": {
|
|
5902
|
+
"type": "ProfileStatus",
|
|
5903
|
+
"id": 17
|
|
5904
|
+
},
|
|
5905
|
+
"state": {
|
|
5906
|
+
"type": "State",
|
|
5907
|
+
"id": 18
|
|
5908
|
+
},
|
|
5909
|
+
"profileLastGenerated": {
|
|
5910
|
+
"type": "google.protobuf.Timestamp",
|
|
5911
|
+
"id": 3
|
|
5912
|
+
},
|
|
5913
|
+
"tableDataProfile": {
|
|
5914
|
+
"type": "string",
|
|
5915
|
+
"id": 4
|
|
5916
|
+
},
|
|
5917
|
+
"tableFullResource": {
|
|
5918
|
+
"type": "string",
|
|
5919
|
+
"id": 5
|
|
5920
|
+
},
|
|
5921
|
+
"datasetProjectId": {
|
|
5922
|
+
"type": "string",
|
|
5923
|
+
"id": 19
|
|
5924
|
+
},
|
|
5925
|
+
"datasetLocation": {
|
|
5926
|
+
"type": "string",
|
|
5927
|
+
"id": 20
|
|
5928
|
+
},
|
|
5929
|
+
"datasetId": {
|
|
5930
|
+
"type": "string",
|
|
5931
|
+
"id": 21
|
|
5932
|
+
},
|
|
5933
|
+
"tableId": {
|
|
5934
|
+
"type": "string",
|
|
5935
|
+
"id": 22
|
|
5936
|
+
},
|
|
5937
|
+
"column": {
|
|
5938
|
+
"type": "string",
|
|
5939
|
+
"id": 6
|
|
5940
|
+
},
|
|
5941
|
+
"sensitivityScore": {
|
|
5942
|
+
"type": "SensitivityScore",
|
|
5943
|
+
"id": 7
|
|
5944
|
+
},
|
|
5945
|
+
"dataRiskLevel": {
|
|
5946
|
+
"type": "DataRiskLevel",
|
|
5947
|
+
"id": 8
|
|
5948
|
+
},
|
|
5949
|
+
"columnInfoType": {
|
|
5950
|
+
"type": "InfoTypeSummary",
|
|
5951
|
+
"id": 9
|
|
5952
|
+
},
|
|
5953
|
+
"otherMatches": {
|
|
5954
|
+
"rule": "repeated",
|
|
5955
|
+
"type": "OtherInfoTypeSummary",
|
|
5956
|
+
"id": 10
|
|
5957
|
+
},
|
|
5958
|
+
"estimatedNullPercentage": {
|
|
5959
|
+
"type": "NullPercentageLevel",
|
|
5960
|
+
"id": 23
|
|
5961
|
+
},
|
|
5962
|
+
"estimatedUniquenessScore": {
|
|
5963
|
+
"type": "UniquenessScoreLevel",
|
|
5964
|
+
"id": 24
|
|
5965
|
+
},
|
|
5966
|
+
"freeTextScore": {
|
|
5967
|
+
"type": "double",
|
|
5968
|
+
"id": 13
|
|
5969
|
+
},
|
|
5970
|
+
"columnType": {
|
|
5971
|
+
"type": "ColumnDataType",
|
|
5972
|
+
"id": 14
|
|
5973
|
+
},
|
|
5974
|
+
"policyState": {
|
|
5975
|
+
"type": "ColumnPolicyState",
|
|
5976
|
+
"id": 15
|
|
5977
|
+
}
|
|
5978
|
+
},
|
|
5979
|
+
"nested": {
|
|
5980
|
+
"State": {
|
|
5981
|
+
"values": {
|
|
5982
|
+
"STATE_UNSPECIFIED": 0,
|
|
5983
|
+
"RUNNING": 1,
|
|
5984
|
+
"DONE": 2
|
|
5985
|
+
}
|
|
5986
|
+
},
|
|
5987
|
+
"ColumnDataType": {
|
|
5988
|
+
"values": {
|
|
5989
|
+
"COLUMN_DATA_TYPE_UNSPECIFIED": 0,
|
|
5990
|
+
"TYPE_INT64": 1,
|
|
5991
|
+
"TYPE_BOOL": 2,
|
|
5992
|
+
"TYPE_FLOAT64": 3,
|
|
5993
|
+
"TYPE_STRING": 4,
|
|
5994
|
+
"TYPE_BYTES": 5,
|
|
5995
|
+
"TYPE_TIMESTAMP": 6,
|
|
5996
|
+
"TYPE_DATE": 7,
|
|
5997
|
+
"TYPE_TIME": 8,
|
|
5998
|
+
"TYPE_DATETIME": 9,
|
|
5999
|
+
"TYPE_GEOGRAPHY": 10,
|
|
6000
|
+
"TYPE_NUMERIC": 11,
|
|
6001
|
+
"TYPE_RECORD": 12,
|
|
6002
|
+
"TYPE_BIGNUMERIC": 13,
|
|
6003
|
+
"TYPE_JSON": 14
|
|
6004
|
+
}
|
|
6005
|
+
},
|
|
6006
|
+
"ColumnPolicyState": {
|
|
6007
|
+
"values": {
|
|
6008
|
+
"COLUMN_POLICY_STATE_UNSPECIFIED": 0,
|
|
6009
|
+
"COLUMN_POLICY_TAGGED": 1
|
|
6010
|
+
}
|
|
5183
6011
|
}
|
|
5184
6012
|
}
|
|
5185
6013
|
},
|
|
@@ -5263,6 +6091,10 @@
|
|
|
5263
6091
|
"version": {
|
|
5264
6092
|
"type": "string",
|
|
5265
6093
|
"id": 2
|
|
6094
|
+
},
|
|
6095
|
+
"sensitivityScore": {
|
|
6096
|
+
"type": "SensitivityScore",
|
|
6097
|
+
"id": 3
|
|
5266
6098
|
}
|
|
5267
6099
|
}
|
|
5268
6100
|
},
|
|
@@ -5350,6 +6182,10 @@
|
|
|
5350
6182
|
"exclusionType": {
|
|
5351
6183
|
"type": "ExclusionType",
|
|
5352
6184
|
"id": 8
|
|
6185
|
+
},
|
|
6186
|
+
"sensitivityScore": {
|
|
6187
|
+
"type": "SensitivityScore",
|
|
6188
|
+
"id": 9
|
|
5353
6189
|
}
|
|
5354
6190
|
},
|
|
5355
6191
|
"nested": {
|