google-apis-dlp_v2 0.39.0 → 0.41.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ba5f60722542a7ae4dd850d40e7077c9847804966a036961186ec892de5bf1b0
4
- data.tar.gz: 1f224ffe8a8bdbf43f9dbab81e010667ddf1d43e49378a4cea13a7352f1b3594
3
+ metadata.gz: '01349862dd5e5176e4a3785f5d2ab12c7b8b1540d620d4880c9bcda73e0db0fc'
4
+ data.tar.gz: abd31f40b10abf878be920cd62c355ef0f5a6465010e518cd21f7498aca59a6c
5
5
  SHA512:
6
- metadata.gz: 44e733e72e33ee59649a93a087f0679958c8dc44f6ef406e2dfc926260884fc3a642475de527cde01d870a09e41ebf7e1a70e5ba48811e07147df83f6f1d3275
7
- data.tar.gz: 10b0a43e036152125dcc3fc9a0981ba1fe8278c7ac3d65c11facdb76f9f00a6d06a7b732211c11be8b4ce2437dc032138ca9be630324dbad26904fbc8f1c5fe3
6
+ metadata.gz: '03892e056a39c382994b12abfb5c9047b1c62b5ab78118f38ce94c4164486fc35dea21e39fd048bb4dc78b873a2440e3e31433f66118500afeccaa96bfee58b0'
7
+ data.tar.gz: f8b3940d493e33384c32d83fbc5077fe7fee720c59397e370ceb1a441c75f89995eea231a95fc670699f294e5d3650291ee6b04934c28fb545bfb5b9667ccf26
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-dlp_v2
2
2
 
3
+ ### v0.41.0 (2023-03-26)
4
+
5
+ * Regenerated from discovery document revision 20230319
6
+
7
+ ### v0.40.0 (2023-02-26)
8
+
9
+ * Regenerated from discovery document revision 20230206
10
+ * Regenerated using generator version 0.12.0
11
+
3
12
  ### v0.39.0 (2022-12-03)
4
13
 
5
14
  * Regenerated from discovery document revision 20221126
@@ -115,6 +115,25 @@ module Google
115
115
  end
116
116
  end
117
117
 
118
+ # The results of an Action.
119
+ class GooglePrivacyDlpV2ActionDetails
120
+ include Google::Apis::Core::Hashable
121
+
122
+ # The results of a Deidentify action from an Inspect job.
123
+ # Corresponds to the JSON property `deidentifyDetails`
124
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyDataSourceDetails]
125
+ attr_accessor :deidentify_details
126
+
127
+ def initialize(**args)
128
+ update!(**args)
129
+ end
130
+
131
+ # Update properties of this object
132
+ def update!(**args)
133
+ @deidentify_details = args[:deidentify_details] if args.key?(:deidentify_details)
134
+ end
135
+ end
136
+
118
137
  # Request message for ActivateJobTrigger.
119
138
  class GooglePrivacyDlpV2ActivateJobTriggerRequest
120
139
  include Google::Apis::Core::Hashable
@@ -2126,6 +2145,62 @@ module Google
2126
2145
  end
2127
2146
  end
2128
2147
 
2148
+ # The results of a Deidentify action from an Inspect job.
2149
+ class GooglePrivacyDlpV2DeidentifyDataSourceDetails
2150
+ include Google::Apis::Core::Hashable
2151
+
2152
+ # Summary of what was modified during a transformation.
2153
+ # Corresponds to the JSON property `deidentifyStats`
2154
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyDataSourceStats]
2155
+ attr_accessor :deidentify_stats
2156
+
2157
+ # De-id options.
2158
+ # Corresponds to the JSON property `requestedOptions`
2159
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2RequestedDeidentifyOptions]
2160
+ attr_accessor :requested_options
2161
+
2162
+ def initialize(**args)
2163
+ update!(**args)
2164
+ end
2165
+
2166
+ # Update properties of this object
2167
+ def update!(**args)
2168
+ @deidentify_stats = args[:deidentify_stats] if args.key?(:deidentify_stats)
2169
+ @requested_options = args[:requested_options] if args.key?(:requested_options)
2170
+ end
2171
+ end
2172
+
2173
+ # Summary of what was modified during a transformation.
2174
+ class GooglePrivacyDlpV2DeidentifyDataSourceStats
2175
+ include Google::Apis::Core::Hashable
2176
+
2177
+ # Number of successfully applied transformations.
2178
+ # Corresponds to the JSON property `transformationCount`
2179
+ # @return [Fixnum]
2180
+ attr_accessor :transformation_count
2181
+
2182
+ # Number of errors encountered while trying to apply transformations.
2183
+ # Corresponds to the JSON property `transformationErrorCount`
2184
+ # @return [Fixnum]
2185
+ attr_accessor :transformation_error_count
2186
+
2187
+ # Total size in bytes that were transformed in some way.
2188
+ # Corresponds to the JSON property `transformedBytes`
2189
+ # @return [Fixnum]
2190
+ attr_accessor :transformed_bytes
2191
+
2192
+ def initialize(**args)
2193
+ update!(**args)
2194
+ end
2195
+
2196
+ # Update properties of this object
2197
+ def update!(**args)
2198
+ @transformation_count = args[:transformation_count] if args.key?(:transformation_count)
2199
+ @transformation_error_count = args[:transformation_error_count] if args.key?(:transformation_error_count)
2200
+ @transformed_bytes = args[:transformed_bytes] if args.key?(:transformed_bytes)
2201
+ end
2202
+ end
2203
+
2129
2204
  # DeidentifyTemplates contains instructions on how to de-identify content. See
