google-apis-dlp_v2 0.40.0 → 0.42.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 +127 -6
- data/lib/google/apis/dlp_v2/gem_version.rb +2 -2
- data/lib/google/apis/dlp_v2/representations.rb +65 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 781731e4a910190f16951dca05832dcb9e4e704e3aa685a6946293a4f48ead52
|
4
|
+
data.tar.gz: 64646e3a45c22a933765077f9500ffbaa3a10a0fc0b93016d58122272a23a4b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8867e4bf770e8251fe48bc550731449be54bbcb7fcb6a60b09f7960b818189cbd36a9c251ed0c7cb886cbe6f9a2ebbc4228c91b40a1c25dc0b75c3d6bc25f5d1
|
7
|
+
data.tar.gz: 41df2c042871d4dd89b2df7c7f11f7dee3c462efaf0c082be02cef5729aac4eee73727b6b70ec76b57174bf657f0e81b164c83d553f3d994144028be722a25f8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-dlp_v2
|
2
2
|
|
3
|
+
### v0.42.0 (2023-04-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230402
|
6
|
+
|
7
|
+
### v0.41.0 (2023-03-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230319
|
10
|
+
|
3
11
|
### v0.40.0 (2023-02-26)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230206
|
@@ -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)
|
@@ -2922,16 +3003,22 @@ module Google
|
|
2922
3003
|
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeLimit>]
|
2923
3004
|
attr_accessor :max_findings_per_info_type
|
2924
3005
|
|
2925
|
-
# Max number of findings that
|
2926
|
-
# within
|
2927
|
-
#
|
3006
|
+
# Max number of findings that are returned for each item scanned. When set
|
3007
|
+
# within an InspectContentRequest, this field is ignored. This value isn't a
|
3008
|
+
# hard limit. If the number of findings for an item reaches this limit, the
|
3009
|
+
# inspection of that item ends gradually, not abruptly. Therefore, the actual
|
3010
|
+
# number of findings that Cloud DLP returns for the item can be multiple times
|
3011
|
+
# higher than this value.
|
2928
3012
|
# Corresponds to the JSON property `maxFindingsPerItem`
|
2929
3013
|
# @return [Fixnum]
|
2930
3014
|
attr_accessor :max_findings_per_item
|
2931
3015
|
|
2932
|
-
# Max number of findings that
|
2933
|
-
# InspectContentRequest
|
2934
|
-
#
|
3016
|
+
# Max number of findings that are returned per request or job. If you set this
|
3017
|
+
# field in an InspectContentRequest, the resulting maximum value is the value
|
3018
|
+
# that you set or 3,000, whichever is lower. This value isn't a hard limit. If
|
3019
|
+
# an inspection reaches this limit, the inspection ends gradually, not abruptly.
|
3020
|
+
# Therefore, the actual number of findings that Cloud DLP returns can be
|
3021
|
+
# multiple times higher than this value.
|
2935
3022
|
# Corresponds to the JSON property `maxFindingsPerRequest`
|
2936
3023
|
# @return [Fixnum]
|
2937
3024
|
attr_accessor :max_findings_per_request
|
@@ -6028,6 +6115,40 @@ module Google
|
|
6028
6115
|
end
|
6029
6116
|
end
|
6030
6117
|
|
6118
|
+
# De-id options.
|
6119
|
+
class GooglePrivacyDlpV2RequestedDeidentifyOptions
|
6120
|
+
include Google::Apis::Core::Hashable
|
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 `snapshotDeidentifyTemplate`
|
6125
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate]
|
6126
|
+
attr_accessor :snapshot_deidentify_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 `snapshotImageRedactTemplate`
|
6131
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate]
|
6132
|
+
attr_accessor :snapshot_image_redact_template
|
6133
|
+
|
6134
|
+
# DeidentifyTemplates contains instructions on how to de-identify content. See
|
6135
|
+
# https://cloud.google.com/dlp/docs/concepts-templates to learn more.
|
6136
|
+
# Corresponds to the JSON property `snapshotStructuredDeidentifyTemplate`
|
6137
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate]
|
6138
|
+
attr_accessor :snapshot_structured_deidentify_template
|
6139
|
+
|
6140
|
+
def initialize(**args)
|
6141
|
+
update!(**args)
|
6142
|
+
end
|
6143
|
+
|
6144
|
+
# Update properties of this object
|
6145
|
+
def update!(**args)
|
6146
|
+
@snapshot_deidentify_template = args[:snapshot_deidentify_template] if args.key?(:snapshot_deidentify_template)
|
6147
|
+
@snapshot_image_redact_template = args[:snapshot_image_redact_template] if args.key?(:snapshot_image_redact_template)
|
6148
|
+
@snapshot_structured_deidentify_template = args[:snapshot_structured_deidentify_template] if args.key?(:snapshot_structured_deidentify_template)
|
6149
|
+
end
|
6150
|
+
end
|
6151
|
+
|
6031
6152
|
# Snapshot of the inspection configuration.
|
6032
6153
|
class GooglePrivacyDlpV2RequestedOptions
|
6033
6154
|
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.
|
19
|
+
GEM_VERSION = "0.42.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 = "
|
25
|
+
REVISION = "20230402"
|
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.
|
4
|
+
version: 0.42.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: 2023-
|
11
|
+
date: 2023-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.42.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: []
|