|
1 | 1 | # -*- coding: utf-8 -*- |
2 | | - |
3 | 2 | # Copyright 2020 Google LLC |
4 | 3 | # |
5 | 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
|
15 | 14 | # limitations under the License. |
16 | 15 | # |
17 | 16 |
|
18 | | -from google.cloud.dlp_v2.services.dlp_service.async_client import DlpServiceAsyncClient |
19 | 17 | from google.cloud.dlp_v2.services.dlp_service.client import DlpServiceClient |
| 18 | +from google.cloud.dlp_v2.services.dlp_service.async_client import DlpServiceAsyncClient |
| 19 | + |
20 | 20 | from google.cloud.dlp_v2.types.dlp import Action |
21 | 21 | from google.cloud.dlp_v2.types.dlp import ActivateJobTriggerRequest |
22 | 22 | from google.cloud.dlp_v2.types.dlp import AnalyzeDataSourceRiskDetails |
|
30 | 30 | from google.cloud.dlp_v2.types.dlp import Container |
31 | 31 | from google.cloud.dlp_v2.types.dlp import ContentItem |
32 | 32 | from google.cloud.dlp_v2.types.dlp import ContentLocation |
33 | | -from google.cloud.dlp_v2.types.dlp import ContentOption |
34 | 33 | from google.cloud.dlp_v2.types.dlp import CreateDeidentifyTemplateRequest |
35 | 34 | from google.cloud.dlp_v2.types.dlp import CreateDlpJobRequest |
36 | 35 | from google.cloud.dlp_v2.types.dlp import CreateInspectTemplateRequest |
|
52 | 51 | from google.cloud.dlp_v2.types.dlp import DeleteJobTriggerRequest |
53 | 52 | from google.cloud.dlp_v2.types.dlp import DeleteStoredInfoTypeRequest |
54 | 53 | from google.cloud.dlp_v2.types.dlp import DlpJob |
55 | | -from google.cloud.dlp_v2.types.dlp import DlpJobType |
56 | 54 | from google.cloud.dlp_v2.types.dlp import DocumentLocation |
57 | 55 | from google.cloud.dlp_v2.types.dlp import Error |
58 | 56 | from google.cloud.dlp_v2.types.dlp import ExcludeInfoTypes |
|
75 | 73 | from google.cloud.dlp_v2.types.dlp import ImageLocation |
76 | 74 | from google.cloud.dlp_v2.types.dlp import InfoTypeDescription |
77 | 75 | from google.cloud.dlp_v2.types.dlp import InfoTypeStats |
78 | | -from google.cloud.dlp_v2.types.dlp import InfoTypeSupportedBy |
79 | 76 | from google.cloud.dlp_v2.types.dlp import InfoTypeTransformations |
80 | 77 | from google.cloud.dlp_v2.types.dlp import InspectConfig |
81 | 78 | from google.cloud.dlp_v2.types.dlp import InspectContentRequest |
82 | 79 | from google.cloud.dlp_v2.types.dlp import InspectContentResponse |
83 | 80 | from google.cloud.dlp_v2.types.dlp import InspectDataSourceDetails |
| 81 | +from google.cloud.dlp_v2.types.dlp import InspectionRule |
| 82 | +from google.cloud.dlp_v2.types.dlp import InspectionRuleSet |
84 | 83 | from google.cloud.dlp_v2.types.dlp import InspectJobConfig |
85 | 84 | from google.cloud.dlp_v2.types.dlp import InspectResult |
86 | 85 | from google.cloud.dlp_v2.types.dlp import InspectTemplate |
87 | | -from google.cloud.dlp_v2.types.dlp import InspectionRule |
88 | | -from google.cloud.dlp_v2.types.dlp import InspectionRuleSet |
89 | 86 | from google.cloud.dlp_v2.types.dlp import JobTrigger |
90 | 87 | from google.cloud.dlp_v2.types.dlp import KmsWrappedCryptoKey |
91 | 88 | from google.cloud.dlp_v2.types.dlp import LargeCustomDictionaryConfig |
|
104 | 101 | from google.cloud.dlp_v2.types.dlp import ListStoredInfoTypesResponse |
105 | 102 | from google.cloud.dlp_v2.types.dlp import Location |
106 | 103 | from google.cloud.dlp_v2.types.dlp import Manual |
107 | | -from google.cloud.dlp_v2.types.dlp import MatchingType |
108 | 104 | from google.cloud.dlp_v2.types.dlp import MetadataLocation |
109 | | -from google.cloud.dlp_v2.types.dlp import MetadataType |
110 | 105 | from google.cloud.dlp_v2.types.dlp import OutputStorageConfig |
111 | 106 | from google.cloud.dlp_v2.types.dlp import PrimitiveTransformation |
112 | 107 | from google.cloud.dlp_v2.types.dlp import PrivacyMetric |
|
122 | 117 | from google.cloud.dlp_v2.types.dlp import RedactImageResponse |
123 | 118 | from google.cloud.dlp_v2.types.dlp import ReidentifyContentRequest |
124 | 119 | from google.cloud.dlp_v2.types.dlp import ReidentifyContentResponse |
125 | | -from google.cloud.dlp_v2.types.dlp import RelationalOperator |
126 | 120 | from google.cloud.dlp_v2.types.dlp import ReplaceValueConfig |
127 | 121 | from google.cloud.dlp_v2.types.dlp import ReplaceWithInfoTypeConfig |
128 | 122 | from google.cloud.dlp_v2.types.dlp import RiskAnalysisJobConfig |
|
131 | 125 | from google.cloud.dlp_v2.types.dlp import StorageMetadataLabel |
132 | 126 | from google.cloud.dlp_v2.types.dlp import StoredInfoType |
133 | 127 | from google.cloud.dlp_v2.types.dlp import StoredInfoTypeConfig |
134 | | -from google.cloud.dlp_v2.types.dlp import StoredInfoTypeState |
135 | 128 | from google.cloud.dlp_v2.types.dlp import StoredInfoTypeStats |
136 | 129 | from google.cloud.dlp_v2.types.dlp import StoredInfoTypeVersion |
137 | 130 | from google.cloud.dlp_v2.types.dlp import Table |
|
148 | 141 | from google.cloud.dlp_v2.types.dlp import UpdateStoredInfoTypeRequest |
149 | 142 | from google.cloud.dlp_v2.types.dlp import Value |
150 | 143 | from google.cloud.dlp_v2.types.dlp import ValueFrequency |
| 144 | +from google.cloud.dlp_v2.types.dlp import ContentOption |
| 145 | +from google.cloud.dlp_v2.types.dlp import DlpJobType |
| 146 | +from google.cloud.dlp_v2.types.dlp import InfoTypeSupportedBy |
| 147 | +from google.cloud.dlp_v2.types.dlp import MatchingType |
| 148 | +from google.cloud.dlp_v2.types.dlp import MetadataType |
| 149 | +from google.cloud.dlp_v2.types.dlp import RelationalOperator |
| 150 | +from google.cloud.dlp_v2.types.dlp import StoredInfoTypeState |
151 | 151 | from google.cloud.dlp_v2.types.storage import BigQueryField |
152 | 152 | from google.cloud.dlp_v2.types.storage import BigQueryKey |
153 | 153 | from google.cloud.dlp_v2.types.storage import BigQueryOptions |
|
161 | 161 | from google.cloud.dlp_v2.types.storage import DatastoreOptions |
162 | 162 | from google.cloud.dlp_v2.types.storage import EntityId |
163 | 163 | from google.cloud.dlp_v2.types.storage import FieldId |
164 | | -from google.cloud.dlp_v2.types.storage import FileType |
165 | 164 | from google.cloud.dlp_v2.types.storage import HybridOptions |
166 | 165 | from google.cloud.dlp_v2.types.storage import InfoType |
167 | 166 | from google.cloud.dlp_v2.types.storage import Key |
168 | 167 | from google.cloud.dlp_v2.types.storage import KindExpression |
169 | | -from google.cloud.dlp_v2.types.storage import Likelihood |
170 | 168 | from google.cloud.dlp_v2.types.storage import PartitionId |
171 | 169 | from google.cloud.dlp_v2.types.storage import RecordKey |
172 | 170 | from google.cloud.dlp_v2.types.storage import StorageConfig |
173 | 171 | from google.cloud.dlp_v2.types.storage import StoredType |
174 | 172 | from google.cloud.dlp_v2.types.storage import TableOptions |
| 173 | +from google.cloud.dlp_v2.types.storage import FileType |
| 174 | +from google.cloud.dlp_v2.types.storage import Likelihood |
175 | 175 |
|
176 | 176 | __all__ = ( |
| 177 | + "DlpServiceClient", |
| 178 | + "DlpServiceAsyncClient", |
177 | 179 | "Action", |
178 | 180 | "ActivateJobTriggerRequest", |
179 | 181 | "AnalyzeDataSourceRiskDetails", |
180 | | - "BigQueryField", |
181 | | - "BigQueryKey", |
182 | | - "BigQueryOptions", |
183 | | - "BigQueryTable", |
184 | 182 | "BoundingBox", |
185 | 183 | "BucketingConfig", |
186 | 184 | "ByteContentItem", |
187 | 185 | "CancelDlpJobRequest", |
188 | 186 | "CharacterMaskConfig", |
189 | 187 | "CharsToIgnore", |
190 | | - "CloudStorageFileSet", |
191 | | - "CloudStorageOptions", |
192 | | - "CloudStoragePath", |
193 | | - "CloudStorageRegexFileSet", |
194 | 188 | "Color", |
195 | 189 | "Container", |
196 | 190 | "ContentItem", |
197 | 191 | "ContentLocation", |
198 | | - "ContentOption", |
199 | 192 | "CreateDeidentifyTemplateRequest", |
200 | 193 | "CreateDlpJobRequest", |
201 | 194 | "CreateInspectTemplateRequest", |
|
205 | 198 | "CryptoHashConfig", |
206 | 199 | "CryptoKey", |
207 | 200 | "CryptoReplaceFfxFpeConfig", |
208 | | - "CustomInfoType", |
209 | | - "DatastoreKey", |
210 | | - "DatastoreOptions", |
211 | 201 | "DateShiftConfig", |
212 | 202 | "DateTime", |
213 | 203 | "DeidentifyConfig", |
|
220 | 210 | "DeleteJobTriggerRequest", |
221 | 211 | "DeleteStoredInfoTypeRequest", |
222 | 212 | "DlpJob", |
223 | | - "DlpJobType", |
224 | | - "DlpServiceAsyncClient", |
225 | | - "DlpServiceClient", |
226 | 213 | "DocumentLocation", |
227 | | - "EntityId", |
228 | 214 | "Error", |
229 | 215 | "ExcludeInfoTypes", |
230 | 216 | "ExclusionRule", |
231 | | - "FieldId", |
232 | 217 | "FieldTransformation", |
233 | | - "FileType", |
234 | 218 | "Finding", |
235 | 219 | "FinishDlpJobRequest", |
236 | 220 | "FixedSizeBucketingConfig", |
|
245 | 229 | "HybridInspectJobTriggerRequest", |
246 | 230 | "HybridInspectResponse", |
247 | 231 | "HybridInspectStatistics", |
248 | | - "HybridOptions", |
249 | 232 | "ImageLocation", |
250 | | - "InfoType", |
251 | 233 | "InfoTypeDescription", |
252 | 234 | "InfoTypeStats", |
253 | | - "InfoTypeSupportedBy", |
254 | 235 | "InfoTypeTransformations", |
255 | 236 | "InspectConfig", |
256 | 237 | "InspectContentRequest", |
257 | 238 | "InspectContentResponse", |
258 | 239 | "InspectDataSourceDetails", |
| 240 | + "InspectionRule", |
| 241 | + "InspectionRuleSet", |
259 | 242 | "InspectJobConfig", |
260 | 243 | "InspectResult", |
261 | 244 | "InspectTemplate", |
262 | | - "InspectionRule", |
263 | | - "InspectionRuleSet", |
264 | 245 | "JobTrigger", |
265 | | - "Key", |
266 | | - "KindExpression", |
267 | 246 | "KmsWrappedCryptoKey", |
268 | 247 | "LargeCustomDictionaryConfig", |
269 | 248 | "LargeCustomDictionaryStats", |
270 | | - "Likelihood", |
271 | 249 | "ListDeidentifyTemplatesRequest", |
272 | 250 | "ListDeidentifyTemplatesResponse", |
273 | 251 | "ListDlpJobsRequest", |
|
282 | 260 | "ListStoredInfoTypesResponse", |
283 | 261 | "Location", |
284 | 262 | "Manual", |
285 | | - "MatchingType", |
286 | 263 | "MetadataLocation", |
287 | | - "MetadataType", |
288 | 264 | "OutputStorageConfig", |
289 | | - "PartitionId", |
290 | 265 | "PrimitiveTransformation", |
291 | 266 | "PrivacyMetric", |
292 | 267 | "QuasiId", |
293 | 268 | "QuoteInfo", |
294 | 269 | "Range", |
295 | 270 | "RecordCondition", |
296 | | - "RecordKey", |
297 | 271 | "RecordLocation", |
298 | 272 | "RecordSuppression", |
299 | 273 | "RecordTransformations", |
|
302 | 276 | "RedactImageResponse", |
303 | 277 | "ReidentifyContentRequest", |
304 | 278 | "ReidentifyContentResponse", |
305 | | - "RelationalOperator", |
306 | 279 | "ReplaceValueConfig", |
307 | 280 | "ReplaceWithInfoTypeConfig", |
308 | 281 | "RiskAnalysisJobConfig", |
309 | 282 | "Schedule", |
310 | 283 | "StatisticalTable", |
311 | | - "StorageConfig", |
312 | 284 | "StorageMetadataLabel", |
313 | 285 | "StoredInfoType", |
314 | 286 | "StoredInfoTypeConfig", |
315 | | - "StoredInfoTypeState", |
316 | 287 | "StoredInfoTypeStats", |
317 | 288 | "StoredInfoTypeVersion", |
318 | | - "StoredType", |
319 | 289 | "Table", |
320 | 290 | "TableLocation", |
321 | | - "TableOptions", |
322 | 291 | "TimePartConfig", |
323 | 292 | "TransformationErrorHandling", |
324 | 293 | "TransformationOverview", |
|
331 | 300 | "UpdateStoredInfoTypeRequest", |
332 | 301 | "Value", |
333 | 302 | "ValueFrequency", |
| 303 | + "ContentOption", |
| 304 | + "DlpJobType", |
| 305 | + "InfoTypeSupportedBy", |
| 306 | + "MatchingType", |
| 307 | + "MetadataType", |
| 308 | + "RelationalOperator", |
| 309 | + "StoredInfoTypeState", |
| 310 | + "BigQueryField", |
| 311 | + "BigQueryKey", |
| 312 | + "BigQueryOptions", |
| 313 | + "BigQueryTable", |
| 314 | + "CloudStorageFileSet", |
| 315 | + "CloudStorageOptions", |
| 316 | + "CloudStoragePath", |
| 317 | + "CloudStorageRegexFileSet", |
| 318 | + "CustomInfoType", |
| 319 | + "DatastoreKey", |
| 320 | + "DatastoreOptions", |
| 321 | + "EntityId", |
| 322 | + "FieldId", |
| 323 | + "HybridOptions", |
| 324 | + "InfoType", |
| 325 | + "Key", |
| 326 | + "KindExpression", |
| 327 | + "PartitionId", |
| 328 | + "RecordKey", |
| 329 | + "StorageConfig", |
| 330 | + "StoredType", |
| 331 | + "TableOptions", |
| 332 | + "FileType", |
| 333 | + "Likelihood", |
334 | 334 | ) |
0 commit comments