google-apis-dlp_v2 0.51.0 → 0.53.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.
@@ -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.51.0"
19
+ GEM_VERSION = "0.53.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231001"
25
+ REVISION = "20231015"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class GooglePrivacyDlpV2AllOtherBigQueryTables
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class GooglePrivacyDlpV2AllText
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -64,6 +70,12 @@ module Google
64
70
  include Google::Apis::Core::JsonObjectSupport
65
71
  end
66
72
 
73
+ class GooglePrivacyDlpV2BigQueryDiscoveryTarget
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
67
79
  class GooglePrivacyDlpV2BigQueryField
68
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
81
 
@@ -82,12 +94,36 @@ module Google
82
94
  include Google::Apis::Core::JsonObjectSupport
83
95
  end
84
96
 
97
+ class GooglePrivacyDlpV2BigQueryRegex
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GooglePrivacyDlpV2BigQueryRegexes
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
85
109
  class GooglePrivacyDlpV2BigQueryTable
86
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
111
 
88
112
  include Google::Apis::Core::JsonObjectSupport
89
113
  end
90
114
 
115
+ class GooglePrivacyDlpV2BigQueryTableCollection
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GooglePrivacyDlpV2BigQueryTableTypes
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
91
127
  class GooglePrivacyDlpV2BoundingBox
92
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
129
 
@@ -220,6 +256,12 @@ module Google
220
256
  include Google::Apis::Core::JsonObjectSupport
221
257
  end
222
258
 
259
+ class GooglePrivacyDlpV2CreateDiscoveryConfigRequest
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
223
265
  class GooglePrivacyDlpV2CreateDlpJobRequest
224
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
267
 
@@ -424,6 +466,60 @@ module Google
424
466
  include Google::Apis::Core::JsonObjectSupport
425
467
  end
426
468
 
469
+ class GooglePrivacyDlpV2Disabled
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
475
+ class GooglePrivacyDlpV2DiscoveryBigQueryConditions
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
481
+ class GooglePrivacyDlpV2DiscoveryBigQueryFilter
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ class GooglePrivacyDlpV2DiscoveryConfig
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
493
+ class GooglePrivacyDlpV2DiscoveryGenerationCadence
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
499
+ class GooglePrivacyDlpV2DiscoverySchemaModifiedCadence
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
505
+ class GooglePrivacyDlpV2DiscoveryStartingLocation
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
511
+ class GooglePrivacyDlpV2DiscoveryTableModifiedCadence
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
517
+ class GooglePrivacyDlpV2DiscoveryTarget
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
427
523
  class GooglePrivacyDlpV2DlpJob
428
524
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
525
 
@@ -832,6 +928,12 @@ module Google
832
928
  include Google::Apis::Core::JsonObjectSupport
833
929
  end
834
930
 
931
+ class GooglePrivacyDlpV2ListDiscoveryConfigsResponse
932
+ class Representation < Google::Apis::Core::JsonRepresentation; end
933
+
934
+ include Google::Apis::Core::JsonObjectSupport
935
+ end
936
+
835
937
  class GooglePrivacyDlpV2ListDlpJobsResponse
836
938
  class Representation < Google::Apis::Core::JsonRepresentation; end
837
939
 
@@ -892,6 +994,18 @@ module Google
892
994
  include Google::Apis::Core::JsonObjectSupport
893
995
  end
894
996
 
997
+ class GooglePrivacyDlpV2OrConditions
998
+ class Representation < Google::Apis::Core::JsonRepresentation; end
999
+
1000
+ include Google::Apis::Core::JsonObjectSupport
1001
+ end
1002
+
1003
+ class GooglePrivacyDlpV2OrgConfig
1004
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1005
+
1006
+ include Google::Apis::Core::JsonObjectSupport
1007
+ end
1008
+
895
1009
  class GooglePrivacyDlpV2OtherInfoTypeSummary
896
1010
  class Representation < Google::Apis::Core::JsonRepresentation; end
897
1011
 
@@ -1354,6 +1468,12 @@ module Google
1354
1468
  include Google::Apis::Core::JsonObjectSupport
1355
1469
  end
1356
1470
 
1471
+ class GooglePrivacyDlpV2UpdateDiscoveryConfigRequest
1472
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1473
+
1474
+ include Google::Apis::Core::JsonObjectSupport
1475
+ end
1476
+
1357
1477
  class GooglePrivacyDlpV2UpdateInspectTemplateRequest
1358
1478
  class Representation < Google::Apis::Core::JsonRepresentation; end
1359
1479
 
@@ -1460,6 +1580,12 @@ module Google
1460
1580
  end
1461
1581
  end
1462
1582
 
1583
+ class GooglePrivacyDlpV2AllOtherBigQueryTables
1584
+ # @private
1585
+ class Representation < Google::Apis::Core::JsonRepresentation
1586
+ end
1587
+ end
1588
+
1463
1589
  class GooglePrivacyDlpV2AllText
1464
1590
  # @private
1465
1591
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1502,6 +1628,20 @@ module Google
1502
1628
  end
