google-apis-dlp_v2 0.60.0 → 0.62.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/dlp_v2/classes.rb +537 -9
- data/lib/google/apis/dlp_v2/gem_version.rb +2 -2
- data/lib/google/apis/dlp_v2/representations.rb +275 -0
- data/lib/google/apis/dlp_v2/service.rb +358 -44
- metadata +3 -3
@@ -52,6 +52,12 @@ module Google
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
+
class GooglePrivacyDlpV2AllOtherDatabaseResources
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
55
61
|
class GooglePrivacyDlpV2AllText
|
56
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
63
|
|
@@ -184,6 +190,24 @@ module Google
|
|
184
190
|
include Google::Apis::Core::JsonObjectSupport
|
185
191
|
end
|
186
192
|
|
193
|
+
class GooglePrivacyDlpV2CloudSqlDiscoveryTarget
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class GooglePrivacyDlpV2CloudSqlIamCredential
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class GooglePrivacyDlpV2CloudSqlProperties
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
187
211
|
class GooglePrivacyDlpV2CloudStorageFileSet
|
188
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
213
|
|
@@ -232,6 +256,12 @@ module Google
|
|
232
256
|
include Google::Apis::Core::JsonObjectSupport
|
233
257
|
end
|
234
258
|
|
259
|
+
class GooglePrivacyDlpV2Connection
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
235
265
|
class GooglePrivacyDlpV2Container
|
236
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
267
|
|
@@ -250,6 +280,12 @@ module Google
|
|
250
280
|
include Google::Apis::Core::JsonObjectSupport
|
251
281
|
end
|
252
282
|
|
283
|
+
class GooglePrivacyDlpV2CreateConnectionRequest
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
253
289
|
class GooglePrivacyDlpV2CreateDeidentifyTemplateRequest
|
254
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
291
|
|
@@ -370,6 +406,30 @@ module Google
|
|
370
406
|
include Google::Apis::Core::JsonObjectSupport
|
371
407
|
end
|
372
408
|
|
409
|
+
class GooglePrivacyDlpV2DatabaseResourceCollection
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
|
+
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
413
|
+
end
|
414
|
+
|
415
|
+
class GooglePrivacyDlpV2DatabaseResourceReference
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
|
+
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
419
|
+
end
|
420
|
+
|
421
|
+
class GooglePrivacyDlpV2DatabaseResourceRegex
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
|
+
|
424
|
+
include Google::Apis::Core::JsonObjectSupport
|
425
|
+
end
|
426
|
+
|
427
|
+
class GooglePrivacyDlpV2DatabaseResourceRegexes
|
428
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
|
+
|
430
|
+
include Google::Apis::Core::JsonObjectSupport
|
431
|
+
end
|
432
|
+
|
373
433
|
class GooglePrivacyDlpV2DatastoreKey
|
374
434
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
435
|
|
@@ -490,6 +550,24 @@ module Google
|
|
490
550
|
include Google::Apis::Core::JsonObjectSupport
|
491
551
|
end
|
492
552
|
|
553
|
+
class GooglePrivacyDlpV2DiscoveryCloudSqlConditions
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
555
|
+
|
556
|
+
include Google::Apis::Core::JsonObjectSupport
|
557
|
+
end
|
558
|
+
|
559
|
+
class GooglePrivacyDlpV2DiscoveryCloudSqlFilter
|
560
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
561
|
+
|
562
|
+
include Google::Apis::Core::JsonObjectSupport
|
563
|
+
end
|
564
|
+
|
565
|
+
class GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence
|
566
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
567
|
+
|
568
|
+
include Google::Apis::Core::JsonObjectSupport
|
569
|
+
end
|
570
|
+
|
493
571
|
class GooglePrivacyDlpV2DiscoveryConfig
|
494
572
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
573
|
|
@@ -934,6 +1012,12 @@ module Google
|
|
934
1012
|
include Google::Apis::Core::JsonObjectSupport
|
935
1013
|
end
|
936
1014
|
|
1015
|
+
class GooglePrivacyDlpV2ListConnectionsResponse
|
1016
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1017
|
+
|
1018
|
+
include Google::Apis::Core::JsonObjectSupport
|
1019
|
+
end
|
1020
|
+
|
937
1021
|
class GooglePrivacyDlpV2ListDeidentifyTemplatesResponse
|
938
1022
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
939
1023
|
|
@@ -1294,6 +1378,24 @@ module Google
|
|
1294
1378
|
include Google::Apis::Core::JsonObjectSupport
|
1295
1379
|
end
|
1296
1380
|
|
1381
|
+
class GooglePrivacyDlpV2SchemaModifiedCadence
|
1382
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1383
|
+
|
1384
|
+
include Google::Apis::Core::JsonObjectSupport
|
1385
|
+
end
|
1386
|
+
|
1387
|
+
class GooglePrivacyDlpV2SearchConnectionsResponse
|
1388
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1389
|
+
|
1390
|
+
include Google::Apis::Core::JsonObjectSupport
|
1391
|
+
end
|
1392
|
+
|
1393
|
+
class GooglePrivacyDlpV2SecretManagerCredential
|
1394
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1395
|
+
|
1396
|
+
include Google::Apis::Core::JsonObjectSupport
|
1397
|
+
end
|
1398
|
+
|
1297
1399
|
class GooglePrivacyDlpV2SelectedInfoTypes
|
1298
1400
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1299
1401
|
|
@@ -1492,6 +1594,12 @@ module Google
|
|
1492
1594
|
include Google::Apis::Core::JsonObjectSupport
|
1493
1595
|
end
|
1494
1596
|
|
1597
|
+
class GooglePrivacyDlpV2UpdateConnectionRequest
|
1598
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1599
|
+
|
1600
|
+
include Google::Apis::Core::JsonObjectSupport
|
1601
|
+
end
|
1602
|
+
|
1495
1603
|
class GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest
|
1496
1604
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1497
1605
|
|
@@ -1616,6 +1724,12 @@ module Google
|
|
1616
1724
|
end
|
1617
1725
|
end
|
1618
1726
|
|
1727
|
+
class GooglePrivacyDlpV2AllOtherDatabaseResources
|
1728
|
+
# @private
|
1729
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1730
|
+
end
|
1731
|
+
end
|
1732
|
+
|
1619
1733
|
class GooglePrivacyDlpV2AllText
|
1620
1734
|
# @private
|
1621
1735
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1840,6 +1954,39 @@ module Google
|
|
1840
1954
|
end
|
1841
1955
|
end
|
1842
1956
|
|
1957
|
+
class GooglePrivacyDlpV2CloudSqlDiscoveryTarget
|
1958
|
+
# @private
|
1959
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1960
|
+
property :conditions, as: 'conditions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryCloudSqlConditions, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryCloudSqlConditions::Representation
|
1961
|
+
|
1962
|
+
property :disabled, as: 'disabled', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Disabled, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Disabled::Representation
|
1963
|
+
|
1964
|
+
property :filter, as: 'filter', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryCloudSqlFilter, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryCloudSqlFilter::Representation
|
1965
|
+
|
1966
|
+
property :generation_cadence, as: 'generationCadence', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence::Representation
|
1967
|
+
|
1968
|
+
end
|
1969
|
+
end
|
1970
|
+
|
1971
|
+
class GooglePrivacyDlpV2CloudSqlIamCredential
|
1972
|
+
# @private
|
1973
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1974
|
+
end
|
1975
|
+
end
|
1976
|
+
|
1977
|
+
class GooglePrivacyDlpV2CloudSqlProperties
|
1978
|
+
# @private
|
1979
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1980
|
+
property :cloud_sql_iam, as: 'cloudSqlIam', class: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudSqlIamCredential, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudSqlIamCredential::Representation
|
1981
|
+
|
1982
|
+
property :connection_name, as: 'connectionName'
|
1983
|
+
property :database_engine, as: 'databaseEngine'
|
1984
|
+
property :max_connections, as: 'maxConnections'
|
1985
|
+
property :username_password, as: 'usernamePassword', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SecretManagerCredential, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SecretManagerCredential::Representation
|
1986
|
+
|
1987
|
+
end
|
1988
|
+
end
|
1989
|
+
|
1843
1990
|
class GooglePrivacyDlpV2CloudStorageFileSet
|
1844
1991
|
# @private
|
1845
1992
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1935,6 +2082,18 @@ module Google
|
|
1935
2082
|
end
|
1936
2083
|
end
|
1937
2084
|
|
2085
|
+
class GooglePrivacyDlpV2Connection
|
2086
|
+
# @private
|
2087
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2088
|
+
property :cloud_sql, as: 'cloudSql', class: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudSqlProperties, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudSqlProperties::Representation
|
2089
|
+
|
2090
|
+
collection :errors, as: 'errors', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Error, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Error::Representation
|
2091
|
+
|
2092
|
+
property :name, as: 'name'
|
2093
|
+
property :state, as: 'state'
|
2094
|
+
end
|
2095
|
+
end
|
2096
|
+
|
1938
2097
|
class GooglePrivacyDlpV2Container
|
1939
2098
|
# @private
|
1940
2099
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1976,6 +2135,14 @@ module Google
|
|
1976
2135
|
end
|
1977
2136
|
end
|
1978
2137
|
|
2138
|
+
class GooglePrivacyDlpV2CreateConnectionRequest
|
2139
|
+
# @private
|
2140
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2141
|
+
property :connection, as: 'connection', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Connection, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Connection::Representation
|
2142
|
+
|
2143
|
+
end
|
2144
|
+
end
|
2145
|
+
|
1979
2146
|
class GooglePrivacyDlpV2CreateDeidentifyTemplateRequest
|
1980
2147
|
# @private
|
1981
2148
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2191,6 +2358,40 @@ module Google
|
|
2191
2358
|
end
|
2192
2359
|
end
|
2193
2360
|
|
2361
|
+
class GooglePrivacyDlpV2DatabaseResourceCollection
|
2362
|
+
# @private
|
2363
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2364
|
+
property :include_regexes, as: 'includeRegexes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DatabaseResourceRegexes, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DatabaseResourceRegexes::Representation
|
2365
|
+
|
2366
|
+
end
|
2367
|
+
end
|
2368
|
+
|
2369
|
+
class GooglePrivacyDlpV2DatabaseResourceReference
|
2370
|
+
# @private
|
2371
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2372
|
+
property :instance, as: 'instance'
|
2373
|
+
property :project_id, as: 'projectId'
|
2374
|
+
end
|
2375
|
+
end
|
2376
|
+
|
2377
|
+
class GooglePrivacyDlpV2DatabaseResourceRegex
|
2378
|
+
# @private
|
2379
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2380
|
+
property :database_regex, as: 'databaseRegex'
|
2381
|
+
property :database_resource_name_regex, as: 'databaseResourceNameRegex'
|
2382
|
+
property :instance_regex, as: 'instanceRegex'
|
2383
|
+
property :project_id_regex, as: 'projectIdRegex'
|
2384
|
+
end
|
2385
|
+
end
|
2386
|
+
|
2387
|
+
class GooglePrivacyDlpV2DatabaseResourceRegexes
|
2388
|
+
# @private
|
2389
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2390
|
+
collection :patterns, as: 'patterns', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DatabaseResourceRegex, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DatabaseResourceRegex::Representation
|
2391
|
+
|
2392
|
+
end
|
2393
|
+
end
|
2394
|
+
|
2194
2395
|
class GooglePrivacyDlpV2DatastoreKey
|
2195
2396
|
# @private
|
2196
2397
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2403,6 +2604,35 @@ module Google
|
|
2403
2604
|
end
|
2404
2605
|
end
|
2405
2606
|
|
2607
|
+
class GooglePrivacyDlpV2DiscoveryCloudSqlConditions
|
2608
|
+
# @private
|
2609
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2610
|
+
collection :database_engines, as: 'databaseEngines'
|
2611
|
+
collection :types, as: 'types'
|
2612
|
+
end
|
2613
|
+
end
|
2614
|
+
|
2615
|
+
class GooglePrivacyDlpV2DiscoveryCloudSqlFilter
|
2616
|
+
# @private
|
2617
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2618
|
+
property :collection, as: 'collection', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DatabaseResourceCollection, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DatabaseResourceCollection::Representation
|
2619
|
+
|
2620
|
+
property :database_resource_reference, as: 'databaseResourceReference', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DatabaseResourceReference, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DatabaseResourceReference::Representation
|
2621
|
+
|
2622
|
+
property :others, as: 'others', class: Google::Apis::DlpV2::GooglePrivacyDlpV2AllOtherDatabaseResources, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2AllOtherDatabaseResources::Representation
|
2623
|
+
|
2624
|
+
end
|
2625
|
+
end
|
2626
|
+
|
2627
|
+
class GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence
|
2628
|
+
# @private
|
2629
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2630
|
+
property :refresh_frequency, as: 'refreshFrequency'
|
2631
|
+
property :schema_modified_cadence, as: 'schemaModifiedCadence', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SchemaModifiedCadence, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SchemaModifiedCadence::Representation
|
2632
|
+
|
2633
|
+
end
|
2634
|
+
end
|
2635
|
+
|
2406
2636
|
class GooglePrivacyDlpV2DiscoveryConfig
|
2407
2637
|
# @private
|
2408
2638
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2463,6 +2693,8 @@ module Google
|
|
2463
2693
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2464
2694
|
property :big_query_target, as: 'bigQueryTarget', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryDiscoveryTarget, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryDiscoveryTarget::Representation
|
2465
2695
|
|
2696
|
+
property :cloud_sql_target, as: 'cloudSqlTarget', class: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudSqlDiscoveryTarget, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudSqlDiscoveryTarget::Representation
|
2697
|
+
|
2466
2698
|
end
|
2467
2699
|
end
|
2468
2700
|
|
@@ -3166,6 +3398,15 @@ module Google
|
|
3166
3398
|
end
|
3167
3399
|
end
|
3168
3400
|
|
3401
|
+
class GooglePrivacyDlpV2ListConnectionsResponse
|
3402
|
+
# @private
|
3403
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3404
|
+
collection :connections, as: 'connections', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Connection, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Connection::Representation
|
3405
|
+
|
3406
|
+
property :next_page_token, as: 'nextPageToken'
|
3407
|
+
end
|
3408
|
+
end
|
3409
|
+
|
3169
3410
|
class GooglePrivacyDlpV2ListDeidentifyTemplatesResponse
|
3170
3411
|
# @private
|
3171
3412
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3749,6 +3990,31 @@ module Google
|
|
3749
3990
|
end
|
3750
3991
|
end
|
3751
3992
|
|
3993
|
+
class GooglePrivacyDlpV2SchemaModifiedCadence
|
3994
|
+
# @private
|
3995
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3996
|
+
property :frequency, as: 'frequency'
|
3997
|
+
collection :types, as: 'types'
|
3998
|
+
end
|
3999
|
+
end
|
4000
|
+
|
4001
|
+
class GooglePrivacyDlpV2SearchConnectionsResponse
|
4002
|
+
# @private
|
4003
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4004
|
+
collection :connections, as: 'connections', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Connection, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Connection::Representation
|
4005
|
+
|
4006
|
+
property :next_page_token, as: 'nextPageToken'
|
4007
|
+
end
|
4008
|
+
end
|
4009
|
+
|
4010
|
+
class GooglePrivacyDlpV2SecretManagerCredential
|
4011
|
+
# @private
|
4012
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4013
|
+
property :password_secret_version_name, as: 'passwordSecretVersionName'
|
4014
|
+
property :username, as: 'username'
|
4015
|
+
end
|
4016
|
+
end
|
4017
|
+
|
3752
4018
|
class GooglePrivacyDlpV2SelectedInfoTypes
|
3753
4019
|
# @private
|
3754
4020
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4101,6 +4367,15 @@ module Google
|
|
4101
4367
|
end
|
4102
4368
|
end
|
4103
4369
|
|
4370
|
+
class GooglePrivacyDlpV2UpdateConnectionRequest
|
4371
|
+
# @private
|
4372
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4373
|
+
property :connection, as: 'connection', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Connection, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Connection::Representation
|
4374
|
+
|
4375
|
+
property :update_mask, as: 'updateMask'
|
4376
|
+
end
|
4377
|
+
end
|
4378
|
+
|
4104
4379
|
class GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest
|
4105
4380
|
# @private
|
4106
4381
|
class Representation < Google::Apis::Core::JsonRepresentation
|