google-apis-dlp_v2 0.13.0 → 0.17.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 +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/dlp_v2/classes.rb +40 -8
- data/lib/google/apis/dlp_v2/gem_version.rb +3 -3
- data/lib/google/apis/dlp_v2/representations.rb +18 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abc524f2777d669d588a79e24b72f38467b628b7dac86973992f0e4577c457b6
|
4
|
+
data.tar.gz: e6ffd4ee15cba4852485ed90d29359e970d054265089bc65389acfb6917ae0fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9d700cdadd461335f40b72ec2f0b985e1e78e898c0a65e0a622ca994dd082333cdf5016c75041a7af78e721dcd504926a5bab1152ca3c5f0e1597a6191233be
|
7
|
+
data.tar.gz: a5dbb2b4fcc031bfaba36a9e675ecd0c73951e9e8174fa05307e7e9132223cf932a3e4a5d1ab0df9bbd75b05ff51e75fc7455e394bd86c2fa1fc8da31a1fe1fd
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-dlp_v2
|
2
2
|
|
3
|
+
### v0.17.0 (2022-01-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220108
|
6
|
+
* Regenerated using generator version 0.4.1
|
7
|
+
|
8
|
+
### v0.16.0 (2021-12-14)
|
9
|
+
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.15.0 (2021-12-08)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211204
|
15
|
+
|
16
|
+
### v0.14.0 (2021-11-16)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211112
|
19
|
+
|
3
20
|
### v0.13.0 (2021-10-26)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20211022
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/dlp_v2"
|
|
51
51
|
client = Google::Apis::DlpV2::DLPService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -293,6 +293,11 @@ module Google
|
|
293
293
|
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId>]
|
294
294
|
attr_accessor :identifying_fields
|
295
295
|
|
296
|
+
# Limit scanning only to these fields.
|
297
|
+
# Corresponds to the JSON property `includedFields`
|
298
|
+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId>]
|
299
|
+
attr_accessor :included_fields
|
300
|
+
|
296
301
|
# Max number of rows to scan. If the table has more rows than this value, the
|
297
302
|
# rest of the rows are omitted. If not set, or if set to 0, all rows will be
|
298
303
|
# scanned. Only one of rows_limit and rows_limit_percent can be specified.
|
@@ -330,6 +335,7 @@ module Google
|
|
330
335
|
def update!(**args)
|
331
336
|
@excluded_fields = args[:excluded_fields] if args.key?(:excluded_fields)
|
332
337
|
@identifying_fields = args[:identifying_fields] if args.key?(:identifying_fields)
|
338
|
+
@included_fields = args[:included_fields] if args.key?(:included_fields)
|
333
339
|
@rows_limit = args[:rows_limit] if args.key?(:rows_limit)
|
334
340
|
@rows_limit_percent = args[:rows_limit_percent] if args.key?(:rows_limit_percent)
|
335
341
|
@sample_method = args[:sample_method] if args.key?(:sample_method)
|
@@ -2531,8 +2537,8 @@ module Google
|
|
2531
2537
|
end
|
2532
2538
|
end
|
2533
2539
|
|
2534
|
-
# Configuration to control the number of findings returned
|
2535
|
-
# identification
|
2540
|
+
# Configuration to control the number of findings returned for inspection. This
|
2541
|
+
# is not used for de-identification or data profiling.
|
2536
2542
|
class GooglePrivacyDlpV2FindingLimits
|
2537
2543
|
include Google::Apis::Core::Hashable
|
2538
2544
|
|
@@ -3105,8 +3111,7 @@ module Google
|
|
3105
3111
|
class GooglePrivacyDlpV2InspectConfig
|
3106
3112
|
include Google::Apis::Core::Hashable
|
3107
3113
|
|
3108
|
-
#
|
3109
|
-
# other content will be included.
|
3114
|
+
# Deprecated and unused.
|
3110
3115
|
# Corresponds to the JSON property `contentOptions`
|
3111
3116
|
# @return [Array<String>]
|
3112
3117
|
attr_accessor :content_options
|
@@ -3117,14 +3122,16 @@ module Google
|
|
3117
3122
|
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2CustomInfoType>]
|
3118
3123
|
attr_accessor :custom_info_types
|
3119
3124
|
|
3120
|
-
# When true, excludes type information of the findings.
|
3125
|
+
# When true, excludes type information of the findings. This is not used for
|
3126
|
+
# data profiling.
|
3121
3127
|
# Corresponds to the JSON property `excludeInfoTypes`
|
3122
3128
|
# @return [Boolean]
|
3123
3129
|
attr_accessor :exclude_info_types
|
3124
3130
|
alias_method :exclude_info_types?, :exclude_info_types
|
3125
3131
|
|
3126
3132
|
# When true, a contextual quote from the data that triggered a finding is
|
3127
|
-
# included in the response; see Finding.quote.
|
3133
|
+
# included in the response; see Finding.quote. This is not used for data
|
3134
|
+
# profiling.
|
3128
3135
|
# Corresponds to the JSON property `includeQuote`
|
3129
3136
|
# @return [Boolean]
|
3130
3137
|
attr_accessor :include_quote
|
@@ -3142,8 +3149,8 @@ module Google
|
|
3142
3149
|
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>]
|
3143
3150
|
attr_accessor :info_types
|
3144
3151
|
|
3145
|
-
# Configuration to control the number of findings returned
|
3146
|
-
# identification
|
3152
|
+
# Configuration to control the number of findings returned for inspection. This
|
3153
|
+
# is not used for de-identification or data profiling.
|
3147
3154
|
# Corresponds to the JSON property `limits`
|
3148
3155
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FindingLimits]
|
3149
3156
|
attr_accessor :limits
|
@@ -4589,6 +4596,11 @@ module Google
|
|
4589
4596
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ReplaceValueConfig]
|
4590
4597
|
attr_accessor :replace_config
|
4591
4598
|
|
4599
|
+
# Replace each input value with a value randomly selected from the dictionary.
|
4600
|
+
# Corresponds to the JSON property `replaceDictionaryConfig`
|
4601
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ReplaceDictionaryConfig]
|
4602
|
+
attr_accessor :replace_dictionary_config
|
4603
|
+
|
4592
4604
|
# Replace each matching finding with the name of the info_type.
|
4593
4605
|
# Corresponds to the JSON property `replaceWithInfoTypeConfig`
|
4594
4606
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ReplaceWithInfoTypeConfig]
|
@@ -4615,6 +4627,7 @@ module Google
|
|
4615
4627
|
@fixed_size_bucketing_config = args[:fixed_size_bucketing_config] if args.key?(:fixed_size_bucketing_config)
|
4616
4628
|
@redact_config = args[:redact_config] if args.key?(:redact_config)
|
4617
4629
|
@replace_config = args[:replace_config] if args.key?(:replace_config)
|
4630
|
+
@replace_dictionary_config = args[:replace_dictionary_config] if args.key?(:replace_dictionary_config)
|
4618
4631
|
@replace_with_info_type_config = args[:replace_with_info_type_config] if args.key?(:replace_with_info_type_config)
|
4619
4632
|
@time_part_config = args[:time_part_config] if args.key?(:time_part_config)
|
4620
4633
|
end
|
@@ -5261,6 +5274,25 @@ module Google
|
|
5261
5274
|
end
|
5262
5275
|
end
|
5263
5276
|
|
5277
|
+
# Replace each input value with a value randomly selected from the dictionary.
|
5278
|
+
class GooglePrivacyDlpV2ReplaceDictionaryConfig
|
5279
|
+
include Google::Apis::Core::Hashable
|
5280
|
+
|
5281
|
+
# Message defining a list of words or phrases to search for in the data.
|
5282
|
+
# Corresponds to the JSON property `wordList`
|
5283
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2WordList]
|
5284
|
+
attr_accessor :word_list
|
5285
|
+
|
5286
|
+
def initialize(**args)
|
5287
|
+
update!(**args)
|
5288
|
+
end
|
5289
|
+
|
5290
|
+
# Update properties of this object
|
5291
|
+
def update!(**args)
|
5292
|
+
@word_list = args[:word_list] if args.key?(:word_list)
|
5293
|
+
end
|
5294
|
+
end
|
5295
|
+
|
5264
5296
|
# Replace each input value with a given `Value`.
|
5265
5297
|
class GooglePrivacyDlpV2ReplaceValueConfig
|
5266
5298
|
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.17.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220108"
|
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
|
|
@@ -1266,6 +1272,8 @@ module Google
|
|
1266
1272
|
|
1267
1273
|
collection :identifying_fields, as: 'identifyingFields', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId::Representation
|
1268
1274
|
|
1275
|
+
collection :included_fields, as: 'includedFields', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId::Representation
|
1276
|
+
|
1269
1277
|
property :rows_limit, :numeric_string => true, as: 'rowsLimit'
|
1270
1278
|
property :rows_limit_percent, as: 'rowsLimitPercent'
|
1271
1279
|
property :sample_method, as: 'sampleMethod'
|
@@ -2507,6 +2515,8 @@ module Google
|
|
2507
2515
|
|
2508
2516
|
property :replace_config, as: 'replaceConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ReplaceValueConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ReplaceValueConfig::Representation
|
2509
2517
|
|
2518
|
+
property :replace_dictionary_config, as: 'replaceDictionaryConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ReplaceDictionaryConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ReplaceDictionaryConfig::Representation
|
2519
|
+
|
2510
2520
|
property :replace_with_info_type_config, as: 'replaceWithInfoTypeConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ReplaceWithInfoTypeConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ReplaceWithInfoTypeConfig::Representation
|
2511
2521
|
|
2512
2522
|
property :time_part_config, as: 'timePartConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2TimePartConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2TimePartConfig::Representation
|
@@ -2724,6 +2734,14 @@ module Google
|
|
2724
2734
|
end
|
2725
2735
|
end
|
2726
2736
|
|
2737
|
+
class GooglePrivacyDlpV2ReplaceDictionaryConfig
|
2738
|
+
# @private
|
2739
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2740
|
+
property :word_list, as: 'wordList', class: Google::Apis::DlpV2::GooglePrivacyDlpV2WordList, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2WordList::Representation
|
2741
|
+
|
2742
|
+
end
|
2743
|
+
end
|
2744
|
+
|
2727
2745
|
class GooglePrivacyDlpV2ReplaceValueConfig
|
2728
2746
|
# @private
|
2729
2747
|
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.17.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:
|
11
|
+
date: 2022-01-17 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.17.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.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Data Loss Prevention (DLP) API V2
|