@google-cloud/dlp 5.8.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.
- package/CHANGELOG.md +7 -0
- package/build/protos/google/privacy/dlp/v2/dlp.proto +163 -63
- package/build/protos/google/privacy/dlp/v2/storage.proto +5 -7
- package/build/protos/protos.d.ts +338 -1
- package/build/protos/protos.js +1044 -144
- package/build/protos/protos.json +121 -27
- package/build/src/v2/dlp_service_client.d.ts +167 -120
- package/build/src/v2/dlp_service_client.js +134 -87
- package/build/src/v2/dlp_service_client_config.json +6 -3
- package/package.json +1 -1
package/build/protos/protos.json
CHANGED
|
@@ -139,16 +139,16 @@
|
|
|
139
139
|
"requestType": "CreateInspectTemplateRequest",
|
|
140
140
|
"responseType": "InspectTemplate",
|
|
141
141
|
"options": {
|
|
142
|
-
"(google.api.http).post": "/v2/{parent=
|
|
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=
|
|
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=
|
|
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=
|
|
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=
|
|
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=
|
|
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=
|
|
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=
|
|
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=
|
|
215
|
-
"(google.api.http).additional_bindings.get": "/v2/{name=
|
|
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=
|
|
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=
|
|
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=
|
|
245
|
-
"(google.api.http).additional_bindings.get": "/v2/{parent=
|
|
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=
|
|
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=
|
|
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=
|
|
275
|
-
"(google.api.http).additional_bindings.delete": "/v2/{name=
|
|
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=
|
|
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=
|
|
290
|
+
"delete": "/v2/{name=organizations/*/inspectTemplates/*}"
|
|
291
291
|
}
|
|
292
292
|
]
|
|
293
293
|
}
|
|
@@ -1310,13 +1310,19 @@
|
|
|
1310
1310
|
"options": {
|
|
1311
1311
|
"(google.api.http).post": "/v2/{parent=projects/*/locations/*}/connections",
|
|
1312
1312
|
"(google.api.http).body": "*",
|
|
1313
|
+
"(google.api.http).additional_bindings.post": "/v2/{parent=organizations/*/locations/*}/connections",
|
|
1314
|
+
"(google.api.http).additional_bindings.body": "*",
|
|
1313
1315
|
"(google.api.method_signature)": "parent, connection"
|
|
1314
1316
|
},
|
|
1315
1317
|
"parsedOptions": [
|
|
1316
1318
|
{
|
|
1317
1319
|
"(google.api.http)": {
|
|
1318
1320
|
"post": "/v2/{parent=projects/*/locations/*}/connections",
|
|
1319
|
-
"body": "*"
|
|
1321
|
+
"body": "*",
|
|
1322
|
+
"additional_bindings": {
|
|
1323
|
+
"post": "/v2/{parent=organizations/*/locations/*}/connections",
|
|
1324
|
+
"body": "*"
|
|
1325
|
+
}
|
|
1320
1326
|
}
|
|
1321
1327
|
},
|
|
1322
1328
|
{
|
|
@@ -1329,12 +1335,16 @@
|
|
|
1329
1335
|
"responseType": "Connection",
|
|
1330
1336
|
"options": {
|
|
1331
1337
|
"(google.api.http).get": "/v2/{name=projects/*/locations/*/connections/*}",
|
|
1338
|
+
"(google.api.http).additional_bindings.get": "/v2/{name=organizations/*/locations/*/connections/*}",
|
|
1332
1339
|
"(google.api.method_signature)": "name"
|
|
1333
1340
|
},
|
|
1334
1341
|
"parsedOptions": [
|
|
1335
1342
|
{
|
|
1336
1343
|
"(google.api.http)": {
|
|
1337
|
-
"get": "/v2/{name=projects/*/locations/*/connections/*}"
|
|
1344
|
+
"get": "/v2/{name=projects/*/locations/*/connections/*}",
|
|
1345
|
+
"additional_bindings": {
|
|
1346
|
+
"get": "/v2/{name=organizations/*/locations/*/connections/*}"
|
|
1347
|
+
}
|
|
1338
1348
|
}
|
|
1339
1349
|
},
|
|
1340
1350
|
{
|
|
@@ -1347,12 +1357,16 @@
|
|
|
1347
1357
|
"responseType": "ListConnectionsResponse",
|
|
1348
1358
|
"options": {
|
|
1349
1359
|
"(google.api.http).get": "/v2/{parent=projects/*/locations/*}/connections",
|
|
1360
|
+
"(google.api.http).additional_bindings.get": "/v2/{parent=organizations/*/locations/*}/connections",
|
|
1350
1361
|
"(google.api.method_signature)": "parent"
|
|
1351
1362
|
},
|
|
1352
1363
|
"parsedOptions": [
|
|
1353
1364
|
{
|
|
1354
1365
|
"(google.api.http)": {
|
|
1355
|
-
"get": "/v2/{parent=projects/*/locations/*}/connections"
|
|
1366
|
+
"get": "/v2/{parent=projects/*/locations/*}/connections",
|
|
1367
|
+
"additional_bindings": {
|
|
1368
|
+
"get": "/v2/{parent=organizations/*/locations/*}/connections"
|
|
1369
|
+
}
|
|
1356
1370
|
}
|
|
1357
1371
|
},
|
|
1358
1372
|
{
|
|
@@ -1387,12 +1401,16 @@
|
|
|
1387
1401
|
"responseType": "google.protobuf.Empty",
|
|
1388
1402
|
"options": {
|
|
1389
1403
|
"(google.api.http).delete": "/v2/{name=projects/*/locations/*/connections/*}",
|
|
1404
|
+
"(google.api.http).additional_bindings.delete": "/v2/{name=organizations/*/locations/*/connections/*}",
|
|
1390
1405
|
"(google.api.method_signature)": "name"
|
|
1391
1406
|
},
|
|
1392
1407
|
"parsedOptions": [
|
|
1393
1408
|
{
|
|
1394
1409
|
"(google.api.http)": {
|
|
1395
|
-
"delete": "/v2/{name=projects/*/locations/*/connections/*}"
|
|
1410
|
+
"delete": "/v2/{name=projects/*/locations/*/connections/*}",
|
|
1411
|
+
"additional_bindings": {
|
|
1412
|
+
"delete": "/v2/{name=organizations/*/locations/*/connections/*}"
|
|
1413
|
+
}
|
|
1396
1414
|
}
|
|
1397
1415
|
},
|
|
1398
1416
|
{
|
|
@@ -1406,13 +1424,19 @@
|
|
|
1406
1424
|
"options": {
|
|
1407
1425
|
"(google.api.http).patch": "/v2/{name=projects/*/locations/*/connections/*}",
|
|
1408
1426
|
"(google.api.http).body": "*",
|
|
1427
|
+
"(google.api.http).additional_bindings.patch": "/v2/{name=organizations/*/locations/*/connections/*}",
|
|
1428
|
+
"(google.api.http).additional_bindings.body": "*",
|
|
1409
1429
|
"(google.api.method_signature)": "name"
|
|
1410
1430
|
},
|
|
1411
1431
|
"parsedOptions": [
|
|
1412
1432
|
{
|
|
1413
1433
|
"(google.api.http)": {
|
|
1414
1434
|
"patch": "/v2/{name=projects/*/locations/*/connections/*}",
|
|
1415
|
-
"body": "*"
|
|
1435
|
+
"body": "*",
|
|
1436
|
+
"additional_bindings": {
|
|
1437
|
+
"patch": "/v2/{name=organizations/*/locations/*/connections/*}",
|
|
1438
|
+
"body": "*"
|
|
1439
|
+
}
|
|
1416
1440
|
}
|
|
1417
1441
|
},
|
|
1418
1442
|
{
|
|
@@ -4926,12 +4950,20 @@
|
|
|
4926
4950
|
}
|
|
4927
4951
|
}
|
|
4928
4952
|
},
|
|
4953
|
+
"ProfileGeneration": {
|
|
4954
|
+
"values": {
|
|
4955
|
+
"PROFILE_GENERATION_UNSPECIFIED": 0,
|
|
4956
|
+
"PROFILE_GENERATION_NEW": 1,
|
|
4957
|
+
"PROFILE_GENERATION_UPDATE": 2
|
|
4958
|
+
}
|
|
4959
|
+
},
|
|
4929
4960
|
"DataProfileAction": {
|
|
4930
4961
|
"oneofs": {
|
|
4931
4962
|
"action": {
|
|
4932
4963
|
"oneof": [
|
|
4933
4964
|
"exportData",
|
|
4934
|
-
"pubSubNotification"
|
|
4965
|
+
"pubSubNotification",
|
|
4966
|
+
"tagResources"
|
|
4935
4967
|
]
|
|
4936
4968
|
}
|
|
4937
4969
|
},
|
|
@@ -4943,6 +4975,10 @@
|
|
|
4943
4975
|
"pubSubNotification": {
|
|
4944
4976
|
"type": "PubSubNotification",
|
|
4945
4977
|
"id": 2
|
|
4978
|
+
},
|
|
4979
|
+
"tagResources": {
|
|
4980
|
+
"type": "TagResources",
|
|
4981
|
+
"id": 8
|
|
4946
4982
|
}
|
|
4947
4983
|
},
|
|
4948
4984
|
"nested": {
|
|
@@ -4992,6 +5028,60 @@
|
|
|
4992
5028
|
"SCORE_INCREASED": 3,
|
|
4993
5029
|
"ERROR_CHANGED": 4
|
|
4994
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
|
+
}
|
|
4995
5085
|
}
|
|
4996
5086
|
}
|
|
4997
5087
|
},
|
|
@@ -5349,6 +5439,10 @@
|
|
|
5349
5439
|
"inspectTemplateModifiedCadence": {
|
|
5350
5440
|
"type": "DiscoveryInspectTemplateModifiedCadence",
|
|
5351
5441
|
"id": 3
|
|
5442
|
+
},
|
|
5443
|
+
"refreshFrequency": {
|
|
5444
|
+
"type": "DataProfileUpdateFrequency",
|
|
5445
|
+
"id": 4
|
|
5352
5446
|
}
|
|
5353
5447
|
}
|
|
5354
5448
|
},
|
|
@@ -7592,7 +7686,7 @@
|
|
|
7592
7686
|
"Connection": {
|
|
7593
7687
|
"options": {
|
|
7594
7688
|
"(google.api.resource).type": "dlp.googleapis.com/Connection",
|
|
7595
|
-
"(google.api.resource).pattern": "
|
|
7689
|
+
"(google.api.resource).pattern": "organizations/{organization}/locations/{location}/connections/{connection}"
|
|
7596
7690
|
},
|
|
7597
7691
|
"oneofs": {
|
|
7598
7692
|
"properties": {
|