google-apis-safebrowsing_v4 0.16.0 → 0.17.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.17.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230212"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,301 +22,293 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module SafebrowsingV4
|
24
24
|
|
25
|
-
class
|
25
|
+
class GoogleProtobufEmpty
|
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 GoogleSecuritySafebrowsingV4Checksum
|
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 GoogleSecuritySafebrowsingV4ClientInfo
|
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 GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest
|
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 GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest
|
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 GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestConstraints
|
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 GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse
|
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 GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse
|
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 GoogleSecuritySafebrowsingV4FindFullHashesRequest
|
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 GoogleSecuritySafebrowsingV4FindFullHashesResponse
|
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 GoogleSecuritySafebrowsingV4FindThreatMatchesRequest
|
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 GoogleSecuritySafebrowsingV4FindThreatMatchesResponse
|
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 GoogleSecuritySafebrowsingV4ListThreatListsResponse
|
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 GoogleSecuritySafebrowsingV4RawHashes
|
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 GoogleSecuritySafebrowsingV4RawIndices
|
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 GoogleSecuritySafebrowsingV4RiceDeltaEncoding
|
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 GoogleSecuritySafebrowsingV4ThreatEntry
|
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 GoogleSecuritySafebrowsingV4ThreatEntryMetadata
|
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 GoogleSecuritySafebrowsingV4ThreatEntryMetadataMetadataEntry
|
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 GoogleSecuritySafebrowsingV4ThreatEntrySet
|
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 GoogleSecuritySafebrowsingV4ThreatHit
|
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 GoogleSecuritySafebrowsingV4ThreatHitThreatSource
|
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 GoogleSecuritySafebrowsingV4ThreatHitUserInfo
|
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 GoogleSecuritySafebrowsingV4ThreatInfo
|
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 GoogleSecuritySafebrowsingV4ThreatListDescriptor
|
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 GoogleSecuritySafebrowsingV4ThreatMatch
|
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 GoogleProtobufEmpty
|
182
182
|
# @private
|
183
183
|
class Representation < Google::Apis::Core::JsonRepresentation
|
184
|
-
property :sha256, :base64 => true, as: 'sha256'
|
185
184
|
end
|
186
185
|
end
|
187
186
|
|
188
|
-
class
|
187
|
+
class GoogleSecuritySafebrowsingV4Checksum
|
189
188
|
# @private
|
190
189
|
class Representation < Google::Apis::Core::JsonRepresentation
|
191
|
-
property :
|
192
|
-
property :client_version, as: 'clientVersion'
|
193
|
-
end
|
194
|
-
end
|
195
|
-
|
196
|
-
class Constraints
|
197
|
-
# @private
|
198
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
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'
|
190
|
+
property :sha256, :base64 => true, as: 'sha256'
|
205
191
|
end
|
206
192
|
end
|
207
193
|
|
208
|
-
class
|
194
|
+
class GoogleSecuritySafebrowsingV4ClientInfo
|
209
195
|
# @private
|
210
196
|
class Representation < Google::Apis::Core::JsonRepresentation
|
197
|
+
property :client_id, as: 'clientId'
|
198
|
+
property :client_version, as: 'clientVersion'
|
211
199
|
end
|
212
200
|
end
|
213
201
|
|
214
|
-
class
|
202
|
+
class GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest
|
215
203
|
# @private
|
216
204
|
class Representation < Google::Apis::Core::JsonRepresentation
|
217
|
-
property :client, as: 'client', class: Google::Apis::SafebrowsingV4::
|
205
|
+
property :client, as: 'client', class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ClientInfo, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ClientInfo::Representation
|
218
206
|
|
219
|
-
collection :list_update_requests, as: 'listUpdateRequests', class: Google::Apis::SafebrowsingV4::
|
207
|
+
collection :list_update_requests, as: 'listUpdateRequests', class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest::Representation
|
220
208
|
|
221
209
|
end
|
222
210
|
end
|
223
211
|
|
224
|
-
class
|
212
|
+
class GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest
|
225
213
|
# @private
|
226
214
|
class Representation < Google::Apis::Core::JsonRepresentation
|
227
|
-
|
215
|
+
property :constraints, as: 'constraints', class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestConstraints, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestConstraints::Representation
|
228
216
|
|
229
|
-
property :
|
217
|
+
property :platform_type, as: 'platformType'
|
218
|
+
property :state, :base64 => true, as: 'state'
|
219
|
+
property :threat_entry_type, as: 'threatEntryType'
|
220
|
+
property :threat_type, as: 'threatType'
|
230
221
|
end
|
231
222
|
end
|
232
223
|
|
233
|
-
class
|
224
|
+
class GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestConstraints
|
234
225
|
# @private
|
235
226
|
class Representation < Google::Apis::Core::JsonRepresentation
|
236
|
-
property :
|
237
|
-
|
238
|
-
property :
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
227
|
+
property :device_location, as: 'deviceLocation'
|
228
|
+
property :language, as: 'language'
|
229
|
+
property :max_database_entries, as: 'maxDatabaseEntries'
|
230
|
+
property :max_update_entries, as: 'maxUpdateEntries'
|
231
|
+
property :region, as: 'region'
|
232
|
+
collection :supported_compressions, as: 'supportedCompressions'
|
243
233
|
end
|
244
234
|
end
|
245
235
|
|
246
|
-
class
|
236
|
+
class GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse
|
247
237
|
# @private
|
248
238
|
class Representation < Google::Apis::Core::JsonRepresentation
|
249
|
-
collection :
|
239
|
+
collection :list_update_responses, as: 'listUpdateResponses', class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse::Representation
|
250
240
|
|
251
241
|
property :minimum_wait_duration, as: 'minimumWaitDuration'
|
252
|
-
property :negative_cache_duration, as: 'negativeCacheDuration'
|
253
242
|
end
|
254
243
|
end
|
255
244
|
|
256
|
-
class
|
245
|
+
class GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse
|
257
246
|
# @private
|
258
247
|
class Representation < Google::Apis::Core::JsonRepresentation
|
259
|
-
|
248
|
+
collection :additions, as: 'additions', class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntrySet, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntrySet::Representation
|
249
|
+
|
250
|
+
property :checksum, as: 'checksum', class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4Checksum, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4Checksum::Representation
|
260
251
|
|
261
|
-
property :
|
252
|
+
property :new_client_state, :base64 => true, as: 'newClientState'
|
253
|
+
property :platform_type, as: 'platformType'
|
254
|
+
collection :removals, as: 'removals', class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntrySet, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntrySet::Representation
|
262
255
|
|
256
|
+
property :response_type, as: 'responseType'
|
257
|
+
property :threat_entry_type, as: 'threatEntryType'
|
258
|
+
property :threat_type, as: 'threatType'
|
263
259
|
end
|
264
260
|
end
|
265
261
|
|
266
|
-
class
|
262
|
+
class GoogleSecuritySafebrowsingV4FindFullHashesRequest
|
267
263
|
# @private
|
268
264
|
class Representation < Google::Apis::Core::JsonRepresentation
|
269
|
-
|
265
|
+
property :api_client, as: 'apiClient', class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ClientInfo, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ClientInfo::Representation
|
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
|
270
271
|
|
271
272
|
end
|
272
273
|
end
|
273
274
|
|
274
|
-
class
|
275
|
+
class GoogleSecuritySafebrowsingV4FindFullHashesResponse
|
275
276
|
# @private
|
276
277
|
class Representation < Google::Apis::Core::JsonRepresentation
|
277
|
-
collection :
|
278
|
+
collection :matches, as: 'matches', class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatMatch, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatMatch::Representation
|
278
279
|
|
280
|
+
property :minimum_wait_duration, as: 'minimumWaitDuration'
|
281
|
+
property :negative_cache_duration, as: 'negativeCacheDuration'
|
279
282
|
end
|
280
283
|
end
|
281
284
|
|
282
|
-
class
|
285
|
+
class GoogleSecuritySafebrowsingV4FindThreatMatchesRequest
|
283
286
|
# @private
|
284
287
|
class Representation < Google::Apis::Core::JsonRepresentation
|
285
|
-
property :
|
288
|
+
property :client, as: 'client', class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ClientInfo, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ClientInfo::Representation
|
289
|
+
|
290
|
+
property :threat_info, as: 'threatInfo', class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatInfo, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatInfo::Representation
|
286
291
|
|
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'
|
291
292
|
end
|
292
293
|
end
|
293
294
|
|
294
|
-
class
|
295
|
+
class GoogleSecuritySafebrowsingV4FindThreatMatchesResponse
|
295
296
|
# @private
|
296
297
|
class Representation < Google::Apis::Core::JsonRepresentation
|
297
|
-
collection :
|
298
|
+
collection :matches, as: 'matches', class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatMatch, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatMatch::Representation
|
298
299
|
|
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'
|
308
300
|
end
|
309
301
|
end
|
310
302
|
|
311
|
-
class
|
303
|
+
class GoogleSecuritySafebrowsingV4ListThreatListsResponse
|
312
304
|
# @private
|
313
305
|
class Representation < Google::Apis::Core::JsonRepresentation
|
314
|
-
|
315
|
-
|
306
|
+
collection :threat_lists, as: 'threatLists', class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatListDescriptor, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatListDescriptor::Representation
|
307
|
+
|
316
308
|
end
|
317
309
|
end
|
318
310
|
|
319
|
-
class
|
311
|
+
class GoogleSecuritySafebrowsingV4RawHashes
|
320
312
|
# @private
|
321
313
|
class Representation < Google::Apis::Core::JsonRepresentation
|
322
314
|
property :prefix_size, as: 'prefixSize'
|
@@ -324,14 +316,14 @@ module Google
|
|
324
316
|
end
|
325
317
|
end
|
326
318
|
|
327
|
-
class
|
319
|
+
class GoogleSecuritySafebrowsingV4RawIndices
|
328
320
|
# @private
|
329
321
|
class Representation < Google::Apis::Core::JsonRepresentation
|
330
322
|
collection :indices, as: 'indices'
|
331
323
|
end
|
332
324
|
end
|
333
325
|
|
334
|
-
class
|
326
|
+
class GoogleSecuritySafebrowsingV4RiceDeltaEncoding
|
335
327
|
# @private
|
336
328
|
class Representation < Google::Apis::Core::JsonRepresentation
|
337
329
|
property :encoded_data, :base64 => true, as: 'encodedData'
|
@@ -341,7 +333,7 @@ module Google
|
|
341
333
|
end
|
342
334
|
end
|
343
335
|
|
344
|
-
class
|
336
|
+
class GoogleSecuritySafebrowsingV4ThreatEntry
|
345
337
|
# @private
|
346
338
|
class Representation < Google::Apis::Core::JsonRepresentation
|
347
339
|
property :digest, :base64 => true, as: 'digest'
|
@@ -350,57 +342,83 @@ module Google
|
|
350
342
|
end
|
351
343
|
end
|
352
344
|
|
353
|
-
class
|
345
|
+
class GoogleSecuritySafebrowsingV4ThreatEntryMetadata
|
354
346
|
# @private
|
355
347
|
class Representation < Google::Apis::Core::JsonRepresentation
|
356
|
-
collection :entries, as: 'entries', class: Google::Apis::SafebrowsingV4::
|
348
|
+
collection :entries, as: 'entries', class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntryMetadataMetadataEntry, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntryMetadataMetadataEntry::Representation
|
357
349
|
|
358
350
|
end
|
359
351
|
end
|
360
352
|
|
361
|
-
class
|
353
|
+
class GoogleSecuritySafebrowsingV4ThreatEntryMetadataMetadataEntry
|
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
|
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::GoogleSecuritySafebrowsingV4RawHashes, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4RawHashes::Representation
|
366
366
|
|
367
|
-
property :raw_indices, as: 'rawIndices', class: Google::Apis::SafebrowsingV4::
|
367
|
+
property :raw_indices, as: 'rawIndices', class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4RawIndices, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4RawIndices::Representation
|
368
368
|
|
369
|
-
property :rice_hashes, as: 'riceHashes', class: Google::Apis::SafebrowsingV4::
|
369
|
+
property :rice_hashes, as: 'riceHashes', class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4RiceDeltaEncoding, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4RiceDeltaEncoding::Representation
|
370
370
|
|
371
|
-
property :rice_indices, as: 'riceIndices', class: Google::Apis::SafebrowsingV4::
|
371
|
+
property :rice_indices, as: 'riceIndices', class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4RiceDeltaEncoding, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4RiceDeltaEncoding::Representation
|
372
372
|
|
373
373
|
end
|
374
374
|
end
|
375
375
|
|
376
|
-
class
|
376
|
+
class GoogleSecuritySafebrowsingV4ThreatHit
|
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::GoogleSecuritySafebrowsingV4ClientInfo, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ClientInfo::Representation
|
380
380
|
|
381
|
-
property :entry, as: 'entry', class: Google::Apis::SafebrowsingV4::
|
381
|
+
property :entry, as: 'entry', class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntry, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntry::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::GoogleSecuritySafebrowsingV4ThreatHitThreatSource, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatHitThreatSource::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::GoogleSecuritySafebrowsingV4ThreatHitUserInfo, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatHitUserInfo::Representation
|
388
388
|
|
389
389
|
end
|
390
390
|
end
|
391
391
|
|
392
|
-
class
|
392
|
+
class GoogleSecuritySafebrowsingV4ThreatHitThreatSource
|
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
|
393
411
|
# @private
|
394
412
|
class Representation < Google::Apis::Core::JsonRepresentation
|
395
413
|
collection :platform_types, as: 'platformTypes'
|
396
|
-
collection :threat_entries, as: 'threatEntries', class: Google::Apis::SafebrowsingV4::
|
414
|
+
collection :threat_entries, as: 'threatEntries', class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntry, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntry::Representation
|
397
415
|
|
398
416
|
collection :threat_entry_types, as: 'threatEntryTypes'
|
399
417
|
collection :threat_types, as: 'threatTypes'
|
400
418
|
end
|
401
419
|
end
|
402
420
|
|
403
|
-
class
|
421
|
+
class GoogleSecuritySafebrowsingV4ThreatListDescriptor
|
404
422
|
# @private
|
405
423
|
class Representation < Google::Apis::Core::JsonRepresentation
|
406
424
|
property :platform_type, as: 'platformType'
|
@@ -409,37 +427,19 @@ module Google
|
|
409
427
|
end
|
410
428
|
end
|
411
429
|
|
412
|
-
class
|
430
|
+
class GoogleSecuritySafebrowsingV4ThreatMatch
|
413
431
|
# @private
|
414
432
|
class Representation < Google::Apis::Core::JsonRepresentation
|
415
433
|
property :cache_duration, as: 'cacheDuration'
|
416
434
|
property :platform_type, as: 'platformType'
|
417
|
-
property :threat, as: 'threat', class: Google::Apis::SafebrowsingV4::
|
435
|
+
property :threat, as: 'threat', class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntry, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntry::Representation
|
418
436
|
|
419
|
-
property :threat_entry_metadata, as: 'threatEntryMetadata', class: Google::Apis::SafebrowsingV4::
|
437
|
+
property :threat_entry_metadata, as: 'threatEntryMetadata', class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntryMetadata, decorator: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntryMetadata::Representation
|
420
438
|
|
421
439
|
property :threat_entry_type, as: 'threatEntryType'
|
422
440
|
property :threat_type, as: 'threatType'
|
423
441
|
end
|
424
442
|
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
|