google-apis-dlp_v2 0.36.0 → 0.37.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 +35 -0
- data/lib/google/apis/dlp_v2/gem_version.rb +2 -2
- data/lib/google/apis/dlp_v2/representations.rb +18 -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: 12991b0c0aff187b30a00872a9f791b4bc32288a0ec65e00ddd43d5fce791211
|
4
|
+
data.tar.gz: 4fc967945237d19bad65a9596144e05363bac23373fed7e5786ca17c59336440
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0b9b6d28e0252a1ae6f200f689d32e54705484b2789b8af4f6f860ff1de6756c708787312a2ae4a61222ab40b202354e7bfde31be921f3ee83e4015e1e62ec3
|
7
|
+
data.tar.gz: 94e08af813f0b984c0a9f2fdc585aaec9946872ab0f47a7b86791565c195afbc1545408b1d6721dcf42c232bfff331e861eeac762d357b8a7c5ebd83e42b54c8
|
data/CHANGELOG.md
CHANGED
@@ -2534,6 +2534,33 @@ module Google
|
|
2534
2534
|
end
|
2535
2535
|
end
|
2536
2536
|
|
2537
|
+
# The rule to exclude findings based on a hotword. For record inspection of
|
2538
|
+
# tables, column names are considered hotwords. An example of this is to exclude
|
2539
|
+
# a finding if a BigQuery column matches a specific pattern.
|
2540
|
+
class GooglePrivacyDlpV2ExcludeByHotword
|
2541
|
+
include Google::Apis::Core::Hashable
|
2542
|
+
|
2543
|
+
# Message defining a custom regular expression.
|
2544
|
+
# Corresponds to the JSON property `hotwordRegex`
|
2545
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Regex]
|
2546
|
+
attr_accessor :hotword_regex
|
2547
|
+
|
2548
|
+
# Message for specifying a window around a finding to apply a detection rule.
|
2549
|
+
# Corresponds to the JSON property `proximity`
|
2550
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Proximity]
|
2551
|
+
attr_accessor :proximity
|
2552
|
+
|
2553
|
+
def initialize(**args)
|
2554
|
+
update!(**args)
|
2555
|
+
end
|
2556
|
+
|
2557
|
+
# Update properties of this object
|
2558
|
+
def update!(**args)
|
2559
|
+
@hotword_regex = args[:hotword_regex] if args.key?(:hotword_regex)
|
2560
|
+
@proximity = args[:proximity] if args.key?(:proximity)
|
2561
|
+
end
|
2562
|
+
end
|
2563
|
+
|
2537
2564
|
# List of excluded infoTypes.
|
2538
2565
|
class GooglePrivacyDlpV2ExcludeInfoTypes
|
2539
2566
|
include Google::Apis::Core::Hashable
|
@@ -2586,6 +2613,13 @@ module Google
|
|
2586
2613
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary]
|
2587
2614
|
attr_accessor :dictionary
|
2588
2615
|
|
2616
|
+
# The rule to exclude findings based on a hotword. For record inspection of
|
2617
|
+
# tables, column names are considered hotwords. An example of this is to exclude
|
2618
|
+
# a finding if a BigQuery column matches a specific pattern.
|
2619
|
+
# Corresponds to the JSON property `excludeByHotword`
|
2620
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeByHotword]
|
2621
|
+
attr_accessor :exclude_by_hotword
|
2622
|
+
|
2589
2623
|
# List of excluded infoTypes.
|
2590
2624
|
# Corresponds to the JSON property `excludeInfoTypes`
|
2591
2625
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeInfoTypes]
|
@@ -2608,6 +2642,7 @@ module Google
|
|
2608
2642
|
# Update properties of this object
|
2609
2643
|
def update!(**args)
|
2610
2644
|
@dictionary = args[:dictionary] if args.key?(:dictionary)
|
2645
|
+
@exclude_by_hotword = args[:exclude_by_hotword] if args.key?(:exclude_by_hotword)
|
2611
2646
|
@exclude_info_types = args[:exclude_info_types] if args.key?(:exclude_info_types)
|
2612
2647
|
@matching_type = args[:matching_type] if args.key?(:matching_type)
|
2613
2648
|
@regex = args[:regex] if args.key?(:regex)
|
@@ -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.37.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.11.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20221029"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -418,6 +418,12 @@ module Google
|
|
418
418
|
include Google::Apis::Core::JsonObjectSupport
|
419
419
|
end
|
420
420
|
|
421
|
+
class GooglePrivacyDlpV2ExcludeByHotword
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
|
+
|
424
|
+
include Google::Apis::Core::JsonObjectSupport
|
425
|
+
end
|
426
|
+
|
421
427
|
class GooglePrivacyDlpV2ExcludeInfoTypes
|
422
428
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
429
|
|
@@ -2078,6 +2084,16 @@ module Google
|
|
2078
2084
|
end
|
2079
2085
|
end
|
2080
2086
|
|
2087
|
+
class GooglePrivacyDlpV2ExcludeByHotword
|
2088
|
+
# @private
|
2089
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2090
|
+
property :hotword_regex, as: 'hotwordRegex', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Regex, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Regex::Representation
|
2091
|
+
|
2092
|
+
property :proximity, as: 'proximity', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Proximity, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Proximity::Representation
|
2093
|
+
|
2094
|
+
end
|
2095
|
+
end
|
2096
|
+
|
2081
2097
|
class GooglePrivacyDlpV2ExcludeInfoTypes
|
2082
2098
|
# @private
|
2083
2099
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2091,6 +2107,8 @@ module Google
|
|
2091
2107
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2092
2108
|
property :dictionary, as: 'dictionary', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary::Representation
|
2093
2109
|
|
2110
|
+
property :exclude_by_hotword, as: 'excludeByHotword', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeByHotword, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeByHotword::Representation
|
2111
|
+
|
2094
2112
|
property :exclude_info_types, as: 'excludeInfoTypes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeInfoTypes, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeInfoTypes::Representation
|
2095
2113
|
|
2096
2114
|
property :matching_type, as: 'matchingType'
|
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.37.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-
|
11
|
+
date: 2022-11-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.37.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: []
|