2130
2205
  # https://cloud.google.com/dlp/docs/concepts-templates to learn more.
2131
2206
  class GooglePrivacyDlpV2DeidentifyTemplate
@@ -2391,6 +2466,11 @@ module Google
2391
2466
  class GooglePrivacyDlpV2DlpJob
2392
2467
  include Google::Apis::Core::Hashable
2393
2468
 
2469
+ # Events that should occur after the job has completed.
2470
+ # Corresponds to the JSON property `actionDetails`
2471
+ # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2ActionDetails>]
2472
+ attr_accessor :action_details
2473
+
2394
2474
  # Time when the job was created.
2395
2475
  # Corresponds to the JSON property `createTime`
2396
2476
  # @return [String]
@@ -2448,6 +2528,7 @@ module Google
2448
2528
 
2449
2529
  # Update properties of this object
2450
2530
  def update!(**args)
2531
+ @action_details = args[:action_details] if args.key?(:action_details)
2451
2532
  @create_time = args[:create_time] if args.key?(:create_time)
2452
2533
  @end_time = args[:end_time] if args.key?(:end_time)
2453
2534
  @errors = args[:errors] if args.key?(:errors)
@@ -6028,6 +6109,40 @@ module Google
6028
6109
  end
6029
6110
  end
6030
6111
 
6112
+ # De-id options.
6113
+ class GooglePrivacyDlpV2RequestedDeidentifyOptions
6114
+ include Google::Apis::Core::Hashable
6115
+
6116
+ # DeidentifyTemplates contains instructions on how to de-identify content. See
6117
+ # https://cloud.google.com/dlp/docs/concepts-templates to learn more.
6118
+ # Corresponds to the JSON property `snapshotDeidentifyTemplate`
6119
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate]
6120
+ attr_accessor :snapshot_deidentify_template
6121
+
6122
+ # DeidentifyTemplates contains instructions on how to de-identify content. See
6123
+ # https://cloud.google.com/dlp/docs/concepts-templates to learn more.
6124
+ # Corresponds to the JSON property `snapshotImageRedactTemplate`
6125
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate]
6126
+ attr_accessor :snapshot_image_redact_template
6127
+
6128
+ # DeidentifyTemplates contains instructions on how to de-identify content. See
6129
+ # https://cloud.google.com/dlp/docs/concepts-templates to learn more.
6130
+ # Corresponds to the JSON property `snapshotStructuredDeidentifyTemplate`
6131
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate]
6132
+ attr_accessor :snapshot_structured_deidentify_template
6133
+
6134
+ def initialize(**args)
6135
+ update!(**args)
6136
+ end
6137
+
6138
+ # Update properties of this object
6139
+ def update!(**args)
6140
+ @snapshot_deidentify_template = args[:snapshot_deidentify_template] if args.key?(:snapshot_deidentify_template)
6141
+ @snapshot_image_redact_template = args[:snapshot_image_redact_template] if args.key?(:snapshot_image_redact_template)
6142
+ @snapshot_structured_deidentify_template = args[:snapshot_structured_deidentify_template] if args.key?(:snapshot_structured_deidentify_template)
6143
+ end
6144
+ end
6145
+
6031
6146
  # Snapshot of the inspection configuration.
6032
6147
  class GooglePrivacyDlpV2RequestedOptions
6033
6148
  include Google::Apis::Core::Hashable
