google-apis-dlp_v2 0.13.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/dlp_v2/classes.rb +25 -0
- data/lib/google/apis/dlp_v2/gem_version.rb +2 -2
- data/lib/google/apis/dlp_v2/representations.rb +16 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b440e13296a33d8bb7efb6ab7998e916a64bb2b4506d266658ad569e7bf4aab6
|
4
|
+
data.tar.gz: 2ef8c98b76aed1878f9ebd37ce71e660e7ef925c2a10e6842551ca2556aed7ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89beb9f98f69409e1fa9d2dfbc58ec5390ad5c6638218cb94f3ea76f54516c30381edc900cd9c89fb66e1933036d4b2539181279b7b900009c1d17be3cf4d960
|
7
|
+
data.tar.gz: 825522def4c4f42a8894d82de6dc2d357a867aa0d71ab49c4a6399367d378219f1bb0c5aa79e73efe7403bdc97df65f52aa1373a005f873c1d2984ef7e3b2dce
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
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 = "
|
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.
|
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-
|
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.
|
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: []
|