google-apis-dlp_v2 0.43.0 → 0.45.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/OVERVIEW.md +3 -3
- data/lib/google/apis/dlp_v2/classes.rb +22 -14
- data/lib/google/apis/dlp_v2/gem_version.rb +2 -2
- data/lib/google/apis/dlp_v2/representations.rb +1 -0
- data/lib/google/apis/dlp_v2/service.rb +1 -1
- data/lib/google/apis/dlp_v2.rb +2 -2
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cac47d3dcd8054dd1462c0407575cebfd620af093f9bccbc45f4d0dcf272ce63
|
4
|
+
data.tar.gz: 5d254382db9c3c41628906b32653ab07e47ce16af259bb1e0f14b1beadb4bf3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad2afe96d3d802b34c98d2334b09757c5ce2bdd6555b49f3a7b78dccf08323bd4bcb9be989216ccdd8622cfa90a993cc43947566088609dfa3b07c7106f5bed7
|
7
|
+
data.tar.gz: a1db50ea68d50814dcadeeb6823e38f706b388d480ca9fdee163c94c3ce1b58310c8983fe35ee7b3f600c93b16576f6e2f4f3cc4efdfe8700ee167637ede21ca
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-dlp_v2
|
2
2
|
|
3
|
+
### v0.45.0 (2023-05-28)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230521
|
6
|
+
|
7
|
+
### v0.44.0 (2023-05-21)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230514
|
10
|
+
|
3
11
|
### v0.43.0 (2023-05-07)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230428
|
data/OVERVIEW.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
# Simple REST client for version V2 of the Cloud Data Loss Prevention (DLP)
|
1
|
+
# Simple REST client for version V2 of the Cloud Data Loss Prevention (DLP)
|
2
2
|
|
3
|
-
This is a simple client library for version V2 of the Cloud Data Loss Prevention (DLP)
|
3
|
+
This is a simple client library for version V2 of the Cloud Data Loss Prevention (DLP). It provides:
|
4
4
|
|
5
5
|
* A client object that connects to the HTTP/JSON REST endpoint for the service.
|
6
6
|
* Ruby objects for data structures related to the service.
|
@@ -65,7 +65,7 @@ More detailed descriptions of the Google simple REST clients are available in tw
|
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Dlp service in particular.)
|
67
67
|
|
68
|
-
For reference information on specific calls in the Cloud Data Loss Prevention (DLP)
|
68
|
+
For reference information on specific calls in the Cloud Data Loss Prevention (DLP), see the {Google::Apis::DlpV2::DLPService class reference docs}.
|
69
69
|
|
70
70
|
## Which client should I use?
|
71
71
|
|
@@ -119,7 +119,7 @@ module Google
|
|
119
119
|
class GooglePrivacyDlpV2ActionDetails
|
120
120
|
include Google::Apis::Core::Hashable
|
121
121
|
|
122
|
-
# The results of a Deidentify action from an
|
122
|
+
# The results of a Deidentify action from an inspect job.
|
123
123
|
# Corresponds to the JSON property `deidentifyDetails`
|
124
124
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyDataSourceDetails]
|
125
125
|
attr_accessor :deidentify_details
|
@@ -1590,8 +1590,8 @@ module Google
|
|
1590
1590
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Regex]
|
1591
1591
|
attr_accessor :regex
|
1592
1592
|
|
1593
|
-
# Score is
|
1594
|
-
# more sensitive.
|
1593
|
+
# Score is calculated from of all elements in the data profile. A higher level
|
1594
|
+
# means the data is more sensitive.
|
1595
1595
|
# Corresponds to the JSON property `sensitivityScore`
|
1596
1596
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore]
|
1597
1597
|
attr_accessor :sensitivity_score
|
@@ -2152,7 +2152,7 @@ module Google
|
|
2152
2152
|
end
|
2153
2153
|
end
|
2154
2154
|
|
2155
|
-
# The results of a Deidentify action from an
|
2155
|
+
# The results of a Deidentify action from an inspect job.
|
2156
2156
|
class GooglePrivacyDlpV2DeidentifyDataSourceDetails
|
2157
2157
|
include Google::Apis::Core::Hashable
|
2158
2158
|
|
@@ -3477,8 +3477,8 @@ module Google
|
|
3477
3477
|
# @return [String]
|
3478
3478
|
attr_accessor :name
|
3479
3479
|
|
3480
|
-
# Score is
|
3481
|
-
# more sensitive.
|
3480
|
+
# Score is calculated from of all elements in the data profile. A higher level
|
3481
|
+
# means the data is more sensitive.
|
3482
3482
|
# Corresponds to the JSON property `sensitivityScore`
|
3483
3483
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore]
|
3484
3484
|
attr_accessor :sensitivity_score
|
@@ -3558,8 +3558,8 @@ module Google
|
|
3558
3558
|
# @return [String]
|
3559
3559
|
attr_accessor :name
|
3560
3560
|
|
3561
|
-
# Score is
|
3562
|
-
# more sensitive.
|
3561
|
+
# Score is calculated from of all elements in the data profile. A higher level
|
3562
|
+
# means the data is more sensitive.
|
3563
3563
|
# Corresponds to the JSON property `sensitivityScore`
|
3564
3564
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore]
|
3565
3565
|
attr_accessor :sensitivity_score
|
@@ -5033,6 +5033,13 @@ module Google
|
|
5033
5033
|
# @return [Fixnum]
|
5034
5034
|
attr_accessor :estimated_prevalence
|
5035
5035
|
|
5036
|
+
# Whether this infoType was excluded from sensitivity and risk analysis due to
|
5037
|
+
# factors such as low prevalence (subject to change).
|
5038
|
+
# Corresponds to the JSON property `excludedFromAnalysis`
|
5039
|
+
# @return [Boolean]
|
5040
|
+
attr_accessor :excluded_from_analysis
|
5041
|
+
alias_method :excluded_from_analysis?, :excluded_from_analysis
|
5042
|
+
|
5036
5043
|
# Type of information detected by the API.
|
5037
5044
|
# Corresponds to the JSON property `infoType`
|
5038
5045
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType]
|
@@ -5045,6 +5052,7 @@ module Google
|
|
5045
5052
|
# Update properties of this object
|
5046
5053
|
def update!(**args)
|
5047
5054
|
@estimated_prevalence = args[:estimated_prevalence] if args.key?(:estimated_prevalence)
|
5055
|
+
@excluded_from_analysis = args[:excluded_from_analysis] if args.key?(:excluded_from_analysis)
|
5048
5056
|
@info_type = args[:info_type] if args.key?(:info_type)
|
5049
5057
|
end
|
5050
5058
|
end
|
@@ -6367,12 +6375,12 @@ module Google
|
|
6367
6375
|
end
|
6368
6376
|
end
|
6369
6377
|
|
6370
|
-
# Score is
|
6371
|
-
# more sensitive.
|
6378
|
+
# Score is calculated from of all elements in the data profile. A higher level
|
6379
|
+
# means the data is more sensitive.
|
6372
6380
|
class GooglePrivacyDlpV2SensitivityScore
|
6373
6381
|
include Google::Apis::Core::Hashable
|
6374
6382
|
|
6375
|
-
# The score applied to the resource.
|
6383
|
+
# The sensitivity score applied to the resource.
|
6376
6384
|
# Corresponds to the JSON property `score`
|
6377
6385
|
# @return [String]
|
6378
6386
|
attr_accessor :score
|
@@ -6802,7 +6810,7 @@ module Google
|
|
6802
6810
|
# @return [String]
|
6803
6811
|
attr_accessor :dataset_location
|
6804
6812
|
|
6805
|
-
# The
|
6813
|
+
# The Google Cloud project ID that owns the BigQuery dataset.
|
6806
6814
|
# Corresponds to the JSON property `datasetProjectId`
|
6807
6815
|
# @return [String]
|
6808
6816
|
attr_accessor :dataset_project_id
|
@@ -6885,8 +6893,8 @@ module Google
|
|
6885
6893
|
# @return [Fixnum]
|
6886
6894
|
attr_accessor :scanned_column_count
|
6887
6895
|
|
6888
|
-
# Score is
|
6889
|
-
# more sensitive.
|
6896
|
+
# Score is calculated from of all elements in the data profile. A higher level
|
6897
|
+
# means the data is more sensitive.
|
6890
6898
|
# Corresponds to the JSON property `sensitivityScore`
|
6891
6899
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore]
|
6892
6900
|
attr_accessor :sensitivity_score
|
@@ -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.45.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 = "20230521"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2879,6 +2879,7 @@ module Google
|
|
2879
2879
|
# @private
|
2880
2880
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2881
2881
|
property :estimated_prevalence, as: 'estimatedPrevalence'
|
2882
|
+
property :excluded_from_analysis, as: 'excludedFromAnalysis'
|
2882
2883
|
property :info_type, as: 'infoType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation
|
2883
2884
|
|
2884
2885
|
end
|
@@ -20,7 +20,7 @@ require 'google/apis/errors'
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
22
|
module DlpV2
|
23
|
-
# Cloud Data Loss Prevention (DLP)
|
23
|
+
# Cloud Data Loss Prevention (DLP)
|
24
24
|
#
|
25
25
|
# Provides methods for detection, risk analysis, and de-identification of
|
26
26
|
# privacy-sensitive fragments in text, images, and Google Cloud Platform storage
|
data/lib/google/apis/dlp_v2.rb
CHANGED
@@ -19,7 +19,7 @@ require 'google/apis/dlp_v2/gem_version.rb'
|
|
19
19
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
|
-
# Cloud Data Loss Prevention (DLP)
|
22
|
+
# Cloud Data Loss Prevention (DLP)
|
23
23
|
#
|
24
24
|
# Provides methods for detection, risk analysis, and de-identification of
|
25
25
|
# privacy-sensitive fragments in text, images, and Google Cloud Platform storage
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
#
|
28
28
|
# @see https://cloud.google.com/dlp/docs/
|
29
29
|
module DlpV2
|
30
|
-
# Version of the Cloud Data Loss Prevention (DLP)
|
30
|
+
# Version of the Cloud Data Loss Prevention (DLP) this client connects to.
|
31
31
|
# This is NOT the gem version.
|
32
32
|
VERSION = 'V2'
|
33
33
|
|
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.45.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-05-
|
11
|
+
date: 2023-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -30,13 +30,13 @@ dependencies:
|
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
33
|
-
description: This is the simple REST client for Cloud Data Loss Prevention (DLP)
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
33
|
+
description: This is the simple REST client for Cloud Data Loss Prevention (DLP) V2.
|
34
|
+
Simple REST clients are Ruby client libraries that provide access to Google services
|
35
|
+
via their HTTP REST API endpoints. These libraries are generated and updated automatically
|
36
|
+
based on the discovery documents published by the service, and they handle most
|
37
|
+
concerns such as authentication, pagination, retry, timeouts, and logging. You can
|
38
|
+
use this client to access the Cloud Data Loss Prevention (DLP), but note that some
|
39
|
+
services may provide a separate modern client that is easier to use.
|
40
40
|
email: googleapis-packages@google.com
|
41
41
|
executables: []
|
42
42
|
extensions: []
|
@@ -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.45.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: []
|
@@ -78,5 +78,5 @@ requirements: []
|
|
78
78
|
rubygems_version: 3.4.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
|
-
summary: Simple REST client for Cloud Data Loss Prevention (DLP)
|
81
|
+
summary: Simple REST client for Cloud Data Loss Prevention (DLP) V2
|
82
82
|
test_files: []
|