@@ -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.39.0"
19
+ GEM_VERSION = "0.41.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221126"
25
+ REVISION = "20230319"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,12 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class GooglePrivacyDlpV2ActionDetails
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class GooglePrivacyDlpV2ActivateJobTriggerRequest
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
@@ -352,6 +358,18 @@ module Google
352
358
  include Google::Apis::Core::JsonObjectSupport
353
359
  end
354
360
 
361
+ class GooglePrivacyDlpV2DeidentifyDataSourceDetails
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class GooglePrivacyDlpV2DeidentifyDataSourceStats
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
355
373
  class GooglePrivacyDlpV2DeidentifyTemplate
356
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
375
 
@@ -1066,6 +1084,12 @@ module Google
1066
1084
  include Google::Apis::Core::JsonObjectSupport
1067
1085
  end
1068
1086
 
1087
+ class GooglePrivacyDlpV2RequestedDeidentifyOptions
1088
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1089
+
1090
+ include Google::Apis::Core::JsonObjectSupport
1091
+ end
1092
+
1069
1093
  class GooglePrivacyDlpV2RequestedOptions
1070
1094
  class Representation < Google::Apis::Core::JsonRepresentation; end
1071
1095
 
@@ -1398,6 +1422,14 @@ module Google
1398
1422
  end
1399
1423
  end
1400
1424
 
1425
+ class GooglePrivacyDlpV2ActionDetails
1426
+ # @private
1427
+ class Representation < Google::Apis::Core::JsonRepresentation
1428
+ property :deidentify_details, as: 'deidentifyDetails', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyDataSourceDetails, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyDataSourceDetails::Representation
1429
+
1430
+ end
1431
+ end
1432
+
1401
1433
  class GooglePrivacyDlpV2ActivateJobTriggerRequest
1402
1434
  # @private
1403
1435
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1970,6 +2002,25 @@ module Google
1970
2002
  end
1971
2003
  end
1972
2004
 
2005
+ class GooglePrivacyDlpV2DeidentifyDataSourceDetails
2006
+ # @private
2007
+ class Representation < Google::Apis::Core::JsonRepresentation
2008
+ property :deidentify_stats, as: 'deidentifyStats', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyDataSourceStats, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyDataSourceStats::Representation
2009
+
2010
+ property :requested_options, as: 'requestedOptions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2RequestedDeidentifyOptions, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2RequestedDeidentifyOptions::Representation
2011
+
2012
+ end
2013
+ end
2014
+
2015
+ class GooglePrivacyDlpV2DeidentifyDataSourceStats
2016
+ # @private
2017
+ class Representation < Google::Apis::Core::JsonRepresentation
2018
+ property :transformation_count, :numeric_string => true, as: 'transformationCount'
2019
+ property :transformation_error_count, :numeric_string => true, as: 'transformationErrorCount'
2020
+ property :transformed_bytes, :numeric_string => true, as: 'transformedBytes'
2021
+ end
2022
+ end
2023
+
1973
2024
  class GooglePrivacyDlpV2DeidentifyTemplate
1974
2025
  # @private
1975
2026
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2044,6 +2095,8 @@ module Google
2044
2095
  class GooglePrivacyDlpV2DlpJob
2045
2096
  # @private
2046
2097
  class Representation < Google::Apis::Core::JsonRepresentation
2098
+ collection :action_details, as: 'actionDetails', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ActionDetails, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ActionDetails::Representation
2099
+
2047
2100
  property :create_time, as: 'createTime'
2048
2101
  property :end_time, as: 'endTime'
2049
2102
  collection :errors, as: 'errors', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Error, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Error::Representation
@@ -3162,6 +3215,18 @@ module Google
3162
3215
  end
3163
3216
  end
3164
3217
 
3218
+ class GooglePrivacyDlpV2RequestedDeidentifyOptions
3219
+ # @private
3220
+ class Representation < Google::Apis::Core::JsonRepresentation
3221
+ property :snapshot_deidentify_template, as: 'snapshotDeidentifyTemplate', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate::Representation
3222
+
3223
+ property :snapshot_image_redact_template, as: 'snapshotImageRedactTemplate', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate::Representation
3224
+
3225
+ property :snapshot_structured_deidentify_template, as: 'snapshotStructuredDeidentifyTemplate', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate::Representation
3226
+
3227
+ end
3228
+ end
3229
+
3165
3230
  class GooglePrivacyDlpV2RequestedOptions
3166
3231
  # @private
3167
3232
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dlp_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.39.0
4
+ version: 0.41.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-12 00:00:00.000000000 Z
11
+ date: 2023-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.1
19
+ version: 0.11.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.1
29
+ version: 0.11.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dlp_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.39.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.41.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dlp_v2
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Data Loss Prevention (DLP) API V2