google-cloud-dlp-v2 1.5.0 → 1.7.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/README.md +31 -21
- data/lib/google/cloud/dlp/v2/dlp_service/client.rb +51 -56
- data/lib/google/cloud/dlp/v2/dlp_service/rest/client.rb +51 -56
- data/lib/google/cloud/dlp/v2/dlp_service/rest/service_stub.rb +454 -332
- data/lib/google/cloud/dlp/v2/version.rb +1 -1
- data/proto_docs/google/api/client.rb +25 -0
- data/proto_docs/google/privacy/dlp/v2/dlp.rb +278 -0
- data/proto_docs/google/privacy/dlp/v2/storage.rb +32 -0
- metadata +6 -9
|
@@ -111,17 +111,25 @@ module Google
|
|
|
111
111
|
# @!attribute [rw] dictionary
|
|
112
112
|
# @return [::Google::Cloud::Dlp::V2::CustomInfoType::Dictionary]
|
|
113
113
|
# A list of phrases to detect as a CustomInfoType.
|
|
114
|
+
#
|
|
115
|
+
# Note: The following fields are mutually exclusive: `dictionary`, `regex`, `surrogate_type`, `stored_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
114
116
|
# @!attribute [rw] regex
|
|
115
117
|
# @return [::Google::Cloud::Dlp::V2::CustomInfoType::Regex]
|
|
116
118
|
# Regular expression based CustomInfoType.
|
|
119
|
+
#
|
|
120
|
+
# Note: The following fields are mutually exclusive: `regex`, `dictionary`, `surrogate_type`, `stored_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
117
121
|
# @!attribute [rw] surrogate_type
|
|
118
122
|
# @return [::Google::Cloud::Dlp::V2::CustomInfoType::SurrogateType]
|
|
119
123
|
# Message for detecting output from deidentification transformations that
|
|
120
124
|
# support reversing.
|
|
125
|
+
#
|
|
126
|
+
# Note: The following fields are mutually exclusive: `surrogate_type`, `dictionary`, `regex`, `stored_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
121
127
|
# @!attribute [rw] stored_type
|
|
122
128
|
# @return [::Google::Cloud::Dlp::V2::StoredType]
|
|
123
129
|
# Load an existing `StoredInfoType` resource for use in
|
|
124
130
|
# `InspectDataSource`. Not currently supported in `InspectContent`.
|
|
131
|
+
#
|
|
132
|
+
# Note: The following fields are mutually exclusive: `stored_type`, `dictionary`, `regex`, `surrogate_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
125
133
|
# @!attribute [rw] detection_rules
|
|
126
134
|
# @return [::Array<::Google::Cloud::Dlp::V2::CustomInfoType::DetectionRule>]
|
|
127
135
|
# Set of detection rules to apply to all findings of this CustomInfoType.
|
|
@@ -168,10 +176,14 @@ module Google
|
|
|
168
176
|
# @!attribute [rw] word_list
|
|
169
177
|
# @return [::Google::Cloud::Dlp::V2::CustomInfoType::Dictionary::WordList]
|
|
170
178
|
# List of words or phrases to search for.
|
|
179
|
+
#
|
|
180
|
+
# Note: The following fields are mutually exclusive: `word_list`, `cloud_storage_path`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
171
181
|
# @!attribute [rw] cloud_storage_path
|
|
172
182
|
# @return [::Google::Cloud::Dlp::V2::CloudStoragePath]
|
|
173
183
|
# Newline-delimited file of words in Cloud Storage. Only a single file
|
|
174
184
|
# is accepted.
|
|
185
|
+
#
|
|
186
|
+
# Note: The following fields are mutually exclusive: `cloud_storage_path`, `word_list`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
175
187
|
class Dictionary
|
|
176
188
|
include ::Google::Protobuf::MessageExts
|
|
177
189
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -249,6 +261,8 @@ module Google
|
|
|
249
261
|
# @!attribute [rw] fixed_likelihood
|
|
250
262
|
# @return [::Google::Cloud::Dlp::V2::Likelihood]
|
|
251
263
|
# Set the likelihood of a finding to a fixed value.
|
|
264
|
+
#
|
|
265
|
+
# Note: The following fields are mutually exclusive: `fixed_likelihood`, `relative_likelihood`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
252
266
|
# @!attribute [rw] relative_likelihood
|
|
253
267
|
# @return [::Integer]
|
|
254
268
|
# Increase or decrease the likelihood by the specified number of
|
|
@@ -259,6 +273,8 @@ module Google
|
|
|
259
273
|
# `VERY_LIKELY`, so applying an adjustment of 1 followed by an
|
|
260
274
|
# adjustment of -1 when base likelihood is `VERY_LIKELY` will result in
|
|
261
275
|
# a final likelihood of `LIKELY`.
|
|
276
|
+
#
|
|
277
|
+
# Note: The following fields are mutually exclusive: `relative_likelihood`, `fixed_likelihood`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
262
278
|
class LikelihoodAdjustment
|
|
263
279
|
include ::Google::Protobuf::MessageExts
|
|
264
280
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -585,15 +601,23 @@ module Google
|
|
|
585
601
|
# @!attribute [rw] datastore_options
|
|
586
602
|
# @return [::Google::Cloud::Dlp::V2::DatastoreOptions]
|
|
587
603
|
# Google Cloud Datastore options.
|
|
604
|
+
#
|
|
605
|
+
# Note: The following fields are mutually exclusive: `datastore_options`, `cloud_storage_options`, `big_query_options`, `hybrid_options`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
588
606
|
# @!attribute [rw] cloud_storage_options
|
|
589
607
|
# @return [::Google::Cloud::Dlp::V2::CloudStorageOptions]
|
|
590
608
|
# Cloud Storage options.
|
|
609
|
+
#
|
|
610
|
+
# Note: The following fields are mutually exclusive: `cloud_storage_options`, `datastore_options`, `big_query_options`, `hybrid_options`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
591
611
|
# @!attribute [rw] big_query_options
|
|
592
612
|
# @return [::Google::Cloud::Dlp::V2::BigQueryOptions]
|
|
593
613
|
# BigQuery options.
|
|
614
|
+
#
|
|
615
|
+
# Note: The following fields are mutually exclusive: `big_query_options`, `datastore_options`, `cloud_storage_options`, `hybrid_options`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
594
616
|
# @!attribute [rw] hybrid_options
|
|
595
617
|
# @return [::Google::Cloud::Dlp::V2::HybridOptions]
|
|
596
618
|
# Hybrid inspection options.
|
|
619
|
+
#
|
|
620
|
+
# Note: The following fields are mutually exclusive: `hybrid_options`, `datastore_options`, `cloud_storage_options`, `big_query_options`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
597
621
|
# @!attribute [rw] timespan_config
|
|
598
622
|
# @return [::Google::Cloud::Dlp::V2::StorageConfig::TimespanConfig]
|
|
599
623
|
# Configuration of the timespan of the items to include in scanning.
|
|
@@ -784,12 +808,16 @@ module Google
|
|
|
784
808
|
# The auto-allocated ID of the entity.
|
|
785
809
|
# Never equal to zero. Values less than zero are discouraged and may not
|
|
786
810
|
# be supported in the future.
|
|
811
|
+
#
|
|
812
|
+
# Note: The following fields are mutually exclusive: `id`, `name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
787
813
|
# @!attribute [rw] name
|
|
788
814
|
# @return [::String]
|
|
789
815
|
# The name of the entity.
|
|
790
816
|
# A name matching regex `__.*__` is reserved/read-only.
|
|
791
817
|
# A name must not be more than 1500 bytes when UTF-8 encoded.
|
|
792
818
|
# Cannot be `""`.
|
|
819
|
+
#
|
|
820
|
+
# Note: The following fields are mutually exclusive: `name`, `id`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
793
821
|
class PathElement
|
|
794
822
|
include ::Google::Protobuf::MessageExts
|
|
795
823
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -800,9 +828,13 @@ module Google
|
|
|
800
828
|
# @!attribute [rw] datastore_key
|
|
801
829
|
# @return [::Google::Cloud::Dlp::V2::DatastoreKey]
|
|
802
830
|
# BigQuery key
|
|
831
|
+
#
|
|
832
|
+
# Note: The following fields are mutually exclusive: `datastore_key`, `big_query_key`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
803
833
|
# @!attribute [rw] big_query_key
|
|
804
834
|
# @return [::Google::Cloud::Dlp::V2::BigQueryKey]
|
|
805
835
|
# Datastore key
|
|
836
|
+
#
|
|
837
|
+
# Note: The following fields are mutually exclusive: `big_query_key`, `datastore_key`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
806
838
|
# @!attribute [rw] id_values
|
|
807
839
|
# @return [::Array<::String>]
|
|
808
840
|
# Values of identifying columns in the given row. Order of values matches
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-dlp-v2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 2025-01-29 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: gapic-common
|
|
@@ -16,7 +15,7 @@ dependencies:
|
|
|
16
15
|
requirements:
|
|
17
16
|
- - ">="
|
|
18
17
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0.
|
|
18
|
+
version: 0.25.0
|
|
20
19
|
- - "<"
|
|
21
20
|
- !ruby/object:Gem::Version
|
|
22
21
|
version: 2.a
|
|
@@ -26,7 +25,7 @@ dependencies:
|
|
|
26
25
|
requirements:
|
|
27
26
|
- - ">="
|
|
28
27
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: 0.
|
|
28
|
+
version: 0.25.0
|
|
30
29
|
- - "<"
|
|
31
30
|
- !ruby/object:Gem::Version
|
|
32
31
|
version: 2.a
|
|
@@ -111,7 +110,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
|
111
110
|
licenses:
|
|
112
111
|
- Apache-2.0
|
|
113
112
|
metadata: {}
|
|
114
|
-
post_install_message:
|
|
115
113
|
rdoc_options: []
|
|
116
114
|
require_paths:
|
|
117
115
|
- lib
|
|
@@ -119,15 +117,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
119
117
|
requirements:
|
|
120
118
|
- - ">="
|
|
121
119
|
- !ruby/object:Gem::Version
|
|
122
|
-
version: '
|
|
120
|
+
version: '3.0'
|
|
123
121
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
122
|
requirements:
|
|
125
123
|
- - ">="
|
|
126
124
|
- !ruby/object:Gem::Version
|
|
127
125
|
version: '0'
|
|
128
126
|
requirements: []
|
|
129
|
-
rubygems_version: 3.
|
|
130
|
-
signing_key:
|
|
127
|
+
rubygems_version: 3.6.2
|
|
131
128
|
specification_version: 4
|
|
132
129
|
summary: Discover and protect your sensitive data. A fully managed service designed
|
|
133
130
|
to help you discover, classify, and protect your valuable data assets with ease.
|