google-apis-dlp_v2 0.27.0 → 0.30.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/apis/dlp_v2/classes.rb +569 -75
- data/lib/google/apis/dlp_v2/gem_version.rb +2 -2
- data/lib/google/apis/dlp_v2/representations.rb +224 -0
- data/lib/google/apis/dlp_v2/service.rb +156 -164
- metadata +3 -3
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DlpV2
|
18
18
|
# Version of the google-apis-dlp_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.30.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220812"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,6 +34,18 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class GooglePrivacyDlpV2AllInfoTypes
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class GooglePrivacyDlpV2AllText
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
37
49
|
class GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails
|
38
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
51
|
|
@@ -316,6 +328,12 @@ module Google
|
|
316
328
|
include Google::Apis::Core::JsonObjectSupport
|
317
329
|
end
|
318
330
|
|
331
|
+
class GooglePrivacyDlpV2Deidentify
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
319
337
|
class GooglePrivacyDlpV2DeidentifyConfig
|
320
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
339
|
|
@@ -526,6 +544,18 @@ module Google
|
|
526
544
|
include Google::Apis::Core::JsonObjectSupport
|
527
545
|
end
|
528
546
|
|
547
|
+
class GooglePrivacyDlpV2ImageTransformation
|
548
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
549
|
+
|
550
|
+
include Google::Apis::Core::JsonObjectSupport
|
551
|
+
end
|
552
|
+
|
553
|
+
class GooglePrivacyDlpV2ImageTransformations
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
555
|
+
|
556
|
+
include Google::Apis::Core::JsonObjectSupport
|
557
|
+
end
|
558
|
+
|
529
559
|
class GooglePrivacyDlpV2InfoType
|
530
560
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
531
561
|
|
@@ -964,6 +994,12 @@ module Google
|
|
964
994
|
include Google::Apis::Core::JsonObjectSupport
|
965
995
|
end
|
966
996
|
|
997
|
+
class GooglePrivacyDlpV2RecordTransformation
|
998
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
999
|
+
|
1000
|
+
include Google::Apis::Core::JsonObjectSupport
|
1001
|
+
end
|
1002
|
+
|
967
1003
|
class GooglePrivacyDlpV2RecordTransformations
|
968
1004
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
969
1005
|
|
@@ -1066,6 +1102,12 @@ module Google
|
|
1066
1102
|
include Google::Apis::Core::JsonObjectSupport
|
1067
1103
|
end
|
1068
1104
|
|
1105
|
+
class GooglePrivacyDlpV2SelectedInfoTypes
|
1106
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1107
|
+
|
1108
|
+
include Google::Apis::Core::JsonObjectSupport
|
1109
|
+
end
|
1110
|
+
|
1069
1111
|
class GooglePrivacyDlpV2SensitivityScore
|
1070
1112
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1071
1113
|
|
@@ -1186,18 +1228,54 @@ module Google
|
|
1186
1228
|
include Google::Apis::Core::JsonObjectSupport
|
1187
1229
|
end
|
1188
1230
|
|
1231
|
+
class GooglePrivacyDlpV2TransformationConfig
|
1232
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1233
|
+
|
1234
|
+
include Google::Apis::Core::JsonObjectSupport
|
1235
|
+
end
|
1236
|
+
|
1237
|
+
class GooglePrivacyDlpV2TransformationDescription
|
1238
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1239
|
+
|
1240
|
+
include Google::Apis::Core::JsonObjectSupport
|
1241
|
+
end
|
1242
|
+
|
1243
|
+
class GooglePrivacyDlpV2TransformationDetails
|
1244
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1245
|
+
|
1246
|
+
include Google::Apis::Core::JsonObjectSupport
|
1247
|
+
end
|
1248
|
+
|
1249
|
+
class GooglePrivacyDlpV2TransformationDetailsStorageConfig
|
1250
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1251
|
+
|
1252
|
+
include Google::Apis::Core::JsonObjectSupport
|
1253
|
+
end
|
1254
|
+
|
1189
1255
|
class GooglePrivacyDlpV2TransformationErrorHandling
|
1190
1256
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1191
1257
|
|
1192
1258
|
include Google::Apis::Core::JsonObjectSupport
|
1193
1259
|
end
|
1194
1260
|
|
1261
|
+
class GooglePrivacyDlpV2TransformationLocation
|
1262
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1263
|
+
|
1264
|
+
include Google::Apis::Core::JsonObjectSupport
|
1265
|
+
end
|
1266
|
+
|
1195
1267
|
class GooglePrivacyDlpV2TransformationOverview
|
1196
1268
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1197
1269
|
|
1198
1270
|
include Google::Apis::Core::JsonObjectSupport
|
1199
1271
|
end
|
1200
1272
|
|
1273
|
+
class GooglePrivacyDlpV2TransformationResultStatus
|
1274
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1275
|
+
|
1276
|
+
include Google::Apis::Core::JsonObjectSupport
|
1277
|
+
end
|
1278
|
+
|
1201
1279
|
class GooglePrivacyDlpV2TransformationSummary
|
1202
1280
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1203
1281
|
|
@@ -1258,6 +1336,12 @@ module Google
|
|
1258
1336
|
include Google::Apis::Core::JsonObjectSupport
|
1259
1337
|
end
|
1260
1338
|
|
1339
|
+
class GooglePrivacyDlpV2VersionDescription
|
1340
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1341
|
+
|
1342
|
+
include Google::Apis::Core::JsonObjectSupport
|
1343
|
+
end
|
1344
|
+
|
1261
1345
|
class GooglePrivacyDlpV2WordList
|
1262
1346
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1263
1347
|
|
@@ -1291,6 +1375,8 @@ module Google
|
|
1291
1375
|
class GooglePrivacyDlpV2Action
|
1292
1376
|
# @private
|
1293
1377
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1378
|
+
property :deidentify, as: 'deidentify', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Deidentify, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Deidentify::Representation
|
1379
|
+
|
1294
1380
|
property :job_notification_emails, as: 'jobNotificationEmails', class: Google::Apis::DlpV2::GooglePrivacyDlpV2JobNotificationEmails, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2JobNotificationEmails::Representation
|
1295
1381
|
|
1296
1382
|
property :pub_sub, as: 'pubSub', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToPubSub, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToPubSub::Representation
|
@@ -1312,6 +1398,18 @@ module Google
|
|
1312
1398
|
end
|
1313
1399
|
end
|
1314
1400
|
|
1401
|
+
class GooglePrivacyDlpV2AllInfoTypes
|
1402
|
+
# @private
|
1403
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1404
|
+
end
|
1405
|
+
end
|
1406
|
+
|
1407
|
+
class GooglePrivacyDlpV2AllText
|
1408
|
+
# @private
|
1409
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1410
|
+
end
|
1411
|
+
end
|
1412
|
+
|
1315
1413
|
class GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails
|
1316
1414
|
# @private
|
1317
1415
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1815,9 +1913,23 @@ module Google
|
|
1815
1913
|
end
|
1816
1914
|
end
|
1817
1915
|
|
1916
|
+
class GooglePrivacyDlpV2Deidentify
|
1917
|
+
# @private
|
1918
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1919
|
+
property :cloud_storage_output, as: 'cloudStorageOutput'
|
1920
|
+
collection :file_types_to_transform, as: 'fileTypesToTransform'
|
1921
|
+
property :transformation_config, as: 'transformationConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationConfig::Representation
|
1922
|
+
|
1923
|
+
property :transformation_details_storage_config, as: 'transformationDetailsStorageConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationDetailsStorageConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationDetailsStorageConfig::Representation
|
1924
|
+
|
1925
|
+
end
|
1926
|
+
end
|
1927
|
+
|
1818
1928
|
class GooglePrivacyDlpV2DeidentifyConfig
|
1819
1929
|
# @private
|
1820
1930
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1931
|
+
property :image_transformations, as: 'imageTransformations', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageTransformations, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageTransformations::Representation
|
1932
|
+
|
1821
1933
|
property :info_type_transformations, as: 'infoTypeTransformations', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeTransformations, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeTransformations::Representation
|
1822
1934
|
|
1823
1935
|
property :record_transformations, as: 'recordTransformations', class: Google::Apis::DlpV2::GooglePrivacyDlpV2RecordTransformations, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2RecordTransformations::Representation
|
@@ -2179,6 +2291,28 @@ module Google
|
|
2179
2291
|
end
|
2180
2292
|
end
|
2181
2293
|
|
2294
|
+
class GooglePrivacyDlpV2ImageTransformation
|
2295
|
+
# @private
|
2296
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2297
|
+
property :all_info_types, as: 'allInfoTypes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2AllInfoTypes, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2AllInfoTypes::Representation
|
2298
|
+
|
2299
|
+
property :all_text, as: 'allText', class: Google::Apis::DlpV2::GooglePrivacyDlpV2AllText, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2AllText::Representation
|
2300
|
+
|
2301
|
+
property :redaction_color, as: 'redactionColor', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Color, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Color::Representation
|
2302
|
+
|
2303
|
+
property :selected_info_types, as: 'selectedInfoTypes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SelectedInfoTypes, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SelectedInfoTypes::Representation
|
2304
|
+
|
2305
|
+
end
|
2306
|
+
end
|
2307
|
+
|
2308
|
+
class GooglePrivacyDlpV2ImageTransformations
|
2309
|
+
# @private
|
2310
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2311
|
+
collection :transforms, as: 'transforms', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageTransformation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageTransformation::Representation
|
2312
|
+
|
2313
|
+
end
|
2314
|
+
end
|
2315
|
+
|
2182
2316
|
class GooglePrivacyDlpV2InfoType
|
2183
2317
|
# @private
|
2184
2318
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2205,6 +2339,8 @@ module Google
|
|
2205
2339
|
property :display_name, as: 'displayName'
|
2206
2340
|
property :name, as: 'name'
|
2207
2341
|
collection :supported_by, as: 'supportedBy'
|
2342
|
+
collection :versions, as: 'versions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2VersionDescription, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2VersionDescription::Representation
|
2343
|
+
|
2208
2344
|
end
|
2209
2345
|
end
|
2210
2346
|
|
@@ -2901,6 +3037,16 @@ module Google
|
|
2901
3037
|
end
|
2902
3038
|
end
|
2903
3039
|
|
3040
|
+
class GooglePrivacyDlpV2RecordTransformation
|
3041
|
+
# @private
|
3042
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3043
|
+
property :container_timestamp, as: 'containerTimestamp'
|
3044
|
+
property :container_version, as: 'containerVersion'
|
3045
|
+
property :field_id, as: 'fieldId', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId::Representation
|
3046
|
+
|
3047
|
+
end
|
3048
|
+
end
|
3049
|
+
|
2904
3050
|
class GooglePrivacyDlpV2RecordTransformations
|
2905
3051
|
# @private
|
2906
3052
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3061,6 +3207,14 @@ module Google
|
|
3061
3207
|
end
|
3062
3208
|
end
|
3063
3209
|
|
3210
|
+
class GooglePrivacyDlpV2SelectedInfoTypes
|
3211
|
+
# @private
|
3212
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3213
|
+
collection :info_types, as: 'infoTypes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation
|
3214
|
+
|
3215
|
+
end
|
3216
|
+
end
|
3217
|
+
|
3064
3218
|
class GooglePrivacyDlpV2SensitivityScore
|
3065
3219
|
# @private
|
3066
3220
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3279,6 +3433,49 @@ module Google
|
|
3279
3433
|
end
|
3280
3434
|
end
|
3281
3435
|
|
3436
|
+
class GooglePrivacyDlpV2TransformationConfig
|
3437
|
+
# @private
|
3438
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3439
|
+
property :deidentify_template, as: 'deidentifyTemplate'
|
3440
|
+
property :image_redact_template, as: 'imageRedactTemplate'
|
3441
|
+
property :structured_deidentify_template, as: 'structuredDeidentifyTemplate'
|
3442
|
+
end
|
3443
|
+
end
|
3444
|
+
|
3445
|
+
class GooglePrivacyDlpV2TransformationDescription
|
3446
|
+
# @private
|
3447
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3448
|
+
property :condition, as: 'condition'
|
3449
|
+
property :description, as: 'description'
|
3450
|
+
property :info_type, as: 'infoType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation
|
3451
|
+
|
3452
|
+
property :type, as: 'type'
|
3453
|
+
end
|
3454
|
+
end
|
3455
|
+
|
3456
|
+
class GooglePrivacyDlpV2TransformationDetails
|
3457
|
+
# @private
|
3458
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3459
|
+
property :container_name, as: 'containerName'
|
3460
|
+
property :resource_name, as: 'resourceName'
|
3461
|
+
property :status_details, as: 'statusDetails', class: Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationResultStatus, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationResultStatus::Representation
|
3462
|
+
|
3463
|
+
collection :transformation, as: 'transformation', class: Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationDescription, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationDescription::Representation
|
3464
|
+
|
3465
|
+
property :transformation_location, as: 'transformationLocation', class: Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationLocation::Representation
|
3466
|
+
|
3467
|
+
property :transformed_bytes, :numeric_string => true, as: 'transformedBytes'
|
3468
|
+
end
|
3469
|
+
end
|
3470
|
+
|
3471
|
+
class GooglePrivacyDlpV2TransformationDetailsStorageConfig
|
3472
|
+
# @private
|
3473
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3474
|
+
property :table, as: 'table', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable::Representation
|
3475
|
+
|
3476
|
+
end
|
3477
|
+
end
|
3478
|
+
|
3282
3479
|
class GooglePrivacyDlpV2TransformationErrorHandling
|
3283
3480
|
# @private
|
3284
3481
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3289,6 +3486,16 @@ module Google
|
|
3289
3486
|
end
|
3290
3487
|
end
|
3291
3488
|
|
3489
|
+
class GooglePrivacyDlpV2TransformationLocation
|
3490
|
+
# @private
|
3491
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3492
|
+
property :container_type, as: 'containerType'
|
3493
|
+
property :finding_id, as: 'findingId'
|
3494
|
+
property :record_transformation, as: 'recordTransformation', class: Google::Apis::DlpV2::GooglePrivacyDlpV2RecordTransformation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2RecordTransformation::Representation
|
3495
|
+
|
3496
|
+
end
|
3497
|
+
end
|
3498
|
+
|
3292
3499
|
class GooglePrivacyDlpV2TransformationOverview
|
3293
3500
|
# @private
|
3294
3501
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3298,6 +3505,15 @@ module Google
|
|
3298
3505
|
end
|
3299
3506
|
end
|
3300
3507
|
|
3508
|
+
class GooglePrivacyDlpV2TransformationResultStatus
|
3509
|
+
# @private
|
3510
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3511
|
+
property :details, as: 'details', class: Google::Apis::DlpV2::GoogleRpcStatus, decorator: Google::Apis::DlpV2::GoogleRpcStatus::Representation
|
3512
|
+
|
3513
|
+
property :result_status_type, as: 'resultStatusType'
|
3514
|
+
end
|
3515
|
+
end
|
3516
|
+
|
3301
3517
|
class GooglePrivacyDlpV2TransformationSummary
|
3302
3518
|
# @private
|
3303
3519
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3402,6 +3618,14 @@ module Google
|
|
3402
3618
|
end
|
3403
3619
|
end
|
3404
3620
|
|
3621
|
+
class GooglePrivacyDlpV2VersionDescription
|
3622
|
+
# @private
|
3623
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3624
|
+
property :description, as: 'description'
|
3625
|
+
property :version, as: 'version'
|
3626
|
+
end
|
3627
|
+
end
|
3628
|
+
|
3405
3629
|
class GooglePrivacyDlpV2WordList
|
3406
3630
|
# @private
|
3407
3631
|
class Representation < Google::Apis::Core::JsonRepresentation
|