google-apis-dlp_v2 0.22.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: 7a2cda6185edc27ec3058865c0218c10502aa424ef013218a99654baeab98cc9
4
- data.tar.gz: ec40e92757e5ea73f2fec650079b2345c85b1cf15db06888ea72684ff0f1ae66
3
+ metadata.gz: 852df0faedf10ccd72f2e1292c4727b25dc6d5c3813e89e65e7455084a3df4fb
4
+ data.tar.gz: 8a27a5e99792b1bf86ab7fad0367b7715ff0d878280ab3d6b4f52ac9963b9d8b
5
5
  SHA512:
6
- metadata.gz: 7982f2998ec6be91902c527e203b77644de1b1886d0d6cf0815e23a98326a9d3bc6c544c017ae33624702d2068555ff512cb31834e46cf98e708cc9d1623c23b
7
- data.tar.gz: 44576fc54a29a3ecdc57150a38d92f16fc242c1d7ca00e97f951eb3b9b5d00cedcac63362675b04c531b33a02b25e061960f15d53e7e968ae7096c53ebe8668a
6
+ metadata.gz: b6cccf094ee0c696477556c07246208f4daaf5011a916e8e46223beebd7ba70ee59ad39e59e3cacd9a6710c7bdec951963ba855f56c4a3f50b71b02aed21bebb
7
+ data.tar.gz: 04554a3583121e7f093ff17a4ebb32389077a76e6dead27ef1520074acdeb324acacd478a6c4872dfdb82f6488cfb7d8d737081c76bd17c003e19813b640edef
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
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
+
8
+ ### v0.24.0 (2022-06-03)
9
+
10
+ * Regenerated using generator version 0.5.0
11
+
12
+ ### v0.23.0 (2022-05-12)
13
+
14
+ * Regenerated from discovery document revision 20220506
15
+
3
16
  ### v0.22.0 (2022-04-06)
4
17
 
5
18
  * Regenerated from discovery document revision 20220402
@@ -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)
@@ -3283,6 +3329,12 @@ module Google
3283
3329
  class GooglePrivacyDlpV2InfoTypeSummary
3284
3330
  include Google::Apis::Core::Hashable
3285
3331
 
3332
+ # Approximate percentage of non-null rows that contained data detected by this
3333
+ # infotype.
3334
+ # Corresponds to the JSON property `estimatedPrevalence`
3335
+ # @return [Fixnum]
3336
+ attr_accessor :estimated_prevalence
3337
+
3286
3338
  # Type of information detected by the API.
3287
3339
  # Corresponds to the JSON property `infoType`
3288
3340
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType]
@@ -3294,6 +3346,7 @@ module Google
3294
3346
 
3295
3347
  # Update properties of this object
3296
3348
  def update!(**args)
3349
+ @estimated_prevalence = args[:estimated_prevalence] if args.key?(:estimated_prevalence)
3297
3350
  @info_type = args[:info_type] if args.key?(:info_type)
3298
3351
  end
3299
3352
  end
@@ -4655,6 +4708,12 @@ module Google
4655
4708
  class GooglePrivacyDlpV2OtherInfoTypeSummary
4656
4709
  include Google::Apis::Core::Hashable
4657
4710
 
4711
+ # Approximate percentage of non-null rows that contained data detected by this
4712
+ # infotype.
4713
+ # Corresponds to the JSON property `estimatedPrevalence`
4714
+ # @return [Fixnum]
4715
+ attr_accessor :estimated_prevalence
4716
+
4658
4717
  # Type of information detected by the API.
4659
4718
  # Corresponds to the JSON property `infoType`
4660
4719
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType]
@@ -4666,6 +4725,7 @@ module Google
4666
4725
 
4667
4726
  # Update properties of this object
4668
4727
  def update!(**args)
4728
+ @estimated_prevalence = args[:estimated_prevalence] if args.key?(:estimated_prevalence)
4669
4729
  @info_type = args[:info_type] if args.key?(:info_type)
4670
4730
  end
4671
4731
  end
@@ -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.22.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.4.1"
22
+ GENERATOR_VERSION = "0.6.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220402"
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'
@@ -2212,6 +2229,7 @@ module Google
2212
2229
  class GooglePrivacyDlpV2InfoTypeSummary
2213
2230
  # @private
2214
2231
  class Representation < Google::Apis::Core::JsonRepresentation
2232
+ property :estimated_prevalence, as: 'estimatedPrevalence'
2215
2233
  property :info_type, as: 'infoType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation
2216
2234
 
2217
2235
  end
@@ -2647,6 +2665,7 @@ module Google
2647
2665
  class GooglePrivacyDlpV2OtherInfoTypeSummary
2648
2666
  # @private
2649
2667
  class Representation < Google::Apis::Core::JsonRepresentation
2668
+ property :estimated_prevalence, as: 'estimatedPrevalence'
2650
2669
  property :info_type, as: 'infoType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation
2651
2670
 
2652
2671
  end
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.22.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-04-11 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.4'
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.4'
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.22.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: []
@@ -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.5
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