1503
1629
  end
1504
1630
 
1631
+ class GooglePrivacyDlpV2BigQueryDiscoveryTarget
1632
+ # @private
1633
+ class Representation < Google::Apis::Core::JsonRepresentation
1634
+ property :cadence, as: 'cadence', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryGenerationCadence, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryGenerationCadence::Representation
1635
+
1636
+ property :conditions, as: 'conditions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryBigQueryConditions, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryBigQueryConditions::Representation
1637
+
1638
+ property :disabled, as: 'disabled', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Disabled, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Disabled::Representation
1639
+
1640
+ property :filter, as: 'filter', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryBigQueryFilter, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryBigQueryFilter::Representation
1641
+
1642
+ end
1643
+ end
1644
+
1505
1645
  class GooglePrivacyDlpV2BigQueryField
1506
1646
  # @private
1507
1647
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1538,6 +1678,23 @@ module Google
1538
1678
  end
1539
1679
  end
1540
1680
 
1681
+ class GooglePrivacyDlpV2BigQueryRegex
1682
+ # @private
1683
+ class Representation < Google::Apis::Core::JsonRepresentation
1684
+ property :dataset_id_regex, as: 'datasetIdRegex'
1685
+ property :project_id_regex, as: 'projectIdRegex'
1686
+ property :table_id_regex, as: 'tableIdRegex'
1687
+ end
1688
+ end
1689
+
1690
+ class GooglePrivacyDlpV2BigQueryRegexes
1691
+ # @private
1692
+ class Representation < Google::Apis::Core::JsonRepresentation
1693
+ collection :patterns, as: 'patterns', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryRegex, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryRegex::Representation
1694
+
1695
+ end
1696
+ end
1697
+
1541
1698
  class GooglePrivacyDlpV2BigQueryTable
1542
1699
  # @private
1543
1700
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1547,6 +1704,21 @@ module Google
1547
1704
  end
1548
1705
  end
1549
1706
 
1707
+ class GooglePrivacyDlpV2BigQueryTableCollection
1708
+ # @private
1709
+ class Representation < Google::Apis::Core::JsonRepresentation
1710
+ property :include_regexes, as: 'includeRegexes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryRegexes, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryRegexes::Representation
1711
+
1712
+ end
1713
+ end
1714
+
1715
+ class GooglePrivacyDlpV2BigQueryTableTypes
1716
+ # @private
1717
+ class Representation < Google::Apis::Core::JsonRepresentation
1718
+ collection :types, as: 'types'
1719
+ end
1720
+ end
1721
+
1550
1722
  class GooglePrivacyDlpV2BoundingBox
1551
1723
  # @private
1552
1724
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1784,6 +1956,15 @@ module Google
1784
1956
  end
1785
1957
  end
1786
1958
 
1959
+ class GooglePrivacyDlpV2CreateDiscoveryConfigRequest
1960
+ # @private
1961
+ class Representation < Google::Apis::Core::JsonRepresentation
1962
+ property :config_id, as: 'configId'
1963
+ property :discovery_config, as: 'discoveryConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig::Representation
1964
+
1965
+ end
1966
+ end
1967
+
1787
1968
  class GooglePrivacyDlpV2CreateDlpJobRequest
1788
1969
  # @private
1789
1970
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2153,6 +2334,97 @@ module Google
2153
2334
  end
2154
2335
  end
2155
2336
 
