google-cloud-web_risk-v1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,335 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2020 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module WebRisk
23
+ module V1
24
+ # Describes an API diff request.
25
+ # @!attribute [rw] threat_type
26
+ # @return [Google::Cloud::WebRisk::V1::ThreatType]
27
+ # Required. The threat list to update. Only a single ThreatType should be specified.
28
+ # @!attribute [rw] version_token
29
+ # @return [String]
30
+ # The current version token of the client for the requested list (the
31
+ # client version that was received from the last successful diff).
32
+ # If the client does not have a version token (this is the first time calling
33
+ # ComputeThreatListDiff), this may be left empty and a full database
34
+ # snapshot will be returned.
35
+ # @!attribute [rw] constraints
36
+ # @return [Google::Cloud::WebRisk::V1::ComputeThreatListDiffRequest::Constraints]
37
+ # Required. The constraints associated with this request.
38
+ class ComputeThreatListDiffRequest
39
+ include Google::Protobuf::MessageExts
40
+ extend Google::Protobuf::MessageExts::ClassMethods
41
+
42
+ # The constraints for this diff.
43
+ # @!attribute [rw] max_diff_entries
44
+ # @return [Integer]
45
+ # The maximum size in number of entries. The diff will not contain more
46
+ # entries than this value. This should be a power of 2 between 2**10 and
47
+ # 2**20. If zero, no diff size limit is set.
48
+ # @!attribute [rw] max_database_entries
49
+ # @return [Integer]
50
+ # Sets the maximum number of entries that the client is willing to have
51
+ # in the local database. This should be a power of 2 between 2**10 and
52
+ # 2**20. If zero, no database size limit is set.
53
+ # @!attribute [rw] supported_compressions
54
+ # @return [Array<Google::Cloud::WebRisk::V1::CompressionType>]
55
+ # The compression types supported by the client.
56
+ class Constraints
57
+ include Google::Protobuf::MessageExts
58
+ extend Google::Protobuf::MessageExts::ClassMethods
59
+ end
60
+ end
61
+
62
+ # @!attribute [rw] response_type
63
+ # @return [Google::Cloud::WebRisk::V1::ComputeThreatListDiffResponse::ResponseType]
64
+ # The type of response. This may indicate that an action must be taken by the
65
+ # client when the response is received.
66
+ # @!attribute [rw] additions
67
+ # @return [Google::Cloud::WebRisk::V1::ThreatEntryAdditions]
68
+ # A set of entries to add to a local threat type's list.
69
+ # @!attribute [rw] removals
70
+ # @return [Google::Cloud::WebRisk::V1::ThreatEntryRemovals]
71
+ # A set of entries to remove from a local threat type's list.
72
+ # This field may be empty.
73
+ # @!attribute [rw] new_version_token
74
+ # @return [String]
75
+ # The new opaque client version token. This should be retained by the client
76
+ # and passed into the next call of ComputeThreatListDiff as 'version_token'.
77
+ # A separate version token should be stored and used for each threatList.
78
+ # @!attribute [rw] checksum
79
+ # @return [Google::Cloud::WebRisk::V1::ComputeThreatListDiffResponse::Checksum]
80
+ # The expected SHA256 hash of the client state; that is, of the sorted list
81
+ # of all hashes present in the database after applying the provided diff.
82
+ # If the client state doesn't match the expected state, the client must
83
+ # discard this diff and retry later.
84
+ # @!attribute [rw] recommended_next_diff
85
+ # @return [Google::Protobuf::Timestamp]
86
+ # The soonest the client should wait before issuing any diff
87
+ # request. Querying sooner is unlikely to produce a meaningful diff.
88
+ # Waiting longer is acceptable considering the use case.
89
+ # If this field is not set clients may update as soon as they want.
90
+ class ComputeThreatListDiffResponse
91
+ include Google::Protobuf::MessageExts
92
+ extend Google::Protobuf::MessageExts::ClassMethods
93
+
94
+ # The expected state of a client's local database.
95
+ # @!attribute [rw] sha256
96
+ # @return [String]
97
+ # The SHA256 hash of the client state; that is, of the sorted list of all
98
+ # hashes present in the database.
99
+ class Checksum
100
+ include Google::Protobuf::MessageExts
101
+ extend Google::Protobuf::MessageExts::ClassMethods
102
+ end
103
+
104
+ # The type of response sent to the client.
105
+ module ResponseType
106
+ # Unknown.
107
+ RESPONSE_TYPE_UNSPECIFIED = 0
108
+
109
+ # Partial updates are applied to the client's existing local database.
110
+ DIFF = 1
111
+
112
+ # Full updates resets the client's entire local database. This means
113
+ # that either the client had no state, was seriously out-of-date,
114
+ # or the client is believed to be corrupt.
115
+ RESET = 2
116
+ end
117
+ end
118
+
119
+ # Request to check URI entries against threatLists.
120
+ # @!attribute [rw] uri
121
+ # @return [String]
122
+ # Required. The URI to be checked for matches.
123
+ # @!attribute [rw] threat_types
124
+ # @return [Array<Google::Cloud::WebRisk::V1::ThreatType>]
125
+ # Required. The ThreatLists to search in. Multiple ThreatLists may be specified.
126
+ class SearchUrisRequest
127
+ include Google::Protobuf::MessageExts
128
+ extend Google::Protobuf::MessageExts::ClassMethods
129
+ end
130
+
131
+ # @!attribute [rw] threat
132
+ # @return [Google::Cloud::WebRisk::V1::SearchUrisResponse::ThreatUri]
133
+ # The threat list matches. This may be empty if the URI is on no list.
134
+ class SearchUrisResponse
135
+ include Google::Protobuf::MessageExts
136
+ extend Google::Protobuf::MessageExts::ClassMethods
137
+
138
+ # Contains threat information on a matching uri.
139
+ # @!attribute [rw] threat_types
140
+ # @return [Array<Google::Cloud::WebRisk::V1::ThreatType>]
141
+ # The ThreatList this threat belongs to.
142
+ # @!attribute [rw] expire_time
143
+ # @return [Google::Protobuf::Timestamp]
144
+ # The cache lifetime for the returned match. Clients must not cache this
145
+ # response past this timestamp to avoid false positives.
146
+ class ThreatUri
147
+ include Google::Protobuf::MessageExts
148
+ extend Google::Protobuf::MessageExts::ClassMethods
149
+ end
150
+ end
151
+
152
+ # Request to return full hashes matched by the provided hash prefixes.
153
+ # @!attribute [rw] hash_prefix
154
+ # @return [String]
155
+ # A hash prefix, consisting of the most significant 4-32 bytes of a SHA256
156
+ # hash. For JSON requests, this field is base64-encoded.
157
+ # @!attribute [rw] threat_types
158
+ # @return [Array<Google::Cloud::WebRisk::V1::ThreatType>]
159
+ # Required. The ThreatLists to search in. Multiple ThreatLists may be specified.
160
+ class SearchHashesRequest
161
+ include Google::Protobuf::MessageExts
162
+ extend Google::Protobuf::MessageExts::ClassMethods
163
+ end
164
+
165
+ # @!attribute [rw] threats
166
+ # @return [Array<Google::Cloud::WebRisk::V1::SearchHashesResponse::ThreatHash>]
167
+ # The full hashes that matched the requested prefixes.
168
+ # The hash will be populated in the key.
169
+ # @!attribute [rw] negative_expire_time
170
+ # @return [Google::Protobuf::Timestamp]
171
+ # For requested entities that did not match the threat list, how long to
172
+ # cache the response until.
173
+ class SearchHashesResponse
174
+ include Google::Protobuf::MessageExts
175
+ extend Google::Protobuf::MessageExts::ClassMethods
176
+
177
+ # Contains threat information on a matching hash.
178
+ # @!attribute [rw] threat_types
179
+ # @return [Array<Google::Cloud::WebRisk::V1::ThreatType>]
180
+ # The ThreatList this threat belongs to.
181
+ # This must contain at least one entry.
182
+ # @!attribute [rw] hash
183
+ # @return [String]
184
+ # A 32 byte SHA256 hash. This field is in binary format. For JSON
185
+ # requests, hashes are base64-encoded.
186
+ # @!attribute [rw] expire_time
187
+ # @return [Google::Protobuf::Timestamp]
188
+ # The cache lifetime for the returned match. Clients must not cache this
189
+ # response past this timestamp to avoid false positives.
190
+ class ThreatHash
191
+ include Google::Protobuf::MessageExts
192
+ extend Google::Protobuf::MessageExts::ClassMethods
193
+ end
194
+ end
195
+
196
+ # Contains the set of entries to add to a local database.
197
+ # May contain a combination of compressed and raw data in a single response.
198
+ # @!attribute [rw] raw_hashes
199
+ # @return [Array<Google::Cloud::WebRisk::V1::RawHashes>]
200
+ # The raw SHA256-formatted entries.
201
+ # Repeated to allow returning sets of hashes with different prefix sizes.
202
+ # @!attribute [rw] rice_hashes
203
+ # @return [Google::Cloud::WebRisk::V1::RiceDeltaEncoding]
204
+ # The encoded 4-byte prefixes of SHA256-formatted entries, using a
205
+ # Golomb-Rice encoding. The hashes are converted to uint32, sorted in
206
+ # ascending order, then delta encoded and stored as encoded_data.
207
+ class ThreatEntryAdditions
208
+ include Google::Protobuf::MessageExts
209
+ extend Google::Protobuf::MessageExts::ClassMethods
210
+ end
211
+
212
+ # Contains the set of entries to remove from a local database.
213
+ # @!attribute [rw] raw_indices
214
+ # @return [Google::Cloud::WebRisk::V1::RawIndices]
215
+ # The raw removal indices for a local list.
216
+ # @!attribute [rw] rice_indices
217
+ # @return [Google::Cloud::WebRisk::V1::RiceDeltaEncoding]
218
+ # The encoded local, lexicographically-sorted list indices, using a
219
+ # Golomb-Rice encoding. Used for sending compressed removal indices. The
220
+ # removal indices (uint32) are sorted in ascending order, then delta encoded
221
+ # and stored as encoded_data.
222
+ class ThreatEntryRemovals
223
+ include Google::Protobuf::MessageExts
224
+ extend Google::Protobuf::MessageExts::ClassMethods
225
+ end
226
+
227
+ # A set of raw indices to remove from a local list.
228
+ # @!attribute [rw] indices
229
+ # @return [Array<Integer>]
230
+ # The indices to remove from a lexicographically-sorted local list.
231
+ class RawIndices
232
+ include Google::Protobuf::MessageExts
233
+ extend Google::Protobuf::MessageExts::ClassMethods
234
+ end
235
+
236
+ # The uncompressed threat entries in hash format.
237
+ # Hashes can be anywhere from 4 to 32 bytes in size. A large majority are 4
238
+ # bytes, but some hashes are lengthened if they collide with the hash of a
239
+ # popular URI.
240
+ #
241
+ # Used for sending ThreatEntryAdditons to clients that do not support
242
+ # compression, or when sending non-4-byte hashes to clients that do support
243
+ # compression.
244
+ # @!attribute [rw] prefix_size
245
+ # @return [Integer]
246
+ # The number of bytes for each prefix encoded below. This field can be
247
+ # anywhere from 4 (shortest prefix) to 32 (full SHA256 hash).
248
+ # In practice this is almost always 4, except in exceptional circumstances.
249
+ # @!attribute [rw] raw_hashes
250
+ # @return [String]
251
+ # The hashes, in binary format, concatenated into one long string. Hashes are
252
+ # sorted in lexicographic order. For JSON API users, hashes are
253
+ # base64-encoded.
254
+ class RawHashes
255
+ include Google::Protobuf::MessageExts
256
+ extend Google::Protobuf::MessageExts::ClassMethods
257
+ end
258
+
259
+ # The Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or
260
+ # compressed removal indices.
261
+ # @!attribute [rw] first_value
262
+ # @return [Integer]
263
+ # The offset of the first entry in the encoded data, or, if only a single
264
+ # integer was encoded, that single integer's value. If the field is empty or
265
+ # missing, assume zero.
266
+ # @!attribute [rw] rice_parameter
267
+ # @return [Integer]
268
+ # The Golomb-Rice parameter, which is a number between 2 and 28. This field
269
+ # is missing (that is, zero) if `num_entries` is zero.
270
+ # @!attribute [rw] entry_count
271
+ # @return [Integer]
272
+ # The number of entries that are delta encoded in the encoded data. If only a
273
+ # single integer was encoded, this will be zero and the single value will be
274
+ # stored in `first_value`.
275
+ # @!attribute [rw] encoded_data
276
+ # @return [String]
277
+ # The encoded deltas that are encoded using the Golomb-Rice coder.
278
+ class RiceDeltaEncoding
279
+ include Google::Protobuf::MessageExts
280
+ extend Google::Protobuf::MessageExts::ClassMethods
281
+ end
282
+
283
+ # Wraps a URI that might be displaying phishing content.
284
+ # @!attribute [rw] uri
285
+ # @return [String]
286
+ # Required. The URI that is being reported for phishing content to be analyzed.
287
+ class Submission
288
+ include Google::Protobuf::MessageExts
289
+ extend Google::Protobuf::MessageExts::ClassMethods
290
+ end
291
+
292
+ # Request to send a potentially phishy URI to WebRisk.
293
+ # @!attribute [rw] parent
294
+ # @return [String]
295
+ # Required. The name of the project that is making the submission. This string is in
296
+ # the format "projects/\\{project_number}".
297
+ # @!attribute [rw] submission
298
+ # @return [Google::Cloud::WebRisk::V1::Submission]
299
+ # Required. The submission that contains the content of the phishing report.
300
+ class CreateSubmissionRequest
301
+ include Google::Protobuf::MessageExts
302
+ extend Google::Protobuf::MessageExts::ClassMethods
303
+ end
304
+
305
+ # The type of threat. This maps dirrectly to the threat list a threat may
306
+ # belong to.
307
+ module ThreatType
308
+ # Unknown.
309
+ THREAT_TYPE_UNSPECIFIED = 0
310
+
311
+ # Malware targeting any platform.
312
+ MALWARE = 1
313
+
314
+ # Social engineering targeting any platform.
315
+ SOCIAL_ENGINEERING = 2
316
+
317
+ # Unwanted software targeting any platform.
318
+ UNWANTED_SOFTWARE = 3
319
+ end
320
+
321
+ # The ways in which threat entry sets can be compressed.
322
+ module CompressionType
323
+ # Unknown.
324
+ COMPRESSION_TYPE_UNSPECIFIED = 0
325
+
326
+ # Raw, uncompressed data.
327
+ RAW = 1
328
+
329
+ # Rice-Golomb encoded data.
330
+ RICE = 2
331
+ end
332
+ end
333
+ end
334
+ end
335
+ end
@@ -0,0 +1,120 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2020 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Protobuf
22
+ # A Timestamp represents a point in time independent of any time zone or local
23
+ # calendar, encoded as a count of seconds and fractions of seconds at
24
+ # nanosecond resolution. The count is relative to an epoch at UTC midnight on
25
+ # January 1, 1970, in the proleptic Gregorian calendar which extends the
26
+ # Gregorian calendar backwards to year one.
27
+ #
28
+ # All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
29
+ # second table is needed for interpretation, using a [24-hour linear
30
+ # smear](https://developers.google.com/time/smear).
31
+ #
32
+ # The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
33
+ # restricting to that range, we ensure that we can convert to and from [RFC
34
+ # 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
35
+ #
36
+ # # Examples
37
+ #
38
+ # Example 1: Compute Timestamp from POSIX `time()`.
39
+ #
40
+ # Timestamp timestamp;
41
+ # timestamp.set_seconds(time(NULL));
42
+ # timestamp.set_nanos(0);
43
+ #
44
+ # Example 2: Compute Timestamp from POSIX `gettimeofday()`.
45
+ #
46
+ # struct timeval tv;
47
+ # gettimeofday(&tv, NULL);
48
+ #
49
+ # Timestamp timestamp;
50
+ # timestamp.set_seconds(tv.tv_sec);
51
+ # timestamp.set_nanos(tv.tv_usec * 1000);
52
+ #
53
+ # Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
54
+ #
55
+ # FILETIME ft;
56
+ # GetSystemTimeAsFileTime(&ft);
57
+ # UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
58
+ #
59
+ # // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
60
+ # // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
61
+ # Timestamp timestamp;
62
+ # timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
63
+ # timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
64
+ #
65
+ # Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
66
+ #
67
+ # long millis = System.currentTimeMillis();
68
+ #
69
+ # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
70
+ # .setNanos((int) ((millis % 1000) * 1000000)).build();
71
+ #
72
+ #
73
+ # Example 5: Compute Timestamp from current time in Python.
74
+ #
75
+ # timestamp = Timestamp()
76
+ # timestamp.GetCurrentTime()
77
+ #
78
+ # # JSON Mapping
79
+ #
80
+ # In JSON format, the Timestamp type is encoded as a string in the
81
+ # [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
82
+ # format is "\\{year}-\\{month}-\\{day}T\\{hour}:\\{min}:\\{sec}[.\\{frac_sec}]Z"
83
+ # where \\{year} is always expressed using four digits while \\{month}, \\{day},
84
+ # \\{hour}, \\{min}, and \\{sec} are zero-padded to two digits each. The fractional
85
+ # seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
86
+ # are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
87
+ # is required. A proto3 JSON serializer should always use UTC (as indicated by
88
+ # "Z") when printing the Timestamp type and a proto3 JSON parser should be
89
+ # able to accept both UTC and other timezones (as indicated by an offset).
90
+ #
91
+ # For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
92
+ # 01:30 UTC on January 15, 2017.
93
+ #
94
+ # In JavaScript, one can convert a Date object to this format using the
95
+ # standard
96
+ # [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
97
+ # method. In Python, a standard `datetime.datetime` object can be converted
98
+ # to this format using
99
+ # [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
100
+ # the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
101
+ # the Joda Time's [`ISODateTimeFormat.dateTime()`](
102
+ # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
103
+ # ) to obtain a formatter capable of generating timestamps in this format.
104
+ # @!attribute [rw] seconds
105
+ # @return [Integer]
106
+ # Represents seconds of UTC time since Unix epoch
107
+ # 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
108
+ # 9999-12-31T23:59:59Z inclusive.
109
+ # @!attribute [rw] nanos
110
+ # @return [Integer]
111
+ # Non-negative fractions of a second at nanosecond resolution. Negative
112
+ # second values with fractions must still have non-negative nanos values
113
+ # that count forward in time. Must be from 0 to 999,999,999
114
+ # inclusive.
115
+ class Timestamp
116
+ include Google::Protobuf::MessageExts
117
+ extend Google::Protobuf::MessageExts::ClassMethods
118
+ end
119
+ end
120
+ end
metadata ADDED
@@ -0,0 +1,174 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: google-cloud-web_risk-v1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Google LLC
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-04-24 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: gapic-common
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: google-cloud-errors
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: google-style
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 1.24.0
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 1.24.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: minitest
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '5.10'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '5.10'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '12.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '12.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: redcarpet
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '3.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '3.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: simplecov
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0.18'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '0.18'
111
+ - !ruby/object:Gem::Dependency
112
+ name: yard
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '0.9'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '0.9'
125
+ description: Web Risk is an enterprise security product that lets your client applications
126
+ check URLs against Google's constantly updated lists of unsafe web resources.
127
+ email: googleapis-packages@google.com
128
+ executables: []
129
+ extensions: []
130
+ extra_rdoc_files: []
131
+ files:
132
+ - ".yardopts"
133
+ - AUTHENTICATION.md
134
+ - LICENSE.md
135
+ - README.md
136
+ - lib/google-cloud-web_risk-v1.rb
137
+ - lib/google/cloud/common_resources_pb.rb
138
+ - lib/google/cloud/web_risk/v1.rb
139
+ - lib/google/cloud/web_risk/v1/version.rb
140
+ - lib/google/cloud/web_risk/v1/web_risk_service.rb
141
+ - lib/google/cloud/web_risk/v1/web_risk_service/client.rb
142
+ - lib/google/cloud/web_risk/v1/web_risk_service/credentials.rb
143
+ - lib/google/cloud/web_risk/v1/web_risk_service/paths.rb
144
+ - lib/google/cloud/webrisk/v1/webrisk_pb.rb
145
+ - lib/google/cloud/webrisk/v1/webrisk_services_pb.rb
146
+ - proto_docs/README.md
147
+ - proto_docs/google/api/field_behavior.rb
148
+ - proto_docs/google/api/resource.rb
149
+ - proto_docs/google/cloud/webrisk/v1/webrisk.rb
150
+ - proto_docs/google/protobuf/timestamp.rb
151
+ homepage: https://github.com/googleapis/google-cloud-ruby
152
+ licenses:
153
+ - Apache-2.0
154
+ metadata: {}
155
+ post_install_message:
156
+ rdoc_options: []
157
+ require_paths:
158
+ - lib
159
+ required_ruby_version: !ruby/object:Gem::Requirement
160
+ requirements:
161
+ - - ">="
162
+ - !ruby/object:Gem::Version
163
+ version: '2.4'
164
+ required_rubygems_version: !ruby/object:Gem::Requirement
165
+ requirements:
166
+ - - ">="
167
+ - !ruby/object:Gem::Version
168
+ version: '0'
169
+ requirements: []
170
+ rubygems_version: 3.0.6
171
+ signing_key:
172
+ specification_version: 4
173
+ summary: API Client library for the Web Risk V1 API
174
+ test_files: []