google-apis-dlp_v2 0.14.0 → 0.18.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 +18 -32
- data/lib/google/apis/dlp_v2/gem_version.rb +3 -3
- data/lib/google/apis/dlp_v2/representations.rb +2 -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: 7c75faac4d1152d2bb2731389414b44f8c7af510bb2bc5c376702cbc2739b968
|
4
|
+
data.tar.gz: caad02beab881403dfaf59ecb9e236171ee680d09b349f0e82894611604c87d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b6746f7d1d2d9d095263acf3ec66397eee409fc95a493832c893b8b677d8c365f2ea9361968241d68208b1cdef389afc6d5d75705c608b912b5a8863580e6d5
|
7
|
+
data.tar.gz: 1976226c2b068bf654dc3b0147d0029dcd35bf3c8febc2b0e86961c3b3023c873ff6b96076fbc82c8625ee6015ede7ade139874feba5c97a1d6cd80755c0e7ca
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-dlp_v2
|
2
2
|
|
3
|
+
### v0.18.0 (2022-02-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220129
|
6
|
+
|
7
|
+
### v0.17.0 (2022-01-12)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220108
|
10
|
+
* Regenerated using generator version 0.4.1
|
11
|
+
|
12
|
+
### v0.16.0 (2021-12-14)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.15.0 (2021-12-08)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211204
|
19
|
+
|
3
20
|
### v0.14.0 (2021-11-16)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20211112
|
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)
|
@@ -1643,14 +1649,7 @@ module Google
|
|
1643
1649
|
class GooglePrivacyDlpV2DateTime
|
1644
1650
|
include Google::Apis::Core::Hashable
|
1645
1651
|
|
1646
|
-
#
|
1647
|
-
# day and time zone are either specified elsewhere or are insignificant. The
|
1648
|
-
# date is relative to the Gregorian Calendar. This can represent one of the
|
1649
|
-
# following: * A full date, with non-zero year, month, and day values * A month
|
1650
|
-
# and day value, with a zero year, such as an anniversary * A year on its own,
|
1651
|
-
# with zero month and day values * A year and month value, with a zero day, such
|
1652
|
-
# as a credit card expiration date Related types are google.type.TimeOfDay and `
|
1653
|
-
# google.protobuf.Timestamp`.
|
1652
|
+
# One or more of the following must be set. Must be a valid date or time value.
|
1654
1653
|
# Corresponds to the JSON property `date`
|
1655
1654
|
# @return [Google::Apis::DlpV2::GoogleTypeDate]
|
1656
1655
|
attr_accessor :date
|
@@ -2531,8 +2530,8 @@ module Google
|
|
2531
2530
|
end
|
2532
2531
|
end
|
2533
2532
|
|
2534
|
-
# Configuration to control the number of findings returned
|
2535
|
-
# identification
|
2533
|
+
# Configuration to control the number of findings returned for inspection. This
|
2534
|
+
# is not used for de-identification or data profiling.
|
2536
2535
|
class GooglePrivacyDlpV2FindingLimits
|
2537
2536
|
include Google::Apis::Core::Hashable
|
2538
2537
|
|
@@ -3105,8 +3104,7 @@ module Google
|
|
3105
3104
|
class GooglePrivacyDlpV2InspectConfig
|
3106
3105
|
include Google::Apis::Core::Hashable
|
3107
3106
|
|
3108
|
-
#
|
3109
|
-
# other content will be included.
|
3107
|
+
# Deprecated and unused.
|
3110
3108
|
# Corresponds to the JSON property `contentOptions`
|
3111
3109
|
# @return [Array<String>]
|
3112
3110
|
attr_accessor :content_options
|
@@ -3117,14 +3115,16 @@ module Google
|
|
3117
3115
|
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2CustomInfoType>]
|
3118
3116
|
attr_accessor :custom_info_types
|
3119
3117
|
|
3120
|
-
# When true, excludes type information of the findings.
|
3118
|
+
# When true, excludes type information of the findings. This is not used for
|
3119
|
+
# data profiling.
|
3121
3120
|
# Corresponds to the JSON property `excludeInfoTypes`
|
3122
3121
|
# @return [Boolean]
|
3123
3122
|
attr_accessor :exclude_info_types
|
3124
3123
|
alias_method :exclude_info_types?, :exclude_info_types
|
3125
3124
|
|
3126
3125
|
# When true, a contextual quote from the data that triggered a finding is
|
3127
|
-
# included in the response; see Finding.quote.
|
3126
|
+
# included in the response; see Finding.quote. This is not used for data
|
3127
|
+
# profiling.
|
3128
3128
|
# Corresponds to the JSON property `includeQuote`
|
3129
3129
|
# @return [Boolean]
|
3130
3130
|
attr_accessor :include_quote
|
@@ -3142,8 +3142,8 @@ module Google
|
|
3142
3142
|
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>]
|
3143
3143
|
attr_accessor :info_types
|
3144
3144
|
|
3145
|
-
# Configuration to control the number of findings returned
|
3146
|
-
# identification
|
3145
|
+
# Configuration to control the number of findings returned for inspection. This
|
3146
|
+
# is not used for de-identification or data profiling.
|
3147
3147
|
# Corresponds to the JSON property `limits`
|
3148
3148
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FindingLimits]
|
3149
3149
|
attr_accessor :limits
|
@@ -6383,14 +6383,7 @@ module Google
|
|
6383
6383
|
attr_accessor :boolean_value
|
6384
6384
|
alias_method :boolean_value?, :boolean_value
|
6385
6385
|
|
6386
|
-
#
|
6387
|
-
# day and time zone are either specified elsewhere or are insignificant. The
|
6388
|
-
# date is relative to the Gregorian Calendar. This can represent one of the
|
6389
|
-
# following: * A full date, with non-zero year, month, and day values * A month
|
6390
|
-
# and day value, with a zero year, such as an anniversary * A year on its own,
|
6391
|
-
# with zero month and day values * A year and month value, with a zero day, such
|
6392
|
-
# as a credit card expiration date Related types are google.type.TimeOfDay and `
|
6393
|
-
# google.protobuf.Timestamp`.
|
6386
|
+
# date
|
6394
6387
|
# Corresponds to the JSON property `dateValue`
|
6395
6388
|
# @return [Google::Apis::DlpV2::GoogleTypeDate]
|
6396
6389
|
attr_accessor :date_value
|
@@ -6550,14 +6543,7 @@ module Google
|
|
6550
6543
|
end
|
6551
6544
|
end
|
6552
6545
|
|
6553
|
-
#
|
6554
|
-
# day and time zone are either specified elsewhere or are insignificant. The
|
6555
|
-
# date is relative to the Gregorian Calendar. This can represent one of the
|
6556
|
-
# following: * A full date, with non-zero year, month, and day values * A month
|
6557
|
-
# and day value, with a zero year, such as an anniversary * A year on its own,
|
6558
|
-
# with zero month and day values * A year and month value, with a zero day, such
|
6559
|
-
# as a credit card expiration date Related types are google.type.TimeOfDay and `
|
6560
|
-
# google.protobuf.Timestamp`.
|
6546
|
+
#
|
6561
6547
|
class GoogleTypeDate
|
6562
6548
|
include Google::Apis::Core::Hashable
|
6563
6549
|
|
@@ -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.18.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 = "20220129"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1272,6 +1272,8 @@ module Google
|
|
1272
1272
|
|
1273
1273
|
collection :identifying_fields, as: 'identifyingFields', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId::Representation
|
1274
1274
|
|
1275
|
+
collection :included_fields, as: 'includedFields', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId::Representation
|
1276
|
+
|
1275
1277
|
property :rows_limit, :numeric_string => true, as: 'rowsLimit'
|
1276
1278
|
property :rows_limit_percent, as: 'rowsLimitPercent'
|
1277
1279
|
property :sample_method, as: 'sampleMethod'
|
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.18.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-02-07 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.18.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
|