google-cloud-dlp-v2 0.4.3 → 0.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/LICENSE.md +188 -190
- data/README.md +66 -2
- data/lib/google/cloud/dlp/v2.rb +3 -0
- data/lib/google/cloud/dlp/v2/dlp_service/client.rb +132 -118
- data/lib/google/cloud/dlp/v2/dlp_service/paths.rb +11 -11
- data/lib/google/cloud/dlp/v2/version.rb +1 -1
- data/lib/google/privacy/dlp/v2/dlp_pb.rb +5 -0
- data/lib/google/privacy/dlp/v2/dlp_services_pb.rb +34 -34
- data/proto_docs/google/api/field_behavior.rb +6 -0
- data/proto_docs/google/api/resource.rb +50 -14
- data/proto_docs/google/privacy/dlp/v2/dlp.rb +39 -19
- data/proto_docs/google/privacy/dlp/v2/storage.rb +16 -12
- data/proto_docs/google/protobuf/any.rb +5 -2
- data/proto_docs/google/protobuf/timestamp.rb +10 -1
- metadata +9 -7
@@ -520,27 +520,31 @@ module Google
|
|
520
520
|
# Currently only supported when inspecting Google Cloud Storage and BigQuery.
|
521
521
|
# @!attribute [rw] start_time
|
522
522
|
# @return [::Google::Protobuf::Timestamp]
|
523
|
-
# Exclude files or rows older than this value.
|
523
|
+
# Exclude files, tables, or rows older than this value.
|
524
|
+
# If not set, no lower time limit is applied.
|
524
525
|
# @!attribute [rw] end_time
|
525
526
|
# @return [::Google::Protobuf::Timestamp]
|
526
|
-
# Exclude files or rows newer than this value.
|
527
|
-
# If set
|
527
|
+
# Exclude files, tables, or rows newer than this value.
|
528
|
+
# If not set, no upper time limit is applied.
|
528
529
|
# @!attribute [rw] timestamp_field
|
529
530
|
# @return [::Google::Cloud::Dlp::V2::FieldId]
|
530
531
|
# Specification of the field containing the timestamp of scanned items.
|
531
532
|
# Used for data sources like Datastore and BigQuery.
|
532
533
|
#
|
533
534
|
# For BigQuery:
|
534
|
-
#
|
535
|
-
#
|
536
|
-
#
|
537
|
-
#
|
538
|
-
#
|
535
|
+
# If this value is not specified and the table was modified between the
|
536
|
+
# given start and end times, the entire table will be scanned. If this
|
537
|
+
# value is specified, then rows are filtered based on the given start and
|
538
|
+
# end times. Rows with a `NULL` value in the provided BigQuery column are
|
539
|
+
# skipped.
|
540
|
+
# Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`,
|
541
|
+
# `TIMESTAMP`, and `DATETIME`.
|
539
542
|
#
|
540
|
-
# For Datastore
|
541
|
-
#
|
542
|
-
#
|
543
|
-
#
|
543
|
+
# For Datastore:
|
544
|
+
# If this value is specified, then entities are filtered based on the given
|
545
|
+
# start and end times. If an entity does not contain the provided timestamp
|
546
|
+
# property or contains empty or invalid values, then it is included.
|
547
|
+
# Valid data types of the provided timestamp property are: `TIMESTAMP`.
|
544
548
|
# @!attribute [rw] enable_auto_population_of_timespan_config
|
545
549
|
# @return [::Boolean]
|
546
550
|
# When the job is started by a JobTrigger we will automatically figure out
|
@@ -57,10 +57,13 @@ module Google
|
|
57
57
|
# Example 4: Pack and unpack a message in Go
|
58
58
|
#
|
59
59
|
# foo := &pb.Foo{...}
|
60
|
-
# any, err :=
|
60
|
+
# any, err := anypb.New(foo)
|
61
|
+
# if err != nil {
|
62
|
+
# ...
|
63
|
+
# }
|
61
64
|
# ...
|
62
65
|
# foo := &pb.Foo{}
|
63
|
-
# if err :=
|
66
|
+
# if err := any.UnmarshalTo(foo); err != nil {
|
64
67
|
# ...
|
65
68
|
# }
|
66
69
|
#
|
@@ -70,7 +70,16 @@ module Google
|
|
70
70
|
# .setNanos((int) ((millis % 1000) * 1000000)).build();
|
71
71
|
#
|
72
72
|
#
|
73
|
-
# Example 5: Compute Timestamp from
|
73
|
+
# Example 5: Compute Timestamp from Java `Instant.now()`.
|
74
|
+
#
|
75
|
+
# Instant now = Instant.now();
|
76
|
+
#
|
77
|
+
# Timestamp timestamp =
|
78
|
+
# Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
79
|
+
# .setNanos(now.getNano()).build();
|
80
|
+
#
|
81
|
+
#
|
82
|
+
# Example 6: Compute Timestamp from current time in Python.
|
74
83
|
#
|
75
84
|
# timestamp = Timestamp()
|
76
85
|
# timestamp.GetCurrentTime()
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dlp-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.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: 2021-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
47
|
+
version: 1.25.1
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
54
|
+
version: 1.25.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: minitest
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -151,7 +151,9 @@ dependencies:
|
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0.9'
|
153
153
|
description: Provides methods for detection of privacy-sensitive fragments in text,
|
154
|
-
images, and Google Cloud Platform storage repositories.
|
154
|
+
images, and Google Cloud Platform storage repositories. Note that google-cloud-dlp-v2
|
155
|
+
is a version-specific client library. For most uses, we recommend installing the
|
156
|
+
main client library google-cloud-dlp instead. See the readme for more details.
|
155
157
|
email: googleapis-packages@google.com
|
156
158
|
executables: []
|
157
159
|
extensions: []
|
@@ -197,14 +199,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
197
199
|
requirements:
|
198
200
|
- - ">="
|
199
201
|
- !ruby/object:Gem::Version
|
200
|
-
version: '2.
|
202
|
+
version: '2.5'
|
201
203
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
202
204
|
requirements:
|
203
205
|
- - ">="
|
204
206
|
- !ruby/object:Gem::Version
|
205
207
|
version: '0'
|
206
208
|
requirements: []
|
207
|
-
rubygems_version: 3.
|
209
|
+
rubygems_version: 3.2.13
|
208
210
|
signing_key:
|
209
211
|
specification_version: 4
|
210
212
|
summary: API Client library for the Cloud Data Loss Prevention (DLP) V2 API
|