@google-cloud/dlp 6.0.1 → 6.2.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 +17 -0
- package/README.md +2 -2
- package/build/protos/google/privacy/dlp/v2/dlp.proto +210 -17
- package/build/protos/google/privacy/dlp/v2/storage.proto +5 -0
- package/build/protos/protos.d.ts +610 -1
- package/build/protos/protos.js +1796 -142
- package/build/protos/protos.json +148 -5
- package/build/src/v2/dlp_service_client.d.ts +3 -0
- package/build/src/v2/dlp_service_client.js +3 -1
- package/package.json +1 -1
package/build/protos/protos.json
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
+
"options": {
|
|
3
|
+
"syntax": "proto3"
|
|
4
|
+
},
|
|
2
5
|
"nested": {
|
|
3
6
|
"google": {
|
|
4
7
|
"nested": {
|
|
@@ -118,16 +121,24 @@
|
|
|
118
121
|
"responseType": "ListInfoTypesResponse",
|
|
119
122
|
"options": {
|
|
120
123
|
"(google.api.http).get": "/v2/infoTypes",
|
|
121
|
-
"(google.api.http).additional_bindings.get": "/v2/{parent=locations/*}/infoTypes",
|
|
124
|
+
"(google.api.http).additional_bindings.get": "/v2/{parent=organizations/*/locations/*}/infoTypes",
|
|
122
125
|
"(google.api.method_signature)": "parent"
|
|
123
126
|
},
|
|
124
127
|
"parsedOptions": [
|
|
125
128
|
{
|
|
126
129
|
"(google.api.http)": {
|
|
127
130
|
"get": "/v2/infoTypes",
|
|
128
|
-
"additional_bindings":
|
|
129
|
-
|
|
130
|
-
|
|
131
|
+
"additional_bindings": [
|
|
132
|
+
{
|
|
133
|
+
"get": "/v2/{parent=locations/*}/infoTypes"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"get": "/v2/{parent=projects/*/locations/*}/infoTypes"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"get": "/v2/{parent=organizations/*/locations/*}/infoTypes"
|
|
140
|
+
}
|
|
141
|
+
]
|
|
131
142
|
}
|
|
132
143
|
},
|
|
133
144
|
{
|
|
@@ -2441,6 +2452,11 @@
|
|
|
2441
2452
|
"sensitivityScore": {
|
|
2442
2453
|
"type": "SensitivityScore",
|
|
2443
2454
|
"id": 11
|
|
2455
|
+
},
|
|
2456
|
+
"specificInfoTypes": {
|
|
2457
|
+
"rule": "repeated",
|
|
2458
|
+
"type": "string",
|
|
2459
|
+
"id": 12
|
|
2444
2460
|
}
|
|
2445
2461
|
}
|
|
2446
2462
|
},
|
|
@@ -2485,6 +2501,7 @@
|
|
|
2485
2501
|
"CHINA": 8,
|
|
2486
2502
|
"COLOMBIA": 9,
|
|
2487
2503
|
"CROATIA": 42,
|
|
2504
|
+
"CZECHIA": 52,
|
|
2488
2505
|
"DENMARK": 10,
|
|
2489
2506
|
"FRANCE": 11,
|
|
2490
2507
|
"FINLAND": 12,
|
|
@@ -4971,7 +4988,8 @@
|
|
|
4971
4988
|
"pubSubNotification",
|
|
4972
4989
|
"publishToChronicle",
|
|
4973
4990
|
"publishToScc",
|
|
4974
|
-
"tagResources"
|
|
4991
|
+
"tagResources",
|
|
4992
|
+
"publishToDataplexCatalog"
|
|
4975
4993
|
]
|
|
4976
4994
|
}
|
|
4977
4995
|
},
|
|
@@ -4995,6 +5013,10 @@
|
|
|
4995
5013
|
"tagResources": {
|
|
4996
5014
|
"type": "TagResources",
|
|
4997
5015
|
"id": 8
|
|
5016
|
+
},
|
|
5017
|
+
"publishToDataplexCatalog": {
|
|
5018
|
+
"type": "PublishToDataplexCatalog",
|
|
5019
|
+
"id": 9
|
|
4998
5020
|
}
|
|
4999
5021
|
},
|
|
5000
5022
|
"nested": {
|
|
@@ -5003,6 +5025,10 @@
|
|
|
5003
5025
|
"profileTable": {
|
|
5004
5026
|
"type": "BigQueryTable",
|
|
5005
5027
|
"id": 1
|
|
5028
|
+
},
|
|
5029
|
+
"sampleFindingsTable": {
|
|
5030
|
+
"type": "BigQueryTable",
|
|
5031
|
+
"id": 2
|
|
5006
5032
|
}
|
|
5007
5033
|
}
|
|
5008
5034
|
},
|
|
@@ -5051,6 +5077,14 @@
|
|
|
5051
5077
|
"PublishToSecurityCommandCenter": {
|
|
5052
5078
|
"fields": {}
|
|
5053
5079
|
},
|
|
5080
|
+
"PublishToDataplexCatalog": {
|
|
5081
|
+
"fields": {
|
|
5082
|
+
"lowerDataRiskToLow": {
|
|
5083
|
+
"type": "bool",
|
|
5084
|
+
"id": 1
|
|
5085
|
+
}
|
|
5086
|
+
}
|
|
5087
|
+
},
|
|
5054
5088
|
"TagResources": {
|
|
5055
5089
|
"fields": {
|
|
5056
5090
|
"tagConditions": {
|
|
@@ -5107,6 +5141,77 @@
|
|
|
5107
5141
|
}
|
|
5108
5142
|
}
|
|
5109
5143
|
},
|
|
5144
|
+
"DataProfileFinding": {
|
|
5145
|
+
"fields": {
|
|
5146
|
+
"quote": {
|
|
5147
|
+
"type": "string",
|
|
5148
|
+
"id": 1
|
|
5149
|
+
},
|
|
5150
|
+
"infotype": {
|
|
5151
|
+
"type": "InfoType",
|
|
5152
|
+
"id": 2
|
|
5153
|
+
},
|
|
5154
|
+
"quoteInfo": {
|
|
5155
|
+
"type": "QuoteInfo",
|
|
5156
|
+
"id": 3
|
|
5157
|
+
},
|
|
5158
|
+
"dataProfileResourceName": {
|
|
5159
|
+
"type": "string",
|
|
5160
|
+
"id": 4
|
|
5161
|
+
},
|
|
5162
|
+
"findingId": {
|
|
5163
|
+
"type": "string",
|
|
5164
|
+
"id": 5
|
|
5165
|
+
},
|
|
5166
|
+
"timestamp": {
|
|
5167
|
+
"type": "google.protobuf.Timestamp",
|
|
5168
|
+
"id": 6
|
|
5169
|
+
},
|
|
5170
|
+
"location": {
|
|
5171
|
+
"type": "DataProfileFindingLocation",
|
|
5172
|
+
"id": 7
|
|
5173
|
+
},
|
|
5174
|
+
"resourceVisibility": {
|
|
5175
|
+
"type": "ResourceVisibility",
|
|
5176
|
+
"id": 8
|
|
5177
|
+
},
|
|
5178
|
+
"fullResourceName": {
|
|
5179
|
+
"type": "string",
|
|
5180
|
+
"id": 9
|
|
5181
|
+
},
|
|
5182
|
+
"dataSourceType": {
|
|
5183
|
+
"type": "DataSourceType",
|
|
5184
|
+
"id": 10
|
|
5185
|
+
}
|
|
5186
|
+
}
|
|
5187
|
+
},
|
|
5188
|
+
"DataProfileFindingLocation": {
|
|
5189
|
+
"oneofs": {
|
|
5190
|
+
"locationExtraDetails": {
|
|
5191
|
+
"oneof": [
|
|
5192
|
+
"dataProfileFindingRecordLocation"
|
|
5193
|
+
]
|
|
5194
|
+
}
|
|
5195
|
+
},
|
|
5196
|
+
"fields": {
|
|
5197
|
+
"containerName": {
|
|
5198
|
+
"type": "string",
|
|
5199
|
+
"id": 1
|
|
5200
|
+
},
|
|
5201
|
+
"dataProfileFindingRecordLocation": {
|
|
5202
|
+
"type": "DataProfileFindingRecordLocation",
|
|
5203
|
+
"id": 2
|
|
5204
|
+
}
|
|
5205
|
+
}
|
|
5206
|
+
},
|
|
5207
|
+
"DataProfileFindingRecordLocation": {
|
|
5208
|
+
"fields": {
|
|
5209
|
+
"field": {
|
|
5210
|
+
"type": "FieldId",
|
|
5211
|
+
"id": 1
|
|
5212
|
+
}
|
|
5213
|
+
}
|
|
5214
|
+
},
|
|
5110
5215
|
"DataProfileJobConfig": {
|
|
5111
5216
|
"fields": {
|
|
5112
5217
|
"location": {
|
|
@@ -7425,6 +7530,15 @@
|
|
|
7425
7530
|
"type": "google.protobuf.Timestamp",
|
|
7426
7531
|
"id": 23
|
|
7427
7532
|
},
|
|
7533
|
+
"sampleFindingsTable": {
|
|
7534
|
+
"type": "BigQueryTable",
|
|
7535
|
+
"id": 37
|
|
7536
|
+
},
|
|
7537
|
+
"tags": {
|
|
7538
|
+
"rule": "repeated",
|
|
7539
|
+
"type": "Tag",
|
|
7540
|
+
"id": 39
|
|
7541
|
+
},
|
|
7428
7542
|
"relatedResources": {
|
|
7429
7543
|
"rule": "repeated",
|
|
7430
7544
|
"type": "RelatedResource",
|
|
@@ -7734,10 +7848,19 @@
|
|
|
7734
7848
|
"type": "FileStoreInfoTypeSummary",
|
|
7735
7849
|
"id": 21
|
|
7736
7850
|
},
|
|
7851
|
+
"sampleFindingsTable": {
|
|
7852
|
+
"type": "BigQueryTable",
|
|
7853
|
+
"id": 22
|
|
7854
|
+
},
|
|
7737
7855
|
"fileStoreIsEmpty": {
|
|
7738
7856
|
"type": "bool",
|
|
7739
7857
|
"id": 23
|
|
7740
7858
|
},
|
|
7859
|
+
"tags": {
|
|
7860
|
+
"rule": "repeated",
|
|
7861
|
+
"type": "Tag",
|
|
7862
|
+
"id": 25
|
|
7863
|
+
},
|
|
7741
7864
|
"relatedResources": {
|
|
7742
7865
|
"rule": "repeated",
|
|
7743
7866
|
"type": "RelatedResource",
|
|
@@ -7754,6 +7877,22 @@
|
|
|
7754
7877
|
}
|
|
7755
7878
|
}
|
|
7756
7879
|
},
|
|
7880
|
+
"Tag": {
|
|
7881
|
+
"fields": {
|
|
7882
|
+
"namespacedTagValue": {
|
|
7883
|
+
"type": "string",
|
|
7884
|
+
"id": 1
|
|
7885
|
+
},
|
|
7886
|
+
"key": {
|
|
7887
|
+
"type": "string",
|
|
7888
|
+
"id": 2
|
|
7889
|
+
},
|
|
7890
|
+
"value": {
|
|
7891
|
+
"type": "string",
|
|
7892
|
+
"id": 3
|
|
7893
|
+
}
|
|
7894
|
+
}
|
|
7895
|
+
},
|
|
7757
7896
|
"RelatedResource": {
|
|
7758
7897
|
"fields": {
|
|
7759
7898
|
"fullResource": {
|
|
@@ -8968,6 +9107,10 @@
|
|
|
8968
9107
|
"tableId": {
|
|
8969
9108
|
"type": "string",
|
|
8970
9109
|
"id": 2
|
|
9110
|
+
},
|
|
9111
|
+
"projectId": {
|
|
9112
|
+
"type": "string",
|
|
9113
|
+
"id": 3
|
|
8971
9114
|
}
|
|
8972
9115
|
}
|
|
8973
9116
|
},
|
|
@@ -192,6 +192,9 @@ export declare class DlpServiceClient {
|
|
|
192
192
|
* system will automatically choose what detectors to run. By default this may
|
|
193
193
|
* be all types, but may change over time as detectors are updated.
|
|
194
194
|
*
|
|
195
|
+
* Only the first frame of each multiframe image is redacted. Metadata and
|
|
196
|
+
* other frames are omitted in the response.
|
|
197
|
+
*
|
|
195
198
|
* @param {Object} request
|
|
196
199
|
* The request object that will be sent.
|
|
197
200
|
* @param {string} request.parent
|
|
@@ -5517,7 +5517,9 @@ class DlpServiceClient {
|
|
|
5517
5517
|
this._log.info('ending gRPC channel');
|
|
5518
5518
|
this._terminated = true;
|
|
5519
5519
|
stub.close();
|
|
5520
|
-
this.locationsClient.close()
|
|
5520
|
+
this.locationsClient.close().catch(err => {
|
|
5521
|
+
throw err;
|
|
5522
|
+
});
|
|
5521
5523
|
});
|
|
5522
5524
|
}
|
|
5523
5525
|
return Promise.resolve();
|