google-apis-dlp_v2 0.24.0 → 0.25.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: 95a9ef11800f4f1c7ab54046b806d77f39629262393475e7567ec5cdd4999e22
4
- data.tar.gz: 9b18b1324a4c5de630e42e513dae90b268f9c6e80262dd7ecebd5ec60fdde4fb
3
+ metadata.gz: 852df0faedf10ccd72f2e1292c4727b25dc6d5c3813e89e65e7455084a3df4fb
4
+ data.tar.gz: 8a27a5e99792b1bf86ab7fad0367b7715ff0d878280ab3d6b4f52ac9963b9d8b
5
5
  SHA512:
6
- metadata.gz: 6af5a1fadd5b5e8a316677aa62176262619b8184ca23bc12506446edd0046aaf4c211d3b13fcd54c13d97e466276240ac318adf07db6f65349f1c57d1ce13fbe
7
- data.tar.gz: a0e3cea9d08d037a4a19d32a3cfd30fd35415539759ccb4c4775e7030f690ee9abf1d7114ee12cfc6b76a31ff15d8e7f35ea936df5b6ea0252948b6364c47227
6
+ metadata.gz: b6cccf094ee0c696477556c07246208f4daaf5011a916e8e46223beebd7ba70ee59ad39e59e3cacd9a6710c7bdec951963ba855f56c4a3f50b71b02aed21bebb
7
+ data.tar.gz: 04554a3583121e7f093ff17a4ebb32389077a76e6dead27ef1520074acdeb324acacd478a6c4872dfdb82f6488cfb7d8d737081c76bd17c003e19813b640edef
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-dlp_v2
2
2
 
3
+ ### v0.25.0 (2022-06-17)
4
+
5
+ * Regenerated from discovery document revision 20220612
6
+ * Regenerated using generator version 0.6.0
7
+
3
8
  ### v0.24.0 (2022-06-03)
4
9
 
5
10
  * Regenerated using generator version 0.5.0
@@ -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.24.0"
19
+ GEM_VERSION = "0.25.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.5.0"
22
+ GENERATOR_VERSION = "0.6.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220506"
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.24.0
4
+ version: 0.25.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-06-13 00:00:00.000000000 Z
11
+ date: 2022-06-20 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.5'
19
+ version: '0.6'
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.5'
29
+ version: '0.6'
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.24.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.25.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: []