google-apis-dlp_v2 0.24.0 → 0.27.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: acf5c8e9eb1ec4276d3c6205a5643cfdfe6045990220a82d98f14027144d91f7
4
+ data.tar.gz: 9e9c51eeed52e19b8acec05d8ce27e2230323bfb4347511b3f8b43c3ed530df5
5
5
  SHA512:
6
- metadata.gz: 6af5a1fadd5b5e8a316677aa62176262619b8184ca23bc12506446edd0046aaf4c211d3b13fcd54c13d97e466276240ac318adf07db6f65349f1c57d1ce13fbe
7
- data.tar.gz: a0e3cea9d08d037a4a19d32a3cfd30fd35415539759ccb4c4775e7030f690ee9abf1d7114ee12cfc6b76a31ff15d8e7f35ea936df5b6ea0252948b6364c47227
6
+ metadata.gz: 312991c595676b1fbff12c88a168d4954455028f8459c09508aa2be79c3c44c7413de787658fc90c07f1197b1ceee9691b110c08da5429417316e66ee6b86423
7
+ data.tar.gz: 9fb03650c5394d9c6a4a3308ad796d846f366a218d4328d6fa3c9e2447f6f2a125bcbb527202872d25a345ece88534cbc9d564ba63fe9a3aa49718c76b486153
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-dlp_v2
2
2
 
3
+ ### v0.27.0 (2022-07-06)
4
+
5
+ * Regenerated from discovery document revision 20220703
6
+ * Regenerated using generator version 0.9.0
7
+
8
+ ### v0.26.0 (2022-07-02)
9
+
10
+ * Regenerated using generator version 0.8.0
11
+
12
+ ### v0.25.0 (2022-06-17)
13
+
14
+ * Regenerated from discovery document revision 20220612
15
+ * Regenerated using generator version 0.6.0
16
+
3
17
  ### v0.24.0 (2022-06-03)
4
18
 
5
19
  * 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)
@@ -5005,7 +5051,11 @@ module Google
5005
5051
  # @return [Fixnum]
5006
5052
  attr_accessor :window_after
5007
5053
 
5008
- # Number of characters before the finding to consider.
5054
+ # Number of characters before the finding to consider. For tabular data, if you
5055
+ # want to modify the likelihood of an entire column of findngs, set this to 1.
5056
+ # For more information, see [Hotword example: Set the match likelihood of a
5057
+ # table column] (https://cloud.google.com/dlp/docs/creating-custom-infotypes-
5058
+ # likelihood#match-column-values).
5009
5059
  # Corresponds to the JSON property `windowBefore`
5010
5060
  # @return [Fixnum]
5011
5061
  attr_accessor :window_before
@@ -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.27.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.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220506"
25
+ REVISION = "20220703"
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.27.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-07-11 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.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.5'
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.24.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.27.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: []