google-apis-dlp_v2 0.13.0 → 0.14.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e110e11a9190dd854e298d8ecf5ec2d979aa3276108e3447ae5566c1191cb45
4
- data.tar.gz: bed3095f5d867f216209d2390b19985dc60da2ca410959bb8631ed33dcea709e
3
+ metadata.gz: b440e13296a33d8bb7efb6ab7998e916a64bb2b4506d266658ad569e7bf4aab6
4
+ data.tar.gz: 2ef8c98b76aed1878f9ebd37ce71e660e7ef925c2a10e6842551ca2556aed7ed
5
5
  SHA512:
6
- metadata.gz: 5d96d830f94ee30bdc83228c133b4742b96ba8c155459d61502c6f59f337cb2a12ab732dbf5dc5757a1960eb93c369bd5763d17e7c20b759c3b794edb3f40174
7
- data.tar.gz: 925a11e422f9502ade1c45488080aa8df02a5deb2b0581d92daf19c210a0b13d05b8859111771d9e45f0235a0eb908b9686fcbfdcd2079d635ed98affccc8a95
6
+ metadata.gz: 89beb9f98f69409e1fa9d2dfbc58ec5390ad5c6638218cb94f3ea76f54516c30381edc900cd9c89fb66e1933036d4b2539181279b7b900009c1d17be3cf4d960
7
+ data.tar.gz: 825522def4c4f42a8894d82de6dc2d357a867aa0d71ab49c4a6399367d378219f1bb0c5aa79e73efe7403bdc97df65f52aa1373a005f873c1d2984ef7e3b2dce
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dlp_v2
2
2
 
3
+ ### v0.14.0 (2021-11-16)
4
+
5
+ * Regenerated from discovery document revision 20211112
6
+
3
7
  ### v0.13.0 (2021-10-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20211022
@@ -4589,6 +4589,11 @@ module Google
4589
4589
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ReplaceValueConfig]
4590
4590
  attr_accessor :replace_config
4591
4591
 
4592
+ # Replace each input value with a value randomly selected from the dictionary.
4593
+ # Corresponds to the JSON property `replaceDictionaryConfig`
4594
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ReplaceDictionaryConfig]
4595
+ attr_accessor :replace_dictionary_config
4596
+
4592
4597
  # Replace each matching finding with the name of the info_type.
4593
4598
  # Corresponds to the JSON property `replaceWithInfoTypeConfig`
4594
4599
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ReplaceWithInfoTypeConfig]
@@ -4615,6 +4620,7 @@ module Google
4615
4620
  @fixed_size_bucketing_config = args[:fixed_size_bucketing_config] if args.key?(:fixed_size_bucketing_config)
4616
4621
  @redact_config = args[:redact_config] if args.key?(:redact_config)
4617
4622
  @replace_config = args[:replace_config] if args.key?(:replace_config)
4623
+ @replace_dictionary_config = args[:replace_dictionary_config] if args.key?(:replace_dictionary_config)
4618
4624
  @replace_with_info_type_config = args[:replace_with_info_type_config] if args.key?(:replace_with_info_type_config)
4619
4625
  @time_part_config = args[:time_part_config] if args.key?(:time_part_config)
4620
4626
  end
@@ -5261,6 +5267,25 @@ module Google
5261
5267
  end
5262
5268
  end
5263
5269
 
5270
+ # Replace each input value with a value randomly selected from the dictionary.
5271
+ class GooglePrivacyDlpV2ReplaceDictionaryConfig
5272
+ include Google::Apis::Core::Hashable
5273
+
5274
+ # Message defining a list of words or phrases to search for in the data.
5275
+ # Corresponds to the JSON property `wordList`
5276
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2WordList]
5277
+ attr_accessor :word_list
5278
+
5279
+ def initialize(**args)
5280
+ update!(**args)
5281
+ end
5282
+
5283
+ # Update properties of this object
5284
+ def update!(**args)
5285
+ @word_list = args[:word_list] if args.key?(:word_list)
5286
+ end
5287
+ end
5288
+
5264
5289
  # Replace each input value with a given `Value`.
5265
5290
  class GooglePrivacyDlpV2ReplaceValueConfig
5266
5291
  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.13.0"
19
+ GEM_VERSION = "0.14.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211022"
25
+ REVISION = "20211112"
26
26
  end
27
27
  end
28
28
  end
@@ -916,6 +916,12 @@ module Google
916
916
  include Google::Apis::Core::JsonObjectSupport
917
917
  end
918
918
 
919
+ class GooglePrivacyDlpV2ReplaceDictionaryConfig
920
+ class Representation < Google::Apis::Core::JsonRepresentation; end
921
+
922
+ include Google::Apis::Core::JsonObjectSupport
923
+ end
924
+
919
925
  class GooglePrivacyDlpV2ReplaceValueConfig
920
926
  class Representation < Google::Apis::Core::JsonRepresentation; end
921
927
 
@@ -2507,6 +2513,8 @@ module Google
2507
2513
 
2508
2514
  property :replace_config, as: 'replaceConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ReplaceValueConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ReplaceValueConfig::Representation
2509
2515
 
2516
+ property :replace_dictionary_config, as: 'replaceDictionaryConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ReplaceDictionaryConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ReplaceDictionaryConfig::Representation
2517
+
2510
2518
  property :replace_with_info_type_config, as: 'replaceWithInfoTypeConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ReplaceWithInfoTypeConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ReplaceWithInfoTypeConfig::Representation
2511
2519
 
2512
2520
  property :time_part_config, as: 'timePartConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2TimePartConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2TimePartConfig::Representation
@@ -2724,6 +2732,14 @@ module Google
2724
2732
  end
2725
2733
  end
2726
2734
 
2735
+ class GooglePrivacyDlpV2ReplaceDictionaryConfig
2736
+ # @private
2737
+ class Representation < Google::Apis::Core::JsonRepresentation
2738
+ property :word_list, as: 'wordList', class: Google::Apis::DlpV2::GooglePrivacyDlpV2WordList, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2WordList::Representation
2739
+
2740
+ end
2741
+ end
2742
+
2727
2743
  class GooglePrivacyDlpV2ReplaceValueConfig
2728
2744
  # @private
2729
2745
  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.13.0
4
+ version: 0.14.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: 2021-10-27 00:00:00.000000000 Z
11
+ date: 2021-12-06 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.13.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.14.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: []