@google-cloud/dlp 5.7.0 → 5.9.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.
@@ -139,16 +139,16 @@
139
139
  "requestType": "CreateInspectTemplateRequest",
140
140
  "responseType": "InspectTemplate",
141
141
  "options": {
142
- "(google.api.http).post": "/v2/{parent=organizations/*}/inspectTemplates",
142
+ "(google.api.http).post": "/v2/{parent=projects/*/locations/*}/inspectTemplates",
143
143
  "(google.api.http).body": "*",
144
- "(google.api.http).additional_bindings.post": "/v2/{parent=projects/*/locations/*}/inspectTemplates",
144
+ "(google.api.http).additional_bindings.post": "/v2/{parent=organizations/*}/inspectTemplates",
145
145
  "(google.api.http).additional_bindings.body": "*",
146
146
  "(google.api.method_signature)": "parent,inspect_template"
147
147
  },
148
148
  "parsedOptions": [
149
149
  {
150
150
  "(google.api.http)": {
151
- "post": "/v2/{parent=organizations/*}/inspectTemplates",
151
+ "post": "/v2/{parent=projects/*/locations/*}/inspectTemplates",
152
152
  "body": "*",
153
153
  "additional_bindings": [
154
154
  {
@@ -160,7 +160,7 @@
160
160
  "body": "*"
161
161
  },
162
162
  {
163
- "post": "/v2/{parent=projects/*/locations/*}/inspectTemplates",
163
+ "post": "/v2/{parent=organizations/*}/inspectTemplates",
164
164
  "body": "*"
165
165
  }
166
166
  ]
@@ -175,16 +175,16 @@
175
175
  "requestType": "UpdateInspectTemplateRequest",
176
176
  "responseType": "InspectTemplate",
177
177
  "options": {
178
- "(google.api.http).patch": "/v2/{name=organizations/*/inspectTemplates/*}",
178
+ "(google.api.http).patch": "/v2/{name=projects/*/locations/*/inspectTemplates/*}",
179
179
  "(google.api.http).body": "*",
180
- "(google.api.http).additional_bindings.patch": "/v2/{name=projects/*/locations/*/inspectTemplates/*}",
180
+ "(google.api.http).additional_bindings.patch": "/v2/{name=organizations/*/inspectTemplates/*}",
181
181
  "(google.api.http).additional_bindings.body": "*",
182
182
  "(google.api.method_signature)": "name,inspect_template,update_mask"
183
183
  },
184
184
  "parsedOptions": [
185
185
  {
186
186
  "(google.api.http)": {
187
- "patch": "/v2/{name=organizations/*/inspectTemplates/*}",
187
+ "patch": "/v2/{name=projects/*/locations/*/inspectTemplates/*}",
188
188
  "body": "*",
189
189
  "additional_bindings": [
190
190
  {
@@ -196,7 +196,7 @@
196
196
  "body": "*"
197
197
  },
198
198
  {
199
- "patch": "/v2/{name=projects/*/locations/*/inspectTemplates/*}",
199
+ "patch": "/v2/{name=organizations/*/inspectTemplates/*}",
200
200
  "body": "*"
201
201
  }
202
202
  ]
@@ -211,14 +211,14 @@
211
211
  "requestType": "GetInspectTemplateRequest",
212
212
  "responseType": "InspectTemplate",
213
213
  "options": {
214
- "(google.api.http).get": "/v2/{name=organizations/*/inspectTemplates/*}",
215
- "(google.api.http).additional_bindings.get": "/v2/{name=projects/*/locations/*/inspectTemplates/*}",
214
+ "(google.api.http).get": "/v2/{name=projects/*/locations/*/inspectTemplates/*}",
215
+ "(google.api.http).additional_bindings.get": "/v2/{name=organizations/*/inspectTemplates/*}",
216
216
  "(google.api.method_signature)": "name"
217
217
  },
218
218
  "parsedOptions": [
219
219
  {
220
220
  "(google.api.http)": {
221
- "get": "/v2/{name=organizations/*/inspectTemplates/*}",
221
+ "get": "/v2/{name=projects/*/locations/*/inspectTemplates/*}",
222
222
  "additional_bindings": [
223
223
  {
224
224
  "get": "/v2/{name=organizations/*/locations/*/inspectTemplates/*}"
@@ -227,7 +227,7 @@
227
227
  "get": "/v2/{name=projects/*/inspectTemplates/*}"
228
228
  },
229
229
  {
230
- "get": "/v2/{name=projects/*/locations/*/inspectTemplates/*}"
230
+ "get": "/v2/{name=organizations/*/inspectTemplates/*}"
231
231
  }
232
232
  ]
233
233
  }
@@ -241,14 +241,14 @@
241
241
  "requestType": "ListInspectTemplatesRequest",
242
242
  "responseType": "ListInspectTemplatesResponse",
243
243
  "options": {
244
- "(google.api.http).get": "/v2/{parent=organizations/*}/inspectTemplates",
245
- "(google.api.http).additional_bindings.get": "/v2/{parent=projects/*/locations/*}/inspectTemplates",
244
+ "(google.api.http).get": "/v2/{parent=projects/*/locations/*}/inspectTemplates",
245
+ "(google.api.http).additional_bindings.get": "/v2/{parent=organizations/*}/inspectTemplates",
246
246
  "(google.api.method_signature)": "parent"
247
247
  },
248
248
  "parsedOptions": [
249
249
  {
250
250
  "(google.api.http)": {
251
- "get": "/v2/{parent=organizations/*}/inspectTemplates",
251
+ "get": "/v2/{parent=projects/*/locations/*}/inspectTemplates",
252
252
  "additional_bindings": [
253
253
  {
254
254
  "get": "/v2/{parent=organizations/*/locations/*}/inspectTemplates"
@@ -257,7 +257,7 @@
257
257
  "get": "/v2/{parent=projects/*}/inspectTemplates"
258
258
  },
259
259
  {
260
- "get": "/v2/{parent=projects/*/locations/*}/inspectTemplates"
260
+ "get": "/v2/{parent=organizations/*}/inspectTemplates"
261
261
  }
262
262
  ]
263
263
  }
@@ -271,14 +271,14 @@
271
271
  "requestType": "DeleteInspectTemplateRequest",
272
272
  "responseType": "google.protobuf.Empty",
273
273
  "options": {
274
- "(google.api.http).delete": "/v2/{name=organizations/*/inspectTemplates/*}",
275
- "(google.api.http).additional_bindings.delete": "/v2/{name=projects/*/locations/*/inspectTemplates/*}",
274
+ "(google.api.http).delete": "/v2/{name=projects/*/locations/*/inspectTemplates/*}",
275
+ "(google.api.http).additional_bindings.delete": "/v2/{name=organizations/*/inspectTemplates/*}",
276
276
  "(google.api.method_signature)": "name"
277
277
  },
278
278
  "parsedOptions": [
279
279
  {
280
280
  "(google.api.http)": {
281
- "delete": "/v2/{name=organizations/*/inspectTemplates/*}",
281
+ "delete": "/v2/{name=projects/*/locations/*/inspectTemplates/*}",
282
282
  "additional_bindings": [
283
283
  {
284
284
  "delete": "/v2/{name=organizations/*/locations/*/inspectTemplates/*}"
@@ -287,7 +287,7 @@
287
287
  "delete": "/v2/{name=projects/*/inspectTemplates/*}"
288
288
  },
289
289
  {
290
- "delete": "/v2/{name=projects/*/locations/*/inspectTemplates/*}"
290
+ "delete": "/v2/{name=organizations/*/inspectTemplates/*}"
291
291
  }
292
292
  ]
293
293
  }
@@ -1136,6 +1136,72 @@
1136
1136
  }
1137
1137
  ]
1138
1138
  },
1139
+ "ListFileStoreDataProfiles": {
1140
+ "requestType": "ListFileStoreDataProfilesRequest",
1141
+ "responseType": "ListFileStoreDataProfilesResponse",
1142
+ "options": {
1143
+ "(google.api.http).get": "/v2/{parent=organizations/*/locations/*}/fileStoreDataProfiles",
1144
+ "(google.api.http).additional_bindings.get": "/v2/{parent=projects/*/locations/*}/fileStoreDataProfiles",
1145
+ "(google.api.method_signature)": "parent"
1146
+ },
1147
+ "parsedOptions": [
1148
+ {
1149
+ "(google.api.http)": {
1150
+ "get": "/v2/{parent=organizations/*/locations/*}/fileStoreDataProfiles",
1151
+ "additional_bindings": {
1152
+ "get": "/v2/{parent=projects/*/locations/*}/fileStoreDataProfiles"
1153
+ }
1154
+ }
1155
+ },
1156
+ {
1157
+ "(google.api.method_signature)": "parent"
1158
+ }
1159
+ ]
1160
+ },
1161
+ "GetFileStoreDataProfile": {
1162
+ "requestType": "GetFileStoreDataProfileRequest",
1163
+ "responseType": "FileStoreDataProfile",
1164
+ "options": {
1165
+ "(google.api.http).get": "/v2/{name=organizations/*/locations/*/fileStoreDataProfiles/*}",
1166
+ "(google.api.http).additional_bindings.get": "/v2/{name=projects/*/locations/*/fileStoreDataProfiles/*}",
1167
+ "(google.api.method_signature)": "name"
1168
+ },
1169
+ "parsedOptions": [
1170
+ {
1171
+ "(google.api.http)": {
1172
+ "get": "/v2/{name=organizations/*/locations/*/fileStoreDataProfiles/*}",
1173
+ "additional_bindings": {
1174
+ "get": "/v2/{name=projects/*/locations/*/fileStoreDataProfiles/*}"
1175
+ }
1176
+ }
1177
+ },
1178
+ {
1179
+ "(google.api.method_signature)": "name"
1180
+ }
1181
+ ]
1182
+ },
1183
+ "DeleteFileStoreDataProfile": {
1184
+ "requestType": "DeleteFileStoreDataProfileRequest",
1185
+ "responseType": "google.protobuf.Empty",
1186
+ "options": {
1187
+ "(google.api.http).delete": "/v2/{name=organizations/*/locations/*/fileStoreDataProfiles/*}",
1188
+ "(google.api.http).additional_bindings.delete": "/v2/{name=projects/*/locations/*/fileStoreDataProfiles/*}",
1189
+ "(google.api.method_signature)": "name"
1190
+ },
1191
+ "parsedOptions": [
1192
+ {
1193
+ "(google.api.http)": {
1194
+ "delete": "/v2/{name=organizations/*/locations/*/fileStoreDataProfiles/*}",
1195
+ "additional_bindings": {
1196
+ "delete": "/v2/{name=projects/*/locations/*/fileStoreDataProfiles/*}"
1197
+ }
1198
+ }
1199
+ },
1200
+ {
1201
+ "(google.api.method_signature)": "name"
1202
+ }
1203
+ ]
1204
+ },
1139
1205
  "GetTableDataProfile": {
1140
1206
  "requestType": "GetTableDataProfileRequest",
1141
1207
  "responseType": "TableDataProfile",
@@ -1244,13 +1310,19 @@
1244
1310
  "options": {
1245
1311
  "(google.api.http).post": "/v2/{parent=projects/*/locations/*}/connections",
1246
1312
  "(google.api.http).body": "*",
1313
+ "(google.api.http).additional_bindings.post": "/v2/{parent=organizations/*/locations/*}/connections",
1314
+ "(google.api.http).additional_bindings.body": "*",
1247
1315
  "(google.api.method_signature)": "parent, connection"
1248
1316
  },
1249
1317
  "parsedOptions": [
1250
1318
  {
1251
1319
  "(google.api.http)": {
1252
1320
  "post": "/v2/{parent=projects/*/locations/*}/connections",
1253
- "body": "*"
1321
+ "body": "*",
1322
+ "additional_bindings": {
1323
+ "post": "/v2/{parent=organizations/*/locations/*}/connections",
1324
+ "body": "*"
1325
+ }
1254
1326
  }
1255
1327
  },
1256
1328
  {
@@ -1263,12 +1335,16 @@
1263
1335
  "responseType": "Connection",
1264
1336
  "options": {
1265
1337
  "(google.api.http).get": "/v2/{name=projects/*/locations/*/connections/*}",
1338
+ "(google.api.http).additional_bindings.get": "/v2/{name=organizations/*/locations/*/connections/*}",
1266
1339
  "(google.api.method_signature)": "name"
1267
1340
  },
1268
1341
  "parsedOptions": [
1269
1342
  {
1270
1343
  "(google.api.http)": {
1271
- "get": "/v2/{name=projects/*/locations/*/connections/*}"
1344
+ "get": "/v2/{name=projects/*/locations/*/connections/*}",
1345
+ "additional_bindings": {
1346
+ "get": "/v2/{name=organizations/*/locations/*/connections/*}"
1347
+ }
1272
1348
  }
1273
1349
  },
1274
1350
  {
@@ -1281,12 +1357,16 @@
1281
1357
  "responseType": "ListConnectionsResponse",
1282
1358
  "options": {
1283
1359
  "(google.api.http).get": "/v2/{parent=projects/*/locations/*}/connections",
1360
+ "(google.api.http).additional_bindings.get": "/v2/{parent=organizations/*/locations/*}/connections",
1284
1361
  "(google.api.method_signature)": "parent"
1285
1362
  },
1286
1363
  "parsedOptions": [
1287
1364
  {
1288
1365
  "(google.api.http)": {
1289
- "get": "/v2/{parent=projects/*/locations/*}/connections"
1366
+ "get": "/v2/{parent=projects/*/locations/*}/connections",
1367
+ "additional_bindings": {
1368
+ "get": "/v2/{parent=organizations/*/locations/*}/connections"
1369
+ }
1290
1370
  }
1291
1371
  },
1292
1372
  {
@@ -1321,12 +1401,16 @@
1321
1401
  "responseType": "google.protobuf.Empty",
1322
1402
  "options": {
1323
1403
  "(google.api.http).delete": "/v2/{name=projects/*/locations/*/connections/*}",
1404
+ "(google.api.http).additional_bindings.delete": "/v2/{name=organizations/*/locations/*/connections/*}",
1324
1405
  "(google.api.method_signature)": "name"
1325
1406
  },
1326
1407
  "parsedOptions": [
1327
1408
  {
1328
1409
  "(google.api.http)": {
1329
- "delete": "/v2/{name=projects/*/locations/*/connections/*}"
1410
+ "delete": "/v2/{name=projects/*/locations/*/connections/*}",
1411
+ "additional_bindings": {
1412
+ "delete": "/v2/{name=organizations/*/locations/*/connections/*}"
1413
+ }
1330
1414
  }
1331
1415
  },
1332
1416
  {
@@ -1340,13 +1424,19 @@
1340
1424
  "options": {
1341
1425
  "(google.api.http).patch": "/v2/{name=projects/*/locations/*/connections/*}",
1342
1426
  "(google.api.http).body": "*",
1427
+ "(google.api.http).additional_bindings.patch": "/v2/{name=organizations/*/locations/*/connections/*}",
1428
+ "(google.api.http).additional_bindings.body": "*",
1343
1429
  "(google.api.method_signature)": "name"
1344
1430
  },
1345
1431
  "parsedOptions": [
1346
1432
  {
1347
1433
  "(google.api.http)": {
1348
1434
  "patch": "/v2/{name=projects/*/locations/*/connections/*}",
1349
- "body": "*"
1435
+ "body": "*",
1436
+ "additional_bindings": {
1437
+ "patch": "/v2/{name=organizations/*/locations/*/connections/*}",
1438
+ "body": "*"
1439
+ }
1350
1440
  }
1351
1441
  },
1352
1442
  {
@@ -1562,7 +1652,10 @@
1562
1652
  "EXCEL_DOCUMENT": 10,
1563
1653
  "AVRO": 11,
1564
1654
  "CSV": 12,
1565
- "TSV": 13
1655
+ "TSV": 13,
1656
+ "AUDIO": 15,
1657
+ "VIDEO": 16,
1658
+ "EXECUTABLE": 17
1566
1659
  }
1567
1660
  }
1568
1661
  }
@@ -2214,7 +2307,8 @@
2214
2307
  "dataProfile": {
2215
2308
  "oneof": [
2216
2309
  "tableProfile",
2217
- "columnProfile"
2310
+ "columnProfile",
2311
+ "fileStoreProfile"
2218
2312
  ]
2219
2313
  }
2220
2314
  },
@@ -2226,6 +2320,10 @@
2226
2320
  "columnProfile": {
2227
2321
  "type": "ColumnDataProfile",
2228
2322
  "id": 2
2323
+ },
2324
+ "fileStoreProfile": {
2325
+ "type": "FileStoreDataProfile",
2326
+ "id": 3
2229
2327
  }
2230
2328
  }
2231
2329
  },
@@ -2371,8 +2469,10 @@
2371
2469
  "LOCATION_UNSPECIFIED": 0,
2372
2470
  "GLOBAL": 1,
2373
2471
  "ARGENTINA": 2,
2472
+ "ARMENIA": 51,
2374
2473
  "AUSTRALIA": 3,
2375
2474
  "AZERBAIJAN": 48,
2475
+ "BELARUS": 50,
2376
2476
  "BELGIUM": 4,
2377
2477
  "BRAZIL": 5,
2378
2478
  "CANADA": 6,
@@ -4202,6 +4302,19 @@
4202
4302
  "rule": "repeated",
4203
4303
  "type": "google.protobuf.Timestamp",
4204
4304
  "id": 2
4305
+ },
4306
+ "extraInfo": {
4307
+ "type": "ErrorExtraInfo",
4308
+ "id": 4
4309
+ }
4310
+ },
4311
+ "nested": {
4312
+ "ErrorExtraInfo": {
4313
+ "values": {
4314
+ "ERROR_INFO_UNSPECIFIED": 0,
4315
+ "IMAGE_SCAN_UNAVAILABLE_IN_REGION": 1,
4316
+ "FILE_STORE_CLUSTER_UNSUPPORTED": 2
4317
+ }
4205
4318
  }
4206
4319
  }
4207
4320
  },
@@ -4837,12 +4950,20 @@
4837
4950
  }
4838
4951
  }
4839
4952
  },
4953
+ "ProfileGeneration": {
4954
+ "values": {
4955
+ "PROFILE_GENERATION_UNSPECIFIED": 0,
4956
+ "PROFILE_GENERATION_NEW": 1,
4957
+ "PROFILE_GENERATION_UPDATE": 2
4958
+ }
4959
+ },
4840
4960
  "DataProfileAction": {
4841
4961
  "oneofs": {
4842
4962
  "action": {
4843
4963
  "oneof": [
4844
4964
  "exportData",
4845
- "pubSubNotification"
4965
+ "pubSubNotification",
4966
+ "tagResources"
4846
4967
  ]
4847
4968
  }
4848
4969
  },
@@ -4854,6 +4975,10 @@
4854
4975
  "pubSubNotification": {
4855
4976
  "type": "PubSubNotification",
4856
4977
  "id": 2
4978
+ },
4979
+ "tagResources": {
4980
+ "type": "TagResources",
4981
+ "id": 8
4857
4982
  }
4858
4983
  },
4859
4984
  "nested": {
@@ -4889,7 +5014,8 @@
4889
5014
  "values": {
4890
5015
  "DETAIL_LEVEL_UNSPECIFIED": 0,
4891
5016
  "TABLE_PROFILE": 1,
4892
- "RESOURCE_NAME": 2
5017
+ "RESOURCE_NAME": 2,
5018
+ "FILE_STORE_PROFILE": 3
4893
5019
  }
4894
5020
  }
4895
5021
  }
@@ -4902,6 +5028,60 @@
4902
5028
  "SCORE_INCREASED": 3,
4903
5029
  "ERROR_CHANGED": 4
4904
5030
  }
5031
+ },
5032
+ "TagResources": {
5033
+ "fields": {
5034
+ "tagConditions": {
5035
+ "rule": "repeated",
5036
+ "type": "TagCondition",
5037
+ "id": 1
5038
+ },
5039
+ "profileGenerationsToTag": {
5040
+ "rule": "repeated",
5041
+ "type": "ProfileGeneration",
5042
+ "id": 2
5043
+ },
5044
+ "lowerDataRiskToLow": {
5045
+ "type": "bool",
5046
+ "id": 3
5047
+ }
5048
+ },
5049
+ "nested": {
5050
+ "TagCondition": {
5051
+ "oneofs": {
5052
+ "type": {
5053
+ "oneof": [
5054
+ "sensitivityScore"
5055
+ ]
5056
+ }
5057
+ },
5058
+ "fields": {
5059
+ "tag": {
5060
+ "type": "TagValue",
5061
+ "id": 1
5062
+ },
5063
+ "sensitivityScore": {
5064
+ "type": "SensitivityScore",
5065
+ "id": 2
5066
+ }
5067
+ }
5068
+ },
5069
+ "TagValue": {
5070
+ "oneofs": {
5071
+ "format": {
5072
+ "oneof": [
5073
+ "namespacedValue"
5074
+ ]
5075
+ }
5076
+ },
5077
+ "fields": {
5078
+ "namespacedValue": {
5079
+ "type": "string",
5080
+ "id": 1
5081
+ }
5082
+ }
5083
+ }
5084
+ }
4905
5085
  }
4906
5086
  }
4907
5087
  },
@@ -5104,7 +5284,8 @@
5104
5284
  "oneof": [
5105
5285
  "bigQueryTarget",
5106
5286
  "cloudSqlTarget",
5107
- "secretsTarget"
5287
+ "secretsTarget",
5288
+ "cloudStorageTarget"
5108
5289
  ]
5109
5290
  }
5110
5291
  },
@@ -5120,6 +5301,10 @@
5120
5301
  "secretsTarget": {
5121
5302
  "type": "SecretsDiscoveryTarget",
5122
5303
  "id": 3
5304
+ },
5305
+ "cloudStorageTarget": {
5306
+ "type": "CloudStorageDiscoveryTarget",
5307
+ "id": 4
5123
5308
  }
5124
5309
  }
5125
5310
  },
@@ -5250,6 +5435,14 @@
5250
5435
  "tableModifiedCadence": {
5251
5436
  "type": "DiscoveryTableModifiedCadence",
5252
5437
  "id": 2
5438
+ },
5439
+ "inspectTemplateModifiedCadence": {
5440
+ "type": "DiscoveryInspectTemplateModifiedCadence",
5441
+ "id": 3
5442
+ },
5443
+ "refreshFrequency": {
5444
+ "type": "DataProfileUpdateFrequency",
5445
+ "id": 4
5253
5446
  }
5254
5447
  }
5255
5448
  },
@@ -5292,6 +5485,14 @@
5292
5485
  "SCHEMA_REMOVED_COLUMNS": 2
5293
5486
  }
5294
5487
  },
5488
+ "DiscoveryInspectTemplateModifiedCadence": {
5489
+ "fields": {
5490
+ "frequency": {
5491
+ "type": "DataProfileUpdateFrequency",
5492
+ "id": 1
5493
+ }
5494
+ }
5495
+ },
5295
5496
  "CloudSqlDiscoveryTarget": {
5296
5497
  "oneofs": {
5297
5498
  "cadence": {
@@ -5500,106 +5701,360 @@
5500
5701
  "SecretsDiscoveryTarget": {
5501
5702
  "fields": {}
5502
5703
  },
5503
- "DiscoveryStartingLocation": {
5704
+ "CloudStorageDiscoveryTarget": {
5504
5705
  "oneofs": {
5505
- "location": {
5706
+ "cadence": {
5506
5707
  "oneof": [
5507
- "organizationId",
5508
- "folderId"
5708
+ "generationCadence",
5709
+ "disabled"
5509
5710
  ]
5510
5711
  }
5511
5712
  },
5512
5713
  "fields": {
5513
- "organizationId": {
5514
- "type": "int64",
5515
- "id": 1
5714
+ "filter": {
5715
+ "type": "DiscoveryCloudStorageFilter",
5716
+ "id": 1,
5717
+ "options": {
5718
+ "(google.api.field_behavior)": "REQUIRED"
5719
+ }
5516
5720
  },
5517
- "folderId": {
5518
- "type": "int64",
5519
- "id": 2
5721
+ "conditions": {
5722
+ "type": "DiscoveryFileStoreConditions",
5723
+ "id": 4,
5724
+ "options": {
5725
+ "(google.api.field_behavior)": "OPTIONAL"
5726
+ }
5727
+ },
5728
+ "generationCadence": {
5729
+ "type": "DiscoveryCloudStorageGenerationCadence",
5730
+ "id": 2,
5731
+ "options": {
5732
+ "(google.api.field_behavior)": "OPTIONAL"
5733
+ }
5734
+ },
5735
+ "disabled": {
5736
+ "type": "Disabled",
5737
+ "id": 3,
5738
+ "options": {
5739
+ "(google.api.field_behavior)": "OPTIONAL"
5740
+ }
5520
5741
  }
5521
5742
  }
5522
5743
  },
5523
- "DlpJob": {
5524
- "options": {
5525
- "(google.api.resource).type": "dlp.googleapis.com/DlpJob",
5526
- "(google.api.resource).pattern": "projects/{project}/locations/{location}/dlpJobs/{dlp_job}"
5527
- },
5744
+ "DiscoveryCloudStorageFilter": {
5528
5745
  "oneofs": {
5529
- "details": {
5746
+ "filter": {
5530
5747
  "oneof": [
5531
- "riskDetails",
5532
- "inspectDetails"
5748
+ "collection",
5749
+ "cloudStorageResourceReference",
5750
+ "others"
5533
5751
  ]
5534
5752
  }
5535
5753
  },
5536
5754
  "fields": {
5537
- "name": {
5538
- "type": "string",
5539
- "id": 1
5540
- },
5541
- "type": {
5542
- "type": "DlpJobType",
5543
- "id": 2
5544
- },
5545
- "state": {
5546
- "type": "JobState",
5547
- "id": 3
5548
- },
5549
- "riskDetails": {
5550
- "type": "AnalyzeDataSourceRiskDetails",
5551
- "id": 4
5552
- },
5553
- "inspectDetails": {
5554
- "type": "InspectDataSourceDetails",
5555
- "id": 5
5556
- },
5557
- "createTime": {
5558
- "type": "google.protobuf.Timestamp",
5559
- "id": 6
5560
- },
5561
- "startTime": {
5562
- "type": "google.protobuf.Timestamp",
5563
- "id": 7
5564
- },
5565
- "endTime": {
5566
- "type": "google.protobuf.Timestamp",
5567
- "id": 8
5568
- },
5569
- "lastModified": {
5570
- "type": "google.protobuf.Timestamp",
5571
- "id": 15
5572
- },
5573
- "jobTriggerName": {
5574
- "type": "string",
5575
- "id": 10
5755
+ "collection": {
5756
+ "type": "FileStoreCollection",
5757
+ "id": 1,
5758
+ "options": {
5759
+ "(google.api.field_behavior)": "OPTIONAL"
5760
+ }
5576
5761
  },
5577
- "errors": {
5578
- "rule": "repeated",
5579
- "type": "Error",
5580
- "id": 11
5762
+ "cloudStorageResourceReference": {
5763
+ "type": "CloudStorageResourceReference",
5764
+ "id": 2,
5765
+ "options": {
5766
+ "(google.api.field_behavior)": "OPTIONAL"
5767
+ }
5581
5768
  },
5582
- "actionDetails": {
5583
- "rule": "repeated",
5584
- "type": "ActionDetails",
5585
- "id": 12
5586
- }
5587
- },
5588
- "nested": {
5589
- "JobState": {
5590
- "values": {
5591
- "JOB_STATE_UNSPECIFIED": 0,
5592
- "PENDING": 1,
5593
- "RUNNING": 2,
5594
- "DONE": 3,
5595
- "CANCELED": 4,
5596
- "FAILED": 5,
5597
- "ACTIVE": 6
5769
+ "others": {
5770
+ "type": "AllOtherResources",
5771
+ "id": 100,
5772
+ "options": {
5773
+ "(google.api.field_behavior)": "OPTIONAL"
5598
5774
  }
5599
5775
  }
5600
5776
  }
5601
5777
  },
5602
- "GetDlpJobRequest": {
5778
+ "FileStoreCollection": {
5779
+ "oneofs": {
5780
+ "pattern": {
5781
+ "oneof": [
5782
+ "includeRegexes"
5783
+ ]
5784
+ }
5785
+ },
5786
+ "fields": {
5787
+ "includeRegexes": {
5788
+ "type": "FileStoreRegexes",
5789
+ "id": 1,
5790
+ "options": {
5791
+ "(google.api.field_behavior)": "OPTIONAL"
5792
+ }
5793
+ }
5794
+ }
5795
+ },
5796
+ "FileStoreRegexes": {
5797
+ "fields": {
5798
+ "patterns": {
5799
+ "rule": "repeated",
5800
+ "type": "FileStoreRegex",
5801
+ "id": 1,
5802
+ "options": {
5803
+ "(google.api.field_behavior)": "REQUIRED"
5804
+ }
5805
+ }
5806
+ }
5807
+ },
5808
+ "FileStoreRegex": {
5809
+ "oneofs": {
5810
+ "resourceRegex": {
5811
+ "oneof": [
5812
+ "cloudStorageRegex"
5813
+ ]
5814
+ }
5815
+ },
5816
+ "fields": {
5817
+ "cloudStorageRegex": {
5818
+ "type": "CloudStorageRegex",
5819
+ "id": 1,
5820
+ "options": {
5821
+ "(google.api.field_behavior)": "OPTIONAL"
5822
+ }
5823
+ }
5824
+ }
5825
+ },
5826
+ "CloudStorageRegex": {
5827
+ "fields": {
5828
+ "projectIdRegex": {
5829
+ "type": "string",
5830
+ "id": 1,
5831
+ "options": {
5832
+ "(google.api.field_behavior)": "OPTIONAL"
5833
+ }
5834
+ },
5835
+ "bucketNameRegex": {
5836
+ "type": "string",
5837
+ "id": 2,
5838
+ "options": {
5839
+ "(google.api.field_behavior)": "OPTIONAL"
5840
+ }
5841
+ }
5842
+ }
5843
+ },
5844
+ "CloudStorageResourceReference": {
5845
+ "fields": {
5846
+ "bucketName": {
5847
+ "type": "string",
5848
+ "id": 1,
5849
+ "options": {
5850
+ "(google.api.field_behavior)": "REQUIRED"
5851
+ }
5852
+ },
5853
+ "projectId": {
5854
+ "type": "string",
5855
+ "id": 2,
5856
+ "options": {
5857
+ "(google.api.field_behavior)": "REQUIRED"
5858
+ }
5859
+ }
5860
+ }
5861
+ },
5862
+ "DiscoveryCloudStorageGenerationCadence": {
5863
+ "fields": {
5864
+ "refreshFrequency": {
5865
+ "type": "DataProfileUpdateFrequency",
5866
+ "id": 1,
5867
+ "options": {
5868
+ "(google.api.field_behavior)": "OPTIONAL"
5869
+ }
5870
+ },
5871
+ "inspectTemplateModifiedCadence": {
5872
+ "type": "DiscoveryInspectTemplateModifiedCadence",
5873
+ "id": 2,
5874
+ "options": {
5875
+ "(google.api.field_behavior)": "OPTIONAL"
5876
+ }
5877
+ }
5878
+ }
5879
+ },
5880
+ "DiscoveryCloudStorageConditions": {
5881
+ "fields": {
5882
+ "includedObjectAttributes": {
5883
+ "rule": "repeated",
5884
+ "type": "CloudStorageObjectAttribute",
5885
+ "id": 1,
5886
+ "options": {
5887
+ "(google.api.field_behavior)": "REQUIRED"
5888
+ }
5889
+ },
5890
+ "includedBucketAttributes": {
5891
+ "rule": "repeated",
5892
+ "type": "CloudStorageBucketAttribute",
5893
+ "id": 2,
5894
+ "options": {
5895
+ "(google.api.field_behavior)": "REQUIRED"
5896
+ }
5897
+ }
5898
+ },
5899
+ "nested": {
5900
+ "CloudStorageObjectAttribute": {
5901
+ "values": {
5902
+ "CLOUD_STORAGE_OBJECT_ATTRIBUTE_UNSPECIFIED": 0,
5903
+ "ALL_SUPPORTED_OBJECTS": 1,
5904
+ "STANDARD": 2,
5905
+ "NEARLINE": 3,
5906
+ "COLDLINE": 4,
5907
+ "ARCHIVE": 5,
5908
+ "REGIONAL": 6,
5909
+ "MULTI_REGIONAL": 7,
5910
+ "DURABLE_REDUCED_AVAILABILITY": 8
5911
+ }
5912
+ },
5913
+ "CloudStorageBucketAttribute": {
5914
+ "values": {
5915
+ "CLOUD_STORAGE_BUCKET_ATTRIBUTE_UNSPECIFIED": 0,
5916
+ "ALL_SUPPORTED_BUCKETS": 1,
5917
+ "AUTOCLASS_DISABLED": 2,
5918
+ "AUTOCLASS_ENABLED": 3
5919
+ }
5920
+ }
5921
+ }
5922
+ },
5923
+ "DiscoveryFileStoreConditions": {
5924
+ "oneofs": {
5925
+ "conditions": {
5926
+ "oneof": [
5927
+ "cloudStorageConditions"
5928
+ ]
5929
+ }
5930
+ },
5931
+ "fields": {
5932
+ "createdAfter": {
5933
+ "type": "google.protobuf.Timestamp",
5934
+ "id": 1,
5935
+ "options": {
5936
+ "(google.api.field_behavior)": "OPTIONAL"
5937
+ }
5938
+ },
5939
+ "minAge": {
5940
+ "type": "google.protobuf.Duration",
5941
+ "id": 2,
5942
+ "options": {
5943
+ "(google.api.field_behavior)": "OPTIONAL"
5944
+ }
5945
+ },
5946
+ "cloudStorageConditions": {
5947
+ "type": "DiscoveryCloudStorageConditions",
5948
+ "id": 3,
5949
+ "options": {
5950
+ "(google.api.field_behavior)": "OPTIONAL"
5951
+ }
5952
+ }
5953
+ }
5954
+ },
5955
+ "DiscoveryStartingLocation": {
5956
+ "oneofs": {
5957
+ "location": {
5958
+ "oneof": [
5959
+ "organizationId",
5960
+ "folderId"
5961
+ ]
5962
+ }
5963
+ },
5964
+ "fields": {
5965
+ "organizationId": {
5966
+ "type": "int64",
5967
+ "id": 1
5968
+ },
5969
+ "folderId": {
5970
+ "type": "int64",
5971
+ "id": 2
5972
+ }
5973
+ }
5974
+ },
5975
+ "AllOtherResources": {
5976
+ "fields": {}
5977
+ },
5978
+ "DlpJob": {
5979
+ "options": {
5980
+ "(google.api.resource).type": "dlp.googleapis.com/DlpJob",
5981
+ "(google.api.resource).pattern": "projects/{project}/locations/{location}/dlpJobs/{dlp_job}"
5982
+ },
5983
+ "oneofs": {
5984
+ "details": {
5985
+ "oneof": [
5986
+ "riskDetails",
5987
+ "inspectDetails"
5988
+ ]
5989
+ }
5990
+ },
5991
+ "fields": {
5992
+ "name": {
5993
+ "type": "string",
5994
+ "id": 1
5995
+ },
5996
+ "type": {
5997
+ "type": "DlpJobType",
5998
+ "id": 2
5999
+ },
6000
+ "state": {
6001
+ "type": "JobState",
6002
+ "id": 3
6003
+ },
6004
+ "riskDetails": {
6005
+ "type": "AnalyzeDataSourceRiskDetails",
6006
+ "id": 4
6007
+ },
6008
+ "inspectDetails": {
6009
+ "type": "InspectDataSourceDetails",
6010
+ "id": 5
6011
+ },
6012
+ "createTime": {
6013
+ "type": "google.protobuf.Timestamp",
6014
+ "id": 6
6015
+ },
6016
+ "startTime": {
6017
+ "type": "google.protobuf.Timestamp",
6018
+ "id": 7
6019
+ },
6020
+ "endTime": {
6021
+ "type": "google.protobuf.Timestamp",
6022
+ "id": 8
6023
+ },
6024
+ "lastModified": {
6025
+ "type": "google.protobuf.Timestamp",
6026
+ "id": 15
6027
+ },
6028
+ "jobTriggerName": {
6029
+ "type": "string",
6030
+ "id": 10
6031
+ },
6032
+ "errors": {
6033
+ "rule": "repeated",
6034
+ "type": "Error",
6035
+ "id": 11
6036
+ },
6037
+ "actionDetails": {
6038
+ "rule": "repeated",
6039
+ "type": "ActionDetails",
6040
+ "id": 12
6041
+ }
6042
+ },
6043
+ "nested": {
6044
+ "JobState": {
6045
+ "values": {
6046
+ "JOB_STATE_UNSPECIFIED": 0,
6047
+ "PENDING": 1,
6048
+ "RUNNING": 2,
6049
+ "DONE": 3,
6050
+ "CANCELED": 4,
6051
+ "FAILED": 5,
6052
+ "ACTIVE": 6
6053
+ }
6054
+ }
6055
+ }
6056
+ },
6057
+ "GetDlpJobRequest": {
5603
6058
  "fields": {
5604
6059
  "name": {
5605
6060
  "type": "string",
@@ -6309,6 +6764,7 @@
6309
6764
  "values": {
6310
6765
  "RISK_SCORE_UNSPECIFIED": 0,
6311
6766
  "RISK_LOW": 10,
6767
+ "RISK_UNKNOWN": 12,
6312
6768
  "RISK_MODERATE": 20,
6313
6769
  "RISK_HIGH": 30
6314
6770
  }
@@ -6344,6 +6800,14 @@
6344
6800
  "profileStatus": {
6345
6801
  "type": "ProfileStatus",
6346
6802
  "id": 7
6803
+ },
6804
+ "tableDataProfileCount": {
6805
+ "type": "int64",
6806
+ "id": 9
6807
+ },
6808
+ "fileStoreDataProfileCount": {
6809
+ "type": "int64",
6810
+ "id": 10
6347
6811
  }
6348
6812
  }
6349
6813
  },
@@ -6700,6 +7164,176 @@
6700
7164
  }
6701
7165
  }
6702
7166
  },
7167
+ "FileStoreDataProfile": {
7168
+ "options": {
7169
+ "(google.api.resource).type": "dlp.googleapis.com/FileStoreDataProfile",
7170
+ "(google.api.resource).pattern": "projects/{project}/locations/{location}/fileStoreDataProfiles/{file_store_data_profile}"
7171
+ },
7172
+ "fields": {
7173
+ "name": {
7174
+ "type": "string",
7175
+ "id": 1
7176
+ },
7177
+ "dataSourceType": {
7178
+ "type": "DataSourceType",
7179
+ "id": 2
7180
+ },
7181
+ "projectDataProfile": {
7182
+ "type": "string",
7183
+ "id": 3
7184
+ },
7185
+ "projectId": {
7186
+ "type": "string",
7187
+ "id": 4
7188
+ },
7189
+ "fileStoreLocation": {
7190
+ "type": "string",
7191
+ "id": 5
7192
+ },
7193
+ "dataStorageLocations": {
7194
+ "rule": "repeated",
7195
+ "type": "string",
7196
+ "id": 19
7197
+ },
7198
+ "locationType": {
7199
+ "type": "string",
7200
+ "id": 20
7201
+ },
7202
+ "fileStorePath": {
7203
+ "type": "string",
7204
+ "id": 6
7205
+ },
7206
+ "fullResource": {
7207
+ "type": "string",
7208
+ "id": 24
7209
+ },
7210
+ "configSnapshot": {
7211
+ "type": "DataProfileConfigSnapshot",
7212
+ "id": 7
7213
+ },
7214
+ "profileStatus": {
7215
+ "type": "ProfileStatus",
7216
+ "id": 8
7217
+ },
7218
+ "state": {
7219
+ "type": "State",
7220
+ "id": 9
7221
+ },
7222
+ "profileLastGenerated": {
7223
+ "type": "google.protobuf.Timestamp",
7224
+ "id": 10
7225
+ },
7226
+ "resourceVisibility": {
7227
+ "type": "ResourceVisibility",
7228
+ "id": 11
7229
+ },
7230
+ "sensitivityScore": {
7231
+ "type": "SensitivityScore",
7232
+ "id": 12
7233
+ },
7234
+ "dataRiskLevel": {
7235
+ "type": "DataRiskLevel",
7236
+ "id": 13
7237
+ },
7238
+ "createTime": {
7239
+ "type": "google.protobuf.Timestamp",
7240
+ "id": 14
7241
+ },
7242
+ "lastModifiedTime": {
7243
+ "type": "google.protobuf.Timestamp",
7244
+ "id": 15
7245
+ },
7246
+ "fileClusterSummaries": {
7247
+ "rule": "repeated",
7248
+ "type": "FileClusterSummary",
7249
+ "id": 16
7250
+ },
7251
+ "resourceAttributes": {
7252
+ "keyType": "string",
7253
+ "type": "Value",
7254
+ "id": 17
7255
+ },
7256
+ "resourceLabels": {
7257
+ "keyType": "string",
7258
+ "type": "string",
7259
+ "id": 18
7260
+ },
7261
+ "fileStoreInfoTypeSummaries": {
7262
+ "rule": "repeated",
7263
+ "type": "FileStoreInfoTypeSummary",
7264
+ "id": 21
7265
+ },
7266
+ "fileStoreIsEmpty": {
7267
+ "type": "bool",
7268
+ "id": 23
7269
+ }
7270
+ },
7271
+ "nested": {
7272
+ "State": {
7273
+ "values": {
7274
+ "STATE_UNSPECIFIED": 0,
7275
+ "RUNNING": 1,
7276
+ "DONE": 2
7277
+ }
7278
+ }
7279
+ }
7280
+ },
7281
+ "FileStoreInfoTypeSummary": {
7282
+ "fields": {
7283
+ "infoType": {
7284
+ "type": "InfoType",
7285
+ "id": 1
7286
+ }
7287
+ }
7288
+ },
7289
+ "FileExtensionInfo": {
7290
+ "fields": {
7291
+ "fileExtension": {
7292
+ "type": "string",
7293
+ "id": 1
7294
+ }
7295
+ }
7296
+ },
7297
+ "FileClusterSummary": {
7298
+ "fields": {
7299
+ "fileClusterType": {
7300
+ "type": "FileClusterType",
7301
+ "id": 1
7302
+ },
7303
+ "fileStoreInfoTypeSummaries": {
7304
+ "rule": "repeated",
7305
+ "type": "FileStoreInfoTypeSummary",
7306
+ "id": 2
7307
+ },
7308
+ "sensitivityScore": {
7309
+ "type": "SensitivityScore",
7310
+ "id": 3
7311
+ },
7312
+ "dataRiskLevel": {
7313
+ "type": "DataRiskLevel",
7314
+ "id": 4
7315
+ },
7316
+ "errors": {
7317
+ "rule": "repeated",
7318
+ "type": "Error",
7319
+ "id": 6
7320
+ },
7321
+ "fileExtensionsScanned": {
7322
+ "rule": "repeated",
7323
+ "type": "FileExtensionInfo",
7324
+ "id": 7
7325
+ },
7326
+ "fileExtensionsSeen": {
7327
+ "rule": "repeated",
7328
+ "type": "FileExtensionInfo",
7329
+ "id": 8
7330
+ },
7331
+ "noFilesExist": {
7332
+ "type": "bool",
7333
+ "id": 9
7334
+ }
7335
+ }
7336
+ },
6703
7337
  "GetProjectDataProfileRequest": {
6704
7338
  "fields": {
6705
7339
  "name": {
@@ -6712,6 +7346,83 @@
6712
7346
  }
6713
7347
  }
6714
7348
  },
7349
+ "GetFileStoreDataProfileRequest": {
7350
+ "fields": {
7351
+ "name": {
7352
+ "type": "string",
7353
+ "id": 1,
7354
+ "options": {
7355
+ "(google.api.field_behavior)": "REQUIRED",
7356
+ "(google.api.resource_reference).type": "dlp.googleapis.com/ProjectDataProfile"
7357
+ }
7358
+ }
7359
+ }
7360
+ },
7361
+ "ListFileStoreDataProfilesRequest": {
7362
+ "fields": {
7363
+ "parent": {
7364
+ "type": "string",
7365
+ "id": 1,
7366
+ "options": {
7367
+ "(google.api.field_behavior)": "REQUIRED",
7368
+ "(google.api.resource_reference).child_type": "dlp.googleapis.com/FileStoreDataProfile"
7369
+ }
7370
+ },
7371
+ "pageToken": {
7372
+ "type": "string",
7373
+ "id": 2,
7374
+ "options": {
7375
+ "(google.api.field_behavior)": "OPTIONAL"
7376
+ }
7377
+ },
7378
+ "pageSize": {
7379
+ "type": "int32",
7380
+ "id": 3,
7381
+ "options": {
7382
+ "(google.api.field_behavior)": "OPTIONAL"
7383
+ }
7384
+ },
7385
+ "orderBy": {
7386
+ "type": "string",
7387
+ "id": 4,
7388
+ "options": {
7389
+ "(google.api.field_behavior)": "OPTIONAL"
7390
+ }
7391
+ },
7392
+ "filter": {
7393
+ "type": "string",
7394
+ "id": 5,
7395
+ "options": {
7396
+ "(google.api.field_behavior)": "OPTIONAL"
7397
+ }
7398
+ }
7399
+ }
7400
+ },
7401
+ "ListFileStoreDataProfilesResponse": {
7402
+ "fields": {
7403
+ "fileStoreDataProfiles": {
7404
+ "rule": "repeated",
7405
+ "type": "FileStoreDataProfile",
7406
+ "id": 1
7407
+ },
7408
+ "nextPageToken": {
7409
+ "type": "string",
7410
+ "id": 2
7411
+ }
7412
+ }
7413
+ },
7414
+ "DeleteFileStoreDataProfileRequest": {
7415
+ "fields": {
7416
+ "name": {
7417
+ "type": "string",
7418
+ "id": 1,
7419
+ "options": {
7420
+ "(google.api.field_behavior)": "REQUIRED",
7421
+ "(google.api.resource_reference).type": "dlp.googleapis.com/FileStoreDataProfile"
7422
+ }
7423
+ }
7424
+ }
7425
+ },
6715
7426
  "GetTableDataProfileRequest": {
6716
7427
  "fields": {
6717
7428
  "name": {
@@ -6801,6 +7512,10 @@
6801
7512
  "type": "TableDataProfile",
6802
7513
  "id": 1
6803
7514
  },
7515
+ "fileStoreProfile": {
7516
+ "type": "FileStoreDataProfile",
7517
+ "id": 3
7518
+ },
6804
7519
  "event": {
6805
7520
  "type": "DataProfileAction.EventType",
6806
7521
  "id": 2
@@ -6971,7 +7686,7 @@
6971
7686
  "Connection": {
6972
7687
  "options": {
6973
7688
  "(google.api.resource).type": "dlp.googleapis.com/Connection",
6974
- "(google.api.resource).pattern": "projects/{project}/locations/{location}/connections/{connection}"
7689
+ "(google.api.resource).pattern": "organizations/{organization}/locations/{location}/connections/{connection}"
6975
7690
  },
6976
7691
  "oneofs": {
6977
7692
  "properties": {
@@ -7111,6 +7826,37 @@
7111
7826
  }
7112
7827
  }
7113
7828
  },
7829
+ "FileClusterType": {
7830
+ "oneofs": {
7831
+ "fileClusterType": {
7832
+ "oneof": [
7833
+ "cluster"
7834
+ ]
7835
+ }
7836
+ },
7837
+ "fields": {
7838
+ "cluster": {
7839
+ "type": "Cluster",
7840
+ "id": 1
7841
+ }
7842
+ },
7843
+ "nested": {
7844
+ "Cluster": {
7845
+ "values": {
7846
+ "CLUSTER_UNSPECIFIED": 0,
7847
+ "CLUSTER_UNKNOWN": 1,
7848
+ "CLUSTER_TEXT": 2,
7849
+ "CLUSTER_STRUCTURED_DATA": 3,
7850
+ "CLUSTER_SOURCE_CODE": 4,
7851
+ "CLUSTER_RICH_DOCUMENT": 5,
7852
+ "CLUSTER_IMAGE": 6,
7853
+ "CLUSTER_ARCHIVE": 7,
7854
+ "CLUSTER_MULTIMEDIA": 8,
7855
+ "CLUSTER_EXECUTABLE": 9
7856
+ }
7857
+ }
7858
+ }
7859
+ },
7114
7860
  "InfoType": {
7115
7861
  "fields": {
7116
7862
  "name": {
@@ -7139,6 +7885,7 @@
7139
7885
  "values": {
7140
7886
  "SENSITIVITY_SCORE_UNSPECIFIED": 0,
7141
7887
  "SENSITIVITY_LOW": 10,
7888
+ "SENSITIVITY_UNKNOWN": 12,
7142
7889
  "SENSITIVITY_MODERATE": 20,
7143
7890
  "SENSITIVITY_HIGH": 30
7144
7891
  }