2337
+ class GooglePrivacyDlpV2Disabled
2338
+ # @private
2339
+ class Representation < Google::Apis::Core::JsonRepresentation
2340
+ end
2341
+ end
2342
+
2343
+ class GooglePrivacyDlpV2DiscoveryBigQueryConditions
2344
+ # @private
2345
+ class Representation < Google::Apis::Core::JsonRepresentation
2346
+ property :created_after, as: 'createdAfter'
2347
+ property :or_conditions, as: 'orConditions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2OrConditions, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2OrConditions::Representation
2348
+
2349
+ property :type_collection, as: 'typeCollection'
2350
+ property :types, as: 'types', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTableTypes, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTableTypes::Representation
2351
+
2352
+ end
2353
+ end
2354
+
2355
+ class GooglePrivacyDlpV2DiscoveryBigQueryFilter
2356
+ # @private
2357
+ class Representation < Google::Apis::Core::JsonRepresentation
2358
+ property :other_tables, as: 'otherTables', class: Google::Apis::DlpV2::GooglePrivacyDlpV2AllOtherBigQueryTables, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2AllOtherBigQueryTables::Representation
2359
+
2360
+ property :tables, as: 'tables', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTableCollection, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTableCollection::Representation
2361
+
2362
+ end
2363
+ end
2364
+
2365
+ class GooglePrivacyDlpV2DiscoveryConfig
2366
+ # @private
2367
+ class Representation < Google::Apis::Core::JsonRepresentation
2368
+ collection :actions, as: 'actions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileAction, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileAction::Representation
2369
+
2370
+ property :create_time, as: 'createTime'
2371
+ property :display_name, as: 'displayName'
2372
+ collection :errors, as: 'errors', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Error, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Error::Representation
2373
+
2374
+ collection :inspect_templates, as: 'inspectTemplates'
2375
+ property :last_run_time, as: 'lastRunTime'
2376
+ property :name, as: 'name'
2377
+ property :org_config, as: 'orgConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2OrgConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2OrgConfig::Representation
2378
+
2379
+ property :status, as: 'status'
2380
+ collection :targets, as: 'targets', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryTarget, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryTarget::Representation
2381
+
2382
+ property :update_time, as: 'updateTime'
2383
+ end
2384
+ end
2385
+
2386
+ class GooglePrivacyDlpV2DiscoveryGenerationCadence
2387
+ # @private
2388
+ class Representation < Google::Apis::Core::JsonRepresentation
2389
+ property :schema_modified_cadence, as: 'schemaModifiedCadence', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoverySchemaModifiedCadence, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoverySchemaModifiedCadence::Representation
2390
+
2391
+ property :table_modified_cadence, as: 'tableModifiedCadence', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryTableModifiedCadence, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryTableModifiedCadence::Representation
2392
+
2393
+ end
2394
+ end
2395
+
2396
+ class GooglePrivacyDlpV2DiscoverySchemaModifiedCadence
2397
+ # @private
2398
+ class Representation < Google::Apis::Core::JsonRepresentation
2399
+ property :frequency, as: 'frequency'
2400
+ collection :types, as: 'types'
2401
+ end
2402
+ end
2403
+
2404
+ class GooglePrivacyDlpV2DiscoveryStartingLocation
2405
+ # @private
2406
+ class Representation < Google::Apis::Core::JsonRepresentation
2407
+ property :folder_id, :numeric_string => true, as: 'folderId'
2408
+ property :organization_id, :numeric_string => true, as: 'organizationId'
2409
+ end
2410
+ end
2411
+
2412
+ class GooglePrivacyDlpV2DiscoveryTableModifiedCadence
2413
+ # @private
2414
+ class Representation < Google::Apis::Core::JsonRepresentation
2415
+ property :frequency, as: 'frequency'
2416
+ collection :types, as: 'types'
2417
+ end
2418
+ end
2419
+
2420
+ class GooglePrivacyDlpV2DiscoveryTarget
2421
+ # @private
2422
+ class Representation < Google::Apis::Core::JsonRepresentation
2423
+ property :big_query_target, as: 'bigQueryTarget', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryDiscoveryTarget, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryDiscoveryTarget::Representation
2424
+
2425
+ end
2426
+ end
2427
+
2156
2428
  class GooglePrivacyDlpV2DlpJob
2157
2429
  # @private
2158
2430
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2853,6 +3125,15 @@ module Google
2853
3125
  end
2854
3126
  end
2855
3127
 
3128
+ class GooglePrivacyDlpV2ListDiscoveryConfigsResponse
3129
+ # @private
3130
+ class Representation < Google::Apis::Core::JsonRepresentation
3131
+ collection :discovery_configs, as: 'discoveryConfigs', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig::Representation
3132
+
3133
+ property :next_page_token, as: 'nextPageToken'
3134
+ end
3135
+ end
3136
+
2856
3137
  class GooglePrivacyDlpV2ListDlpJobsResponse
2857
3138
  # @private
2858
3139
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2946,6 +3227,23 @@ module Google
2946
3227
  end
2947
3228
  end
2948
3229
 
3230
+ class GooglePrivacyDlpV2OrConditions
3231
+ # @private
3232
+ class Representation < Google::Apis::Core::JsonRepresentation
3233
+ property :min_age, as: 'minAge'
3234
+ property :min_row_count, as: 'minRowCount'
3235
+ end
3236
+ end
3237
+
3238
+ class GooglePrivacyDlpV2OrgConfig
3239
+ # @private
3240
+ class Representation < Google::Apis::Core::JsonRepresentation
3241
+ property :location, as: 'location', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryStartingLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryStartingLocation::Representation
3242
+
3243
+ property :project_id, as: 'projectId'
3244
+ end
3245
+ end
3246
+
2949
3247
  class GooglePrivacyDlpV2OtherInfoTypeSummary
2950
3248
  # @private
2951
3249
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3727,6 +4025,15 @@ module Google
3727
4025
  end
3728
4026
  end
3729
4027
 
4028
+ class GooglePrivacyDlpV2UpdateDiscoveryConfigRequest
4029
+ # @private
4030
+ class Representation < Google::Apis::Core::JsonRepresentation
4031
+ property :discovery_config, as: 'discoveryConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig::Representation
4032
+
4033
+ property :update_mask, as: 'updateMask'
4034
+ end
4035
+ end
4036
+
3730
4037
  class GooglePrivacyDlpV2UpdateInspectTemplateRequest
3731
4038
  # @private
3732
4039
  class Representation < Google::Apis::Core::JsonRepresentation