google-cloud-dlp-v2 0.1.0 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +6 -6
- data/README.md +1 -1
- data/lib/google/cloud/dlp/v2.rb +1 -1
- data/lib/google/cloud/dlp/v2/dlp_service.rb +1 -1
- data/lib/google/cloud/dlp/v2/dlp_service/client.rb +706 -707
- data/lib/google/cloud/dlp/v2/dlp_service/credentials.rb +1 -1
- data/lib/google/cloud/dlp/v2/dlp_service/paths.rb +40 -40
- data/lib/google/cloud/dlp/v2/version.rb +1 -1
- data/lib/google/privacy/dlp/v2/dlp_pb.rb +20 -0
- data/lib/google/privacy/dlp/v2/storage_pb.rb +2 -0
- data/proto_docs/google/api/resource.rb +12 -12
- data/proto_docs/google/privacy/dlp/v2/dlp.rb +924 -894
- data/proto_docs/google/privacy/dlp/v2/storage.rb +163 -151
- data/proto_docs/google/protobuf/any.rb +4 -4
- data/proto_docs/google/protobuf/duration.rb +4 -4
- data/proto_docs/google/protobuf/empty.rb +2 -2
- data/proto_docs/google/protobuf/field_mask.rb +3 -3
- data/proto_docs/google/protobuf/timestamp.rb +4 -4
- data/proto_docs/google/rpc/status.rb +6 -6
- data/proto_docs/google/type/date.rb +6 -6
- data/proto_docs/google/type/timeofday.rb +7 -7
- metadata +33 -6
- data/lib/google/cloud/common_resources_pb.rb +0 -15
@@ -99,7 +99,7 @@ module Google
|
|
99
99
|
# "value": "1.212s"
|
100
100
|
# }
|
101
101
|
# @!attribute [rw] type_url
|
102
|
-
# @return [String]
|
102
|
+
# @return [::String]
|
103
103
|
# A URL/resource name that uniquely identifies the type of the serialized
|
104
104
|
# protocol buffer message. This string must contain at least
|
105
105
|
# one "/" character. The last segment of the URL's path must represent
|
@@ -128,11 +128,11 @@ module Google
|
|
128
128
|
# Schemes other than `http`, `https` (or the empty scheme) might be
|
129
129
|
# used with implementation specific semantics.
|
130
130
|
# @!attribute [rw] value
|
131
|
-
# @return [String]
|
131
|
+
# @return [::String]
|
132
132
|
# Must be a valid serialized protocol buffer of the above specified type.
|
133
133
|
class Any
|
134
|
-
include Google::Protobuf::MessageExts
|
135
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
134
|
+
include ::Google::Protobuf::MessageExts
|
135
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
136
136
|
end
|
137
137
|
end
|
138
138
|
end
|
@@ -78,12 +78,12 @@ module Google
|
|
78
78
|
# be expressed in JSON format as "3.000000001s", and 3 seconds and 1
|
79
79
|
# microsecond should be expressed in JSON format as "3.000001s".
|
80
80
|
# @!attribute [rw] seconds
|
81
|
-
# @return [Integer]
|
81
|
+
# @return [::Integer]
|
82
82
|
# Signed seconds of the span of time. Must be from -315,576,000,000
|
83
83
|
# to +315,576,000,000 inclusive. Note: these bounds are computed from:
|
84
84
|
# 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
|
85
85
|
# @!attribute [rw] nanos
|
86
|
-
# @return [Integer]
|
86
|
+
# @return [::Integer]
|
87
87
|
# Signed fractions of a second at nanosecond resolution of the span
|
88
88
|
# of time. Durations less than one second are represented with a 0
|
89
89
|
# `seconds` field and a positive or negative `nanos` field. For durations
|
@@ -91,8 +91,8 @@ module Google
|
|
91
91
|
# of the same sign as the `seconds` field. Must be from -999,999,999
|
92
92
|
# to +999,999,999 inclusive.
|
93
93
|
class Duration
|
94
|
-
include Google::Protobuf::MessageExts
|
95
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
94
|
+
include ::Google::Protobuf::MessageExts
|
95
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
96
96
|
end
|
97
97
|
end
|
98
98
|
end
|
@@ -29,8 +29,8 @@ module Google
|
|
29
29
|
#
|
30
30
|
# The JSON representation for `Empty` is empty JSON object `{}`.
|
31
31
|
class Empty
|
32
|
-
include Google::Protobuf::MessageExts
|
33
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
32
|
+
include ::Google::Protobuf::MessageExts
|
33
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
34
34
|
end
|
35
35
|
end
|
36
36
|
end
|
@@ -219,11 +219,11 @@ module Google
|
|
219
219
|
# request should verify the included field paths, and return an
|
220
220
|
# `INVALID_ARGUMENT` error if any path is unmappable.
|
221
221
|
# @!attribute [rw] paths
|
222
|
-
# @return [Array
|
222
|
+
# @return [::Array<::String>]
|
223
223
|
# The set of field mask paths.
|
224
224
|
class FieldMask
|
225
|
-
include Google::Protobuf::MessageExts
|
226
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
225
|
+
include ::Google::Protobuf::MessageExts
|
226
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
227
227
|
end
|
228
228
|
end
|
229
229
|
end
|
@@ -102,19 +102,19 @@ module Google
|
|
102
102
|
# http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
|
103
103
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
104
104
|
# @!attribute [rw] seconds
|
105
|
-
# @return [Integer]
|
105
|
+
# @return [::Integer]
|
106
106
|
# Represents seconds of UTC time since Unix epoch
|
107
107
|
# 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
|
108
108
|
# 9999-12-31T23:59:59Z inclusive.
|
109
109
|
# @!attribute [rw] nanos
|
110
|
-
# @return [Integer]
|
110
|
+
# @return [::Integer]
|
111
111
|
# Non-negative fractions of a second at nanosecond resolution. Negative
|
112
112
|
# second values with fractions must still have non-negative nanos values
|
113
113
|
# that count forward in time. Must be from 0 to 999,999,999
|
114
114
|
# inclusive.
|
115
115
|
class Timestamp
|
116
|
-
include Google::Protobuf::MessageExts
|
117
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
116
|
+
include ::Google::Protobuf::MessageExts
|
117
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
118
118
|
end
|
119
119
|
end
|
120
120
|
end
|
@@ -27,20 +27,20 @@ module Google
|
|
27
27
|
# You can find out more about this error model and how to work with it in the
|
28
28
|
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
29
29
|
# @!attribute [rw] code
|
30
|
-
# @return [Integer]
|
30
|
+
# @return [::Integer]
|
31
31
|
# The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
|
32
32
|
# @!attribute [rw] message
|
33
|
-
# @return [String]
|
33
|
+
# @return [::String]
|
34
34
|
# A developer-facing error message, which should be in English. Any
|
35
35
|
# user-facing error message should be localized and sent in the
|
36
|
-
# {Google::Rpc::Status#details google.rpc.Status.details} field, or localized by the client.
|
36
|
+
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized by the client.
|
37
37
|
# @!attribute [rw] details
|
38
|
-
# @return [Array
|
38
|
+
# @return [::Array<::Google::Protobuf::Any>]
|
39
39
|
# A list of messages that carry the error details. There is a common set of
|
40
40
|
# message types for APIs to use.
|
41
41
|
class Status
|
42
|
-
include Google::Protobuf::MessageExts
|
43
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
42
|
+
include ::Google::Protobuf::MessageExts
|
43
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
44
44
|
end
|
45
45
|
end
|
46
46
|
end
|
@@ -28,23 +28,23 @@ module Google
|
|
28
28
|
# * A year on its own, with zero month and day values
|
29
29
|
# * A year and month value, with a zero day, e.g. a credit card expiration date
|
30
30
|
#
|
31
|
-
# Related types are {Google::Type::TimeOfDay google.type.TimeOfDay} and `google.protobuf.Timestamp`.
|
31
|
+
# Related types are {::Google::Type::TimeOfDay google.type.TimeOfDay} and `google.protobuf.Timestamp`.
|
32
32
|
# @!attribute [rw] year
|
33
|
-
# @return [Integer]
|
33
|
+
# @return [::Integer]
|
34
34
|
# Year of date. Must be from 1 to 9999, or 0 if specifying a date without
|
35
35
|
# a year.
|
36
36
|
# @!attribute [rw] month
|
37
|
-
# @return [Integer]
|
37
|
+
# @return [::Integer]
|
38
38
|
# Month of year. Must be from 1 to 12, or 0 if specifying a year without a
|
39
39
|
# month and day.
|
40
40
|
# @!attribute [rw] day
|
41
|
-
# @return [Integer]
|
41
|
+
# @return [::Integer]
|
42
42
|
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
43
43
|
# if specifying a year by itself or a year and month where the day is not
|
44
44
|
# significant.
|
45
45
|
class Date
|
46
|
-
include Google::Protobuf::MessageExts
|
47
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
46
|
+
include ::Google::Protobuf::MessageExts
|
47
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
48
48
|
end
|
49
49
|
end
|
50
50
|
end
|
@@ -21,24 +21,24 @@ module Google
|
|
21
21
|
module Type
|
22
22
|
# Represents a time of day. The date and time zone are either not significant
|
23
23
|
# or are specified elsewhere. An API may choose to allow leap seconds. Related
|
24
|
-
# types are {Google::Type::Date google.type.Date} and `google.protobuf.Timestamp`.
|
24
|
+
# types are {::Google::Type::Date google.type.Date} and `google.protobuf.Timestamp`.
|
25
25
|
# @!attribute [rw] hours
|
26
|
-
# @return [Integer]
|
26
|
+
# @return [::Integer]
|
27
27
|
# Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
|
28
28
|
# to allow the value "24:00:00" for scenarios like business closing time.
|
29
29
|
# @!attribute [rw] minutes
|
30
|
-
# @return [Integer]
|
30
|
+
# @return [::Integer]
|
31
31
|
# Minutes of hour of day. Must be from 0 to 59.
|
32
32
|
# @!attribute [rw] seconds
|
33
|
-
# @return [Integer]
|
33
|
+
# @return [::Integer]
|
34
34
|
# Seconds of minutes of the time. Must normally be from 0 to 59. An API may
|
35
35
|
# allow the value 60 if it allows leap-seconds.
|
36
36
|
# @!attribute [rw] nanos
|
37
|
-
# @return [Integer]
|
37
|
+
# @return [::Integer]
|
38
38
|
# Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
|
39
39
|
class TimeOfDay
|
40
|
-
include Google::Protobuf::MessageExts
|
41
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
40
|
+
include ::Google::Protobuf::MessageExts
|
41
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
42
42
|
end
|
43
43
|
end
|
44
44
|
end
|
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.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -58,14 +58,42 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '5.
|
61
|
+
version: '5.14'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '5.
|
68
|
+
version: '5.14'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: minitest-focus
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.1'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.1'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: minitest-rg
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '5.2'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '5.2'
|
69
97
|
- !ruby/object:Gem::Dependency
|
70
98
|
name: rake
|
71
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -134,7 +162,6 @@ files:
|
|
134
162
|
- LICENSE.md
|
135
163
|
- README.md
|
136
164
|
- lib/google-cloud-dlp-v2.rb
|
137
|
-
- lib/google/cloud/common_resources_pb.rb
|
138
165
|
- lib/google/cloud/dlp/v2.rb
|
139
166
|
- lib/google/cloud/dlp/v2/dlp_service.rb
|
140
167
|
- lib/google/cloud/dlp/v2/dlp_service/client.rb
|
@@ -177,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
177
204
|
- !ruby/object:Gem::Version
|
178
205
|
version: '0'
|
179
206
|
requirements: []
|
180
|
-
rubygems_version: 3.
|
207
|
+
rubygems_version: 3.1.3
|
181
208
|
signing_key:
|
182
209
|
specification_version: 4
|
183
210
|
summary: API Client library for the Cloud Data Loss Prevention (DLP) V2 API
|
@@ -1,15 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/cloud/common_resources.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
require 'google/api/resource_pb'
|
7
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
-
add_file("google/cloud/common_resources.proto", :syntax => :proto3) do
|
9
|
-
end
|
10
|
-
end
|
11
|
-
|
12
|
-
module Google
|
13
|
-
module Cloud
|
14
|
-
end
|
15
|
-
end
|