google-apis-dlp_v2 0.48.0 → 0.50.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 +8 -0
- data/lib/google/apis/dlp_v2/classes.rb +39 -1
- data/lib/google/apis/dlp_v2/gem_version.rb +2 -2
- data/lib/google/apis/dlp_v2/representations.rb +17 -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: da8c5c111db4a3a8a3b2df965b33e685ec4e4247ff08fda4446489977ac0022c
|
4
|
+
data.tar.gz: d0838f712ffa2aed09bd88942233081094060e4d3297312c7c394859ad87cadd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2329d4b334fc5605929b59431f47fb96ce65cd2b4a2380c9128bf2ca1487f0f81ca67e80e68d9c0c200aa18b987e8f774ccc20f4e13027e38e188bcff7670f0
|
7
|
+
data.tar.gz: 8158f6f966a542658da3d4f1ef1fad96f7eb2ccf70f919f0cb2d821db2cb6903dd2000fe05862763c986290848ffbc1a663c18280b3f57256ece92075a53c4cd
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-dlp_v2
|
2
2
|
|
3
|
+
### v0.50.0 (2023-09-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230917
|
6
|
+
|
7
|
+
### v0.49.0 (2023-09-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230903
|
10
|
+
|
3
11
|
### v0.48.0 (2023-08-13)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230806
|
@@ -2781,7 +2781,8 @@ module Google
|
|
2781
2781
|
# @return [Google::Apis::DlpV2::GoogleRpcStatus]
|
2782
2782
|
attr_accessor :details
|
2783
2783
|
|
2784
|
-
# The times the error occurred.
|
2784
|
+
# The times the error occurred. List includes the oldest timestamp, and the last
|
2785
|
+
# 9 ones.
|
2785
2786
|
# Corresponds to the JSON property `timestamps`
|
2786
2787
|
# @return [Array<String>]
|
2787
2788
|
attr_accessor :timestamps
|
@@ -3764,6 +3765,35 @@ module Google
|
|
3764
3765
|
end
|
3765
3766
|
end
|
3766
3767
|
|
3768
|
+
# Configuration to control custom minimum likelihoods per infotype. Used when
|
3769
|
+
# certain infotypes need to return with higher or lower precision than the
|
3770
|
+
# baseline, i.e. when wanting PERSON_NAME to return all possible names without
|
3771
|
+
# lowering the precision of other infotypes.
|
3772
|
+
class GooglePrivacyDlpV2InfoTypeLikelihood
|
3773
|
+
include Google::Apis::Core::Hashable
|
3774
|
+
|
3775
|
+
# Type of information detected by the API.
|
3776
|
+
# Corresponds to the JSON property `infoType`
|
3777
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType]
|
3778
|
+
attr_accessor :info_type
|
3779
|
+
|
3780
|
+
# Only returns findings equal or above this threshold. This field is required or
|
3781
|
+
# else the configuration fails.
|
3782
|
+
# Corresponds to the JSON property `minLikelihood`
|
3783
|
+
# @return [String]
|
3784
|
+
attr_accessor :min_likelihood
|
3785
|
+
|
3786
|
+
def initialize(**args)
|
3787
|
+
update!(**args)
|
3788
|
+
end
|
3789
|
+
|
3790
|
+
# Update properties of this object
|
3791
|
+
def update!(**args)
|
3792
|
+
@info_type = args[:info_type] if args.key?(:info_type)
|
3793
|
+
@min_likelihood = args[:min_likelihood] if args.key?(:min_likelihood)
|
3794
|
+
end
|
3795
|
+
end
|
3796
|
+
|
3767
3797
|
# Max findings configuration per infoType, per content item or long running
|
3768
3798
|
# DlpJob.
|
3769
3799
|
class GooglePrivacyDlpV2InfoTypeLimit
|
@@ -3947,6 +3977,13 @@ module Google
|
|
3947
3977
|
# @return [String]
|
3948
3978
|
attr_accessor :min_likelihood
|
3949
3979
|
|
3980
|
+
# Per infotype likelihoods. For each infotype, a user can specify a minimum
|
3981
|
+
# likelihood, and only return that infotype if it is above that threshold. If an
|
3982
|
+
# infotype is not included, it uses the InspectConfig min_likelihood.
|
3983
|
+
# Corresponds to the JSON property `minLikelihoodPerInfoType`
|
3984
|
+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeLikelihood>]
|
3985
|
+
attr_accessor :min_likelihood_per_info_type
|
3986
|
+
|
3950
3987
|
# Set of rules to apply to the findings for this InspectConfig. Exclusion rules,
|
3951
3988
|
# contained in the set are executed in the end, other rules are executed in the
|
3952
3989
|
# order they are specified for each info type.
|
@@ -3967,6 +4004,7 @@ module Google
|
|
3967
4004
|
@info_types = args[:info_types] if args.key?(:info_types)
|
3968
4005
|
@limits = args[:limits] if args.key?(:limits)
|
3969
4006
|
@min_likelihood = args[:min_likelihood] if args.key?(:min_likelihood)
|
4007
|
+
@min_likelihood_per_info_type = args[:min_likelihood_per_info_type] if args.key?(:min_likelihood_per_info_type)
|
3970
4008
|
@rule_set = args[:rule_set] if args.key?(:rule_set)
|
3971
4009
|
end
|
3972
4010
|
end
|
@@ -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.50.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230917"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -610,6 +610,12 @@ module Google
|
|
610
610
|
include Google::Apis::Core::JsonObjectSupport
|
611
611
|
end
|
612
612
|
|
613
|
+
class GooglePrivacyDlpV2InfoTypeLikelihood
|
614
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
|
+
|
616
|
+
include Google::Apis::Core::JsonObjectSupport
|
617
|
+
end
|
618
|
+
|
613
619
|
class GooglePrivacyDlpV2InfoTypeLimit
|
614
620
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
621
|
|
@@ -2474,6 +2480,15 @@ module Google
|
|
2474
2480
|
end
|
2475
2481
|
end
|
2476
2482
|
|
2483
|
+
class GooglePrivacyDlpV2InfoTypeLikelihood
|
2484
|
+
# @private
|
2485
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2486
|
+
property :info_type, as: 'infoType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation
|
2487
|
+
|
2488
|
+
property :min_likelihood, as: 'minLikelihood'
|
2489
|
+
end
|
2490
|
+
end
|
2491
|
+
|
2477
2492
|
class GooglePrivacyDlpV2InfoTypeLimit
|
2478
2493
|
# @private
|
2479
2494
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2532,6 +2547,8 @@ module Google
|
|
2532
2547
|
property :limits, as: 'limits', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FindingLimits, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FindingLimits::Representation
|
2533
2548
|
|
2534
2549
|
property :min_likelihood, as: 'minLikelihood'
|
2550
|
+
collection :min_likelihood_per_info_type, as: 'minLikelihoodPerInfoType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeLikelihood, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeLikelihood::Representation
|
2551
|
+
|
2535
2552
|
collection :rule_set, as: 'ruleSet', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectionRuleSet, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectionRuleSet::Representation
|
2536
2553
|
|
2537
2554
|
end
|
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.50.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: 2023-
|
11
|
+
date: 2023-09-24 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.50.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.4.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Data Loss Prevention (DLP) V2
|