google-apis-safebrowsing_v4 0.15.0 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SafebrowsingV4
|
18
18
|
# Version of the google-apis-safebrowsing_v4 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.16.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.11.
|
22
|
+
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230129"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,293 +22,301 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module SafebrowsingV4
|
24
24
|
|
25
|
-
class
|
25
|
+
class Checksum
|
26
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
27
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
-
class
|
31
|
+
class ClientInfo
|
32
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
33
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
-
class
|
37
|
+
class Constraints
|
38
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
39
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
-
class
|
43
|
+
class Empty
|
44
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
45
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
-
class
|
49
|
+
class FetchThreatListUpdatesRequest
|
50
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
51
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
-
class
|
55
|
+
class FetchThreatListUpdatesResponse
|
56
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
57
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
59
59
|
end
|
60
60
|
|
61
|
-
class
|
61
|
+
class FindFullHashesRequest
|
62
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
63
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
-
class
|
67
|
+
class FindFullHashesResponse
|
68
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
69
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
-
class
|
73
|
+
class FindThreatMatchesRequest
|
74
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
75
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
77
77
|
end
|
78
78
|
|
79
|
-
class
|
79
|
+
class FindThreatMatchesResponse
|
80
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
81
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
-
class
|
85
|
+
class ListThreatListsResponse
|
86
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
87
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
89
89
|
end
|
90
90
|
|
91
|
-
class
|
91
|
+
class ListUpdateRequest
|
92
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
93
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
95
95
|
end
|
96
96
|
|
97
|
-
class
|
97
|
+
class ListUpdateResponse
|
98
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
99
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
-
class
|
103
|
+
class MetadataEntry
|
104
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
105
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
107
107
|
end
|
108
108
|
|
109
|
-
class
|
109
|
+
class RawHashes
|
110
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
111
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
113
113
|
end
|
114
114
|
|
115
|
-
class
|
115
|
+
class RawIndices
|
116
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
117
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
119
119
|
end
|
120
120
|
|
121
|
-
class
|
121
|
+
class RiceDeltaEncoding
|
122
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
123
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
125
125
|
end
|
126
126
|
|
127
|
-
class
|
127
|
+
class ThreatEntry
|
128
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
129
|
|
130
130
|
include Google::Apis::Core::JsonObjectSupport
|
131
131
|
end
|
132
132
|
|
133
|
-
class
|
133
|
+
class ThreatEntryMetadata
|
134
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
135
|
|
136
136
|
include Google::Apis::Core::JsonObjectSupport
|
137
137
|
end
|
138
138
|
|
139
|
-
class
|
139
|
+
class ThreatEntrySet
|
140
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
141
|
|
142
142
|
include Google::Apis::Core::JsonObjectSupport
|
143
143
|
end
|
144
144
|
|
145
|
-
class
|
145
|
+
class ThreatHit
|
146
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
147
|
|
148
148
|
include Google::Apis::Core::JsonObjectSupport
|
149
149
|
end
|
150
150
|
|
151
|
-
class
|
151
|
+
class ThreatInfo
|
152
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
153
|
|
154
154
|
include Google::Apis::Core::JsonObjectSupport
|
155
155
|
end
|
156
156
|
|
157
|
-
class
|
157
|
+
class ThreatListDescriptor
|
158
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
159
|
|
160
160
|
include Google::Apis::Core::JsonObjectSupport
|
161
161
|
end
|
162
162
|
|
163
|
-
class
|
163
|
+
class ThreatMatch
|
164
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
165
|
|
166
166
|
include Google::Apis::Core::JsonObjectSupport
|
167
167
|
end
|
168
168
|
|
169
|
-
class
|
169
|
+
class ThreatSource
|
170
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
171
|
|
172
172
|
include Google::Apis::Core::JsonObjectSupport
|
173
173
|
end
|
174
174
|
|
175
|
-
class
|
175
|
+
class UserInfo
|
176
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
177
|
|
178
178
|
include Google::Apis::Core::JsonObjectSupport
|
179
179
|
end
|
180
180
|
|
181
|
-
class
|
181
|
+
class Checksum
|
182
182
|
# @private
|
183
183
|
class Representation < Google::Apis::Core::JsonRepresentation
|
184
|
+
property :sha256, :base64 => true, as: 'sha256'
|
184
185
|
end
|
185
186
|
end
|
186
187
|
|
187
|
-
class
|
188
|
+
class ClientInfo
|
188
189
|
# @private
|
189
190
|
class Representation < Google::Apis::Core::JsonRepresentation
|
190
|
-
property :
|
191
|
+
property :client_id, as: 'clientId'
|
192
|
+
property :client_version, as: 'clientVersion'
|
191
193
|
end
|
192
194
|
end
|
193
195
|
|
194
|
-
class
|
196
|
+
class Constraints
|
195
197
|
# @private
|
196
198
|
class Representation < Google::Apis::Core::JsonRepresentation
|
197
|
-
property :
|
198
|
-
property :
|
199
|
+
property :device_location, as: 'deviceLocation'
|
200
|
+
property :language, as: 'language'
|
201
|
+
property :max_database_entries, as: 'maxDatabaseEntries'
|
202
|
+
property :max_update_entries, as: 'maxUpdateEntries'
|
203
|
+
property :region, as: 'region'
|
204
|
+
collection :supported_compressions, as: 'supportedCompressions'
|
199
205
|
end
|
200
206
|
end
|
201
207
|
|
202
|
-
class
|
208
|
+
class Empty
|
203
209
|
# @private
|
204
210
|
class Representation < Google::Apis::Core::JsonRepresentation
|
205
|
-
|
211
|
+
end
|
212
|
+
end
|
213
|
+
|
214
|
+
class FetchThreatListUpdatesRequest
|
215
|
+
# @private
|
216
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
217
|
+
property :client, as: 'client', class: Google::Apis::SafebrowsingV4::ClientInfo, decorator: Google::Apis::SafebrowsingV4::ClientInfo::Representation
|
206
218
|
|
207
|
-
collection :list_update_requests, as: 'listUpdateRequests', class: Google::Apis::SafebrowsingV4::
|
219
|
+
collection :list_update_requests, as: 'listUpdateRequests', class: Google::Apis::SafebrowsingV4::ListUpdateRequest, decorator: Google::Apis::SafebrowsingV4::ListUpdateRequest::Representation
|
208
220
|
|
209
221
|
end
|
210
222
|
end
|
211
223
|
|
212
|
-
class
|
224
|
+
class FetchThreatListUpdatesResponse
|
213
225
|
# @private
|
214
226
|
class Representation < Google::Apis::Core::JsonRepresentation
|
215
|
-
|
227
|
+
collection :list_update_responses, as: 'listUpdateResponses', class: Google::Apis::SafebrowsingV4::ListUpdateResponse, decorator: Google::Apis::SafebrowsingV4::ListUpdateResponse::Representation
|
216
228
|
|
217
|
-
property :
|
218
|
-
property :state, :base64 => true, as: 'state'
|
219
|
-
property :threat_entry_type, as: 'threatEntryType'
|
220
|
-
property :threat_type, as: 'threatType'
|
229
|
+
property :minimum_wait_duration, as: 'minimumWaitDuration'
|
221
230
|
end
|
222
231
|
end
|
223
232
|
|
224
|
-
class
|
233
|
+
class FindFullHashesRequest
|
225
234
|
# @private
|
226
235
|
class Representation < Google::Apis::Core::JsonRepresentation
|
227
|
-
property :
|
228
|
-
|
229
|
-
property :
|
230
|
-
|
231
|
-
|
232
|
-
|
236
|
+
property :api_client, as: 'apiClient', class: Google::Apis::SafebrowsingV4::ClientInfo, decorator: Google::Apis::SafebrowsingV4::ClientInfo::Representation
|
237
|
+
|
238
|
+
property :client, as: 'client', class: Google::Apis::SafebrowsingV4::ClientInfo, decorator: Google::Apis::SafebrowsingV4::ClientInfo::Representation
|
239
|
+
|
240
|
+
collection :client_states, as: 'clientStates'
|
241
|
+
property :threat_info, as: 'threatInfo', class: Google::Apis::SafebrowsingV4::ThreatInfo, decorator: Google::Apis::SafebrowsingV4::ThreatInfo::Representation
|
242
|
+
|
233
243
|
end
|
234
244
|
end
|
235
245
|
|
236
|
-
class
|
246
|
+
class FindFullHashesResponse
|
237
247
|
# @private
|
238
248
|
class Representation < Google::Apis::Core::JsonRepresentation
|
239
|
-
collection :
|
249
|
+
collection :matches, as: 'matches', class: Google::Apis::SafebrowsingV4::ThreatMatch, decorator: Google::Apis::SafebrowsingV4::ThreatMatch::Representation
|
240
250
|
|
241
251
|
property :minimum_wait_duration, as: 'minimumWaitDuration'
|
252
|
+
property :negative_cache_duration, as: 'negativeCacheDuration'
|
242
253
|
end
|
243
254
|
end
|
244
255
|
|
245
|
-
class
|
256
|
+
class FindThreatMatchesRequest
|
246
257
|
# @private
|
247
258
|
class Representation < Google::Apis::Core::JsonRepresentation
|
248
|
-
|
249
|
-
|
250
|
-
property :checksum, as: 'checksum', class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4Checksum, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4Checksum::Representation
|
259
|
+
property :client, as: 'client', class: Google::Apis::SafebrowsingV4::ClientInfo, decorator: Google::Apis::SafebrowsingV4::ClientInfo::Representation
|
251
260
|
|
252
|
-
property :
|
253
|
-
property :platform_type, as: 'platformType'
|
254
|
-
collection :removals, as: 'removals', class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntrySet, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntrySet::Representation
|
261
|
+
property :threat_info, as: 'threatInfo', class: Google::Apis::SafebrowsingV4::ThreatInfo, decorator: Google::Apis::SafebrowsingV4::ThreatInfo::Representation
|
255
262
|
|
256
|
-
property :response_type, as: 'responseType'
|
257
|
-
property :threat_entry_type, as: 'threatEntryType'
|
258
|
-
property :threat_type, as: 'threatType'
|
259
263
|
end
|
260
264
|
end
|
261
265
|
|
262
|
-
class
|
266
|
+
class FindThreatMatchesResponse
|
263
267
|
# @private
|
264
268
|
class Representation < Google::Apis::Core::JsonRepresentation
|
265
|
-
|
266
|
-
|
267
|
-
property :client, as: 'client', class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ClientInfo, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ClientInfo::Representation
|
268
|
-
|
269
|
-
collection :client_states, as: 'clientStates'
|
270
|
-
property :threat_info, as: 'threatInfo', class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatInfo, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatInfo::Representation
|
269
|
+
collection :matches, as: 'matches', class: Google::Apis::SafebrowsingV4::ThreatMatch, decorator: Google::Apis::SafebrowsingV4::ThreatMatch::Representation
|
271
270
|
|
272
271
|
end
|
273
272
|
end
|
274
273
|
|
275
|
-
class
|
274
|
+
class ListThreatListsResponse
|
276
275
|
# @private
|
277
276
|
class Representation < Google::Apis::Core::JsonRepresentation
|
278
|
-
collection :
|
277
|
+
collection :threat_lists, as: 'threatLists', class: Google::Apis::SafebrowsingV4::ThreatListDescriptor, decorator: Google::Apis::SafebrowsingV4::ThreatListDescriptor::Representation
|
279
278
|
|
280
|
-
property :minimum_wait_duration, as: 'minimumWaitDuration'
|
281
|
-
property :negative_cache_duration, as: 'negativeCacheDuration'
|
282
279
|
end
|
283
280
|
end
|
284
281
|
|
285
|
-
class
|
282
|
+
class ListUpdateRequest
|
286
283
|
# @private
|
287
284
|
class Representation < Google::Apis::Core::JsonRepresentation
|
288
|
-
property :
|
289
|
-
|
290
|
-
property :threat_info, as: 'threatInfo', class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatInfo, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatInfo::Representation
|
285
|
+
property :constraints, as: 'constraints', class: Google::Apis::SafebrowsingV4::Constraints, decorator: Google::Apis::SafebrowsingV4::Constraints::Representation
|
291
286
|
|
287
|
+
property :platform_type, as: 'platformType'
|
288
|
+
property :state, :base64 => true, as: 'state'
|
289
|
+
property :threat_entry_type, as: 'threatEntryType'
|
290
|
+
property :threat_type, as: 'threatType'
|
292
291
|
end
|
293
292
|
end
|
294
293
|
|
295
|
-
class
|
294
|
+
class ListUpdateResponse
|
296
295
|
# @private
|
297
296
|
class Representation < Google::Apis::Core::JsonRepresentation
|
298
|
-
collection :
|
297
|
+
collection :additions, as: 'additions', class: Google::Apis::SafebrowsingV4::ThreatEntrySet, decorator: Google::Apis::SafebrowsingV4::ThreatEntrySet::Representation
|
299
298
|
|
299
|
+
property :checksum, as: 'checksum', class: Google::Apis::SafebrowsingV4::Checksum, decorator: Google::Apis::SafebrowsingV4::Checksum::Representation
|
300
|
+
|
301
|
+
property :new_client_state, :base64 => true, as: 'newClientState'
|
302
|
+
property :platform_type, as: 'platformType'
|
303
|
+
collection :removals, as: 'removals', class: Google::Apis::SafebrowsingV4::ThreatEntrySet, decorator: Google::Apis::SafebrowsingV4::ThreatEntrySet::Representation
|
304
|
+
|
305
|
+
property :response_type, as: 'responseType'
|
306
|
+
property :threat_entry_type, as: 'threatEntryType'
|
307
|
+
property :threat_type, as: 'threatType'
|
300
308
|
end
|
301
309
|
end
|
302
310
|
|
303
|
-
class
|
311
|
+
class MetadataEntry
|
304
312
|
# @private
|
305
313
|
class Representation < Google::Apis::Core::JsonRepresentation
|
306
|
-
|
307
|
-
|
314
|
+
property :key, :base64 => true, as: 'key'
|
315
|
+
property :value, :base64 => true, as: 'value'
|
308
316
|
end
|
309
317
|
end
|
310
318
|
|
311
|
-
class
|
319
|
+
class RawHashes
|
312
320
|
# @private
|
313
321
|
class Representation < Google::Apis::Core::JsonRepresentation
|
314
322
|
property :prefix_size, as: 'prefixSize'
|
@@ -316,14 +324,14 @@ module Google
|
|
316
324
|
end
|
317
325
|
end
|
318
326
|
|
319
|
-
class
|
327
|
+
class RawIndices
|
320
328
|
# @private
|
321
329
|
class Representation < Google::Apis::Core::JsonRepresentation
|
322
330
|
collection :indices, as: 'indices'
|
323
331
|
end
|
324
332
|
end
|
325
333
|
|
326
|
-
class
|
334
|
+
class RiceDeltaEncoding
|
327
335
|
# @private
|
328
336
|
class Representation < Google::Apis::Core::JsonRepresentation
|
329
337
|
property :encoded_data, :base64 => true, as: 'encodedData'
|
@@ -333,7 +341,7 @@ module Google
|
|
333
341
|
end
|
334
342
|
end
|
335
343
|
|
336
|
-
class
|
344
|
+
class ThreatEntry
|
337
345
|
# @private
|
338
346
|
class Representation < Google::Apis::Core::JsonRepresentation
|
339
347
|
property :digest, :base64 => true, as: 'digest'
|
@@ -342,83 +350,57 @@ module Google
|
|
342
350
|
end
|
343
351
|
end
|
344
352
|
|
345
|
-
class
|
353
|
+
class ThreatEntryMetadata
|
346
354
|
# @private
|
347
355
|
class Representation < Google::Apis::Core::JsonRepresentation
|
348
|
-
collection :entries, as: 'entries', class: Google::Apis::SafebrowsingV4::
|
356
|
+
collection :entries, as: 'entries', class: Google::Apis::SafebrowsingV4::MetadataEntry, decorator: Google::Apis::SafebrowsingV4::MetadataEntry::Representation
|
349
357
|
|
350
358
|
end
|
351
359
|
end
|
352
360
|
|
353
|
-
class
|
354
|
-
# @private
|
355
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
356
|
-
property :key, :base64 => true, as: 'key'
|
357
|
-
property :value, :base64 => true, as: 'value'
|
358
|
-
end
|
359
|
-
end
|
360
|
-
|
361
|
-
class GoogleSecuritySafebrowsingV4ThreatEntrySet
|
361
|
+
class ThreatEntrySet
|
362
362
|
# @private
|
363
363
|
class Representation < Google::Apis::Core::JsonRepresentation
|
364
364
|
property :compression_type, as: 'compressionType'
|
365
|
-
property :raw_hashes, as: 'rawHashes', class: Google::Apis::SafebrowsingV4::
|
365
|
+
property :raw_hashes, as: 'rawHashes', class: Google::Apis::SafebrowsingV4::RawHashes, decorator: Google::Apis::SafebrowsingV4::RawHashes::Representation
|
366
366
|
|
367
|
-
property :raw_indices, as: 'rawIndices', class: Google::Apis::SafebrowsingV4::
|
367
|
+
property :raw_indices, as: 'rawIndices', class: Google::Apis::SafebrowsingV4::RawIndices, decorator: Google::Apis::SafebrowsingV4::RawIndices::Representation
|
368
368
|
|
369
|
-
property :rice_hashes, as: 'riceHashes', class: Google::Apis::SafebrowsingV4::
|
369
|
+
property :rice_hashes, as: 'riceHashes', class: Google::Apis::SafebrowsingV4::RiceDeltaEncoding, decorator: Google::Apis::SafebrowsingV4::RiceDeltaEncoding::Representation
|
370
370
|
|
371
|
-
property :rice_indices, as: 'riceIndices', class: Google::Apis::SafebrowsingV4::
|
371
|
+
property :rice_indices, as: 'riceIndices', class: Google::Apis::SafebrowsingV4::RiceDeltaEncoding, decorator: Google::Apis::SafebrowsingV4::RiceDeltaEncoding::Representation
|
372
372
|
|
373
373
|
end
|
374
374
|
end
|
375
375
|
|
376
|
-
class
|
376
|
+
class ThreatHit
|
377
377
|
# @private
|
378
378
|
class Representation < Google::Apis::Core::JsonRepresentation
|
379
|
-
property :client_info, as: 'clientInfo', class: Google::Apis::SafebrowsingV4::
|
379
|
+
property :client_info, as: 'clientInfo', class: Google::Apis::SafebrowsingV4::ClientInfo, decorator: Google::Apis::SafebrowsingV4::ClientInfo::Representation
|
380
380
|
|
381
|
-
property :entry, as: 'entry', class: Google::Apis::SafebrowsingV4::
|
381
|
+
property :entry, as: 'entry', class: Google::Apis::SafebrowsingV4::ThreatEntry, decorator: Google::Apis::SafebrowsingV4::ThreatEntry::Representation
|
382
382
|
|
383
383
|
property :platform_type, as: 'platformType'
|
384
|
-
collection :resources, as: 'resources', class: Google::Apis::SafebrowsingV4::
|
384
|
+
collection :resources, as: 'resources', class: Google::Apis::SafebrowsingV4::ThreatSource, decorator: Google::Apis::SafebrowsingV4::ThreatSource::Representation
|
385
385
|
|
386
386
|
property :threat_type, as: 'threatType'
|
387
|
-
property :user_info, as: 'userInfo', class: Google::Apis::SafebrowsingV4::
|
387
|
+
property :user_info, as: 'userInfo', class: Google::Apis::SafebrowsingV4::UserInfo, decorator: Google::Apis::SafebrowsingV4::UserInfo::Representation
|
388
388
|
|
389
389
|
end
|
390
390
|
end
|
391
391
|
|
392
|
-
class
|
393
|
-
# @private
|
394
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
395
|
-
property :referrer, as: 'referrer'
|
396
|
-
property :remote_ip, as: 'remoteIp'
|
397
|
-
property :type, as: 'type'
|
398
|
-
property :url, as: 'url'
|
399
|
-
end
|
400
|
-
end
|
401
|
-
|
402
|
-
class GoogleSecuritySafebrowsingV4ThreatHitUserInfo
|
403
|
-
# @private
|
404
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
405
|
-
property :region_code, as: 'regionCode'
|
406
|
-
property :user_id, :base64 => true, as: 'userId'
|
407
|
-
end
|
408
|
-
end
|
409
|
-
|
410
|
-
class GoogleSecuritySafebrowsingV4ThreatInfo
|
392
|
+
class ThreatInfo
|
411
393
|
# @private
|
412
394
|
class Representation < Google::Apis::Core::JsonRepresentation
|
413
395
|
collection :platform_types, as: 'platformTypes'
|
414
|
-
collection :threat_entries, as: 'threatEntries', class: Google::Apis::SafebrowsingV4::
|
396
|
+
collection :threat_entries, as: 'threatEntries', class: Google::Apis::SafebrowsingV4::ThreatEntry, decorator: Google::Apis::SafebrowsingV4::ThreatEntry::Representation
|
415
397
|
|
416
398
|
collection :threat_entry_types, as: 'threatEntryTypes'
|
417
399
|
collection :threat_types, as: 'threatTypes'
|
418
400
|
end
|
419
401
|
end
|
420
402
|
|
421
|
-
class
|
403
|
+
class ThreatListDescriptor
|
422
404
|
# @private
|
423
405
|
class Representation < Google::Apis::Core::JsonRepresentation
|
424
406
|
property :platform_type, as: 'platformType'
|
@@ -427,19 +409,37 @@ module Google
|
|
427
409
|
end
|
428
410
|
end
|
429
411
|
|
430
|
-
class
|
412
|
+
class ThreatMatch
|
431
413
|
# @private
|
432
414
|
class Representation < Google::Apis::Core::JsonRepresentation
|
433
415
|
property :cache_duration, as: 'cacheDuration'
|
434
416
|
property :platform_type, as: 'platformType'
|
435
|
-
property :threat, as: 'threat', class: Google::Apis::SafebrowsingV4::
|
417
|
+
property :threat, as: 'threat', class: Google::Apis::SafebrowsingV4::ThreatEntry, decorator: Google::Apis::SafebrowsingV4::ThreatEntry::Representation
|
436
418
|
|
437
|
-
property :threat_entry_metadata, as: 'threatEntryMetadata', class: Google::Apis::SafebrowsingV4::
|
419
|
+
property :threat_entry_metadata, as: 'threatEntryMetadata', class: Google::Apis::SafebrowsingV4::ThreatEntryMetadata, decorator: Google::Apis::SafebrowsingV4::ThreatEntryMetadata::Representation
|
438
420
|
|
439
421
|
property :threat_entry_type, as: 'threatEntryType'
|
440
422
|
property :threat_type, as: 'threatType'
|
441
423
|
end
|
442
424
|
end
|
425
|
+
|
426
|
+
class ThreatSource
|
427
|
+
# @private
|
428
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
429
|
+
property :referrer, as: 'referrer'
|
430
|
+
property :remote_ip, as: 'remoteIp'
|
431
|
+
property :type, as: 'type'
|
432
|
+
property :url, as: 'url'
|
433
|
+
end
|
434
|
+
end
|
435
|
+
|
436
|
+
class UserInfo
|
437
|
+
# @private
|
438
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
439
|
+
property :region_code, as: 'regionCode'
|
440
|
+
property :user_id, :base64 => true, as: 'userId'
|
441
|
+
end
|
442
|
+
end
|
443
443
|
end
|
444
444
|
end
|
445
445
|
end
|