google-apis-dlp_v2 0.23.0 → 0.26.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 +13 -0
- data/lib/google/apis/dlp_v2/classes.rb +47 -1
- data/lib/google/apis/dlp_v2/gem_version.rb +3 -3
- data/lib/google/apis/dlp_v2/representations.rb +17 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95f4bd963105c8b0a34d391cbea91be3af2a987df7d4c82d4323ca507c7d14fa
|
4
|
+
data.tar.gz: a1805d9f66be845394384b00e30fdbf88a07018db1c379d409547cf03f2d4add
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18ab35ddf275e5aa7113682a6c4146c96b8a8c0e8f4ee6c286b5bd22c66e54eae331572984c4797ae96bf667960fe028ffaa91be61016eece813cc19b29d54fa
|
7
|
+
data.tar.gz: 6c8e57c4db53bfe9b2548d0127ccbcf67244f66ab31e16f6a2f8de93cce420d3b6e7804cac78a2e24d83df6829aa8cacb503326cc884e5c4236387054a1405ad
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-dlp_v2
|
2
2
|
|
3
|
+
### v0.26.0 (2022-07-02)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.8.0
|
6
|
+
|
7
|
+
### v0.25.0 (2022-06-17)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220612
|
10
|
+
* Regenerated using generator version 0.6.0
|
11
|
+
|
12
|
+
### v0.24.0 (2022-06-03)
|
13
|
+
|
14
|
+
* Regenerated using generator version 0.5.0
|
15
|
+
|
3
16
|
### v0.23.0 (2022-05-12)
|
4
17
|
|
5
18
|
* Regenerated from discovery document revision 20220506
|
@@ -629,7 +629,14 @@ module Google
|
|
629
629
|
attr_accessor :masking_character
|
630
630
|
|
631
631
|
# Number of characters to mask. If not set, all matching chars will be masked.
|
632
|
-
# Skipped characters do not count towards this tally.
|
632
|
+
# Skipped characters do not count towards this tally. If `number_to_mask` is
|
633
|
+
# negative, this denotes inverse masking. Cloud DLP masks all but a number of
|
634
|
+
# characters. For example, suppose you have the following values: - `
|
635
|
+
# masking_character` is `*` - `number_to_mask` is `-4` - `reverse_order` is `
|
636
|
+
# false` - `CharsToIgnore` includes `-` - Input string is `1234-5678-9012-3456`
|
637
|
+
# The resulting de-identified string is `****-****-****-3456`. Cloud DLP masks
|
638
|
+
# all but the last four characters. If `reverse_order` is `true`, all but the
|
639
|
+
# first four characters are masked as `1234-****-****-****`.
|
633
640
|
# Corresponds to the JSON property `numberToMask`
|
634
641
|
# @return [Fixnum]
|
635
642
|
attr_accessor :number_to_mask
|
@@ -3190,10 +3197,48 @@ module Google
|
|
3190
3197
|
end
|
3191
3198
|
end
|
3192
3199
|
|
3200
|
+
# Classification of infoTypes to organize them according to geographic location,
|
3201
|
+
# industry, and data type.
|
3202
|
+
class GooglePrivacyDlpV2InfoTypeCategory
|
3203
|
+
include Google::Apis::Core::Hashable
|
3204
|
+
|
3205
|
+
# The group of relevant businesses where this infoType is commonly used
|
3206
|
+
# Corresponds to the JSON property `industryCategory`
|
3207
|
+
# @return [String]
|
3208
|
+
attr_accessor :industry_category
|
3209
|
+
|
3210
|
+
# The region or country that issued the ID or document represented by the
|
3211
|
+
# infoType.
|
3212
|
+
# Corresponds to the JSON property `locationCategory`
|
3213
|
+
# @return [String]
|
3214
|
+
attr_accessor :location_category
|
3215
|
+
|
3216
|
+
# The class of identifiers where this infoType belongs
|
3217
|
+
# Corresponds to the JSON property `typeCategory`
|
3218
|
+
# @return [String]
|
3219
|
+
attr_accessor :type_category
|
3220
|
+
|
3221
|
+
def initialize(**args)
|
3222
|
+
update!(**args)
|
3223
|
+
end
|
3224
|
+
|
3225
|
+
# Update properties of this object
|
3226
|
+
def update!(**args)
|
3227
|
+
@industry_category = args[:industry_category] if args.key?(:industry_category)
|
3228
|
+
@location_category = args[:location_category] if args.key?(:location_category)
|
3229
|
+
@type_category = args[:type_category] if args.key?(:type_category)
|
3230
|
+
end
|
3231
|
+
end
|
3232
|
+
|
3193
3233
|
# InfoType description.
|
3194
3234
|
class GooglePrivacyDlpV2InfoTypeDescription
|
3195
3235
|
include Google::Apis::Core::Hashable
|
3196
3236
|
|
3237
|
+
# The category of the infoType.
|
3238
|
+
# Corresponds to the JSON property `categories`
|
3239
|
+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeCategory>]
|
3240
|
+
attr_accessor :categories
|
3241
|
+
|
3197
3242
|
# Description of the infotype. Translated when language is provided in the
|
3198
3243
|
# request.
|
3199
3244
|
# Corresponds to the JSON property `description`
|
@@ -3221,6 +3266,7 @@ module Google
|
|
3221
3266
|
|
3222
3267
|
# Update properties of this object
|
3223
3268
|
def update!(**args)
|
3269
|
+
@categories = args[:categories] if args.key?(:categories)
|
3224
3270
|
@description = args[:description] if args.key?(:description)
|
3225
3271
|
@display_name = args[:display_name] if args.key?(:display_name)
|
3226
3272
|
@name = args[:name] if args.key?(:name)
|
@@ -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.26.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.8.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220612"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -532,6 +532,12 @@ module Google
|
|
532
532
|
include Google::Apis::Core::JsonObjectSupport
|
533
533
|
end
|
534
534
|
|
535
|
+
class GooglePrivacyDlpV2InfoTypeCategory
|
536
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
|
+
|
538
|
+
include Google::Apis::Core::JsonObjectSupport
|
539
|
+
end
|
540
|
+
|
535
541
|
class GooglePrivacyDlpV2InfoTypeDescription
|
536
542
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
543
|
|
@@ -2181,9 +2187,20 @@ module Google
|
|
2181
2187
|
end
|
2182
2188
|
end
|
2183
2189
|
|
2190
|
+
class GooglePrivacyDlpV2InfoTypeCategory
|
2191
|
+
# @private
|
2192
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2193
|
+
property :industry_category, as: 'industryCategory'
|
2194
|
+
property :location_category, as: 'locationCategory'
|
2195
|
+
property :type_category, as: 'typeCategory'
|
2196
|
+
end
|
2197
|
+
end
|
2198
|
+
|
2184
2199
|
class GooglePrivacyDlpV2InfoTypeDescription
|
2185
2200
|
# @private
|
2186
2201
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2202
|
+
collection :categories, as: 'categories', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeCategory, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeCategory::Representation
|
2203
|
+
|
2187
2204
|
property :description, as: 'description'
|
2188
2205
|
property :display_name, as: 'displayName'
|
2189
2206
|
property :name, as: 'name'
|
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.26.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-
|
11
|
+
date: 2022-07-04 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.
|
19
|
+
version: '0.7'
|
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.
|
29
|
+
version: '0.7'
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.26.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.
|
78
|
+
rubygems_version: 3.3.14
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Data Loss Prevention (DLP) API V2
|