@googleapis/safebrowsing 4.0.0 → 5.0.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.
package/v4.ts CHANGED
@@ -136,10 +136,14 @@ export namespace safebrowsing_v4 {
136
136
  }
137
137
  }
138
138
 
139
+ /**
140
+ * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
141
+ */
142
+ export interface Schema$GoogleProtobufEmpty {}
139
143
  /**
140
144
  * The expected state of a client's local database.
141
145
  */
142
- export interface Schema$Checksum {
146
+ export interface Schema$GoogleSecuritySafebrowsingV4Checksum {
143
147
  /**
144
148
  * The SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database.
145
149
  */
@@ -148,7 +152,7 @@ export namespace safebrowsing_v4 {
148
152
  /**
149
153
  * The client metadata associated with Safe Browsing API requests.
150
154
  */
151
- export interface Schema$ClientInfo {
155
+ export interface Schema$GoogleSecuritySafebrowsingV4ClientInfo {
152
156
  /**
153
157
  * A client ID that (hopefully) uniquely identifies the client implementation of the Safe Browsing API.
154
158
  */
@@ -158,10 +162,48 @@ export namespace safebrowsing_v4 {
158
162
  */
159
163
  clientVersion?: string | null;
160
164
  }
165
+ /**
166
+ * Describes a Safe Browsing API update request. Clients can request updates for multiple lists in a single request. The server may not respond to all requests, if the server has no updates for that list. NOTE: Field index 2 is unused. NEXT: 5
167
+ */
168
+ export interface Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest {
169
+ /**
170
+ * The client metadata.
171
+ */
172
+ client?: Schema$GoogleSecuritySafebrowsingV4ClientInfo;
173
+ /**
174
+ * The requested threat list updates.
175
+ */
176
+ listUpdateRequests?: Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest[];
177
+ }
178
+ /**
179
+ * A single list update request.
180
+ */
181
+ export interface Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest {
182
+ /**
183
+ * The constraints associated with this request.
184
+ */
185
+ constraints?: Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestConstraints;
186
+ /**
187
+ * The type of platform at risk by entries present in the list.
188
+ */
189
+ platformType?: string | null;
190
+ /**
191
+ * The current state of the client for the requested list (the encrypted client state that was received from the last successful list update).
192
+ */
193
+ state?: string | null;
194
+ /**
195
+ * The types of entries present in the list.
196
+ */
197
+ threatEntryType?: string | null;
198
+ /**
199
+ * The type of threat posed by entries present in the list.
200
+ */
201
+ threatType?: string | null;
202
+ }
161
203
  /**
162
204
  * The constraints for this update.
163
205
  */
164
- export interface Schema$Constraints {
206
+ export interface Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestConstraints {
165
207
  /**
166
208
  * A client's physical location, expressed as a ISO 31166-1 alpha-2 region code.
167
209
  */
@@ -187,45 +229,65 @@ export namespace safebrowsing_v4 {
187
229
  */
188
230
  supportedCompressions?: string[] | null;
189
231
  }
232
+ export interface Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse {
233
+ /**
234
+ * The list updates requested by the clients. The number of responses here may be less than the number of requests sent by clients. This is the case, for example, if the server has no updates for a particular list.
235
+ */
236
+ listUpdateResponses?: Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse[];
237
+ /**
238
+ * The minimum duration the client must wait before issuing any update request. If this field is not set clients may update as soon as they want.
239
+ */
240
+ minimumWaitDuration?: string | null;
241
+ }
190
242
  /**
191
- * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
192
- */
193
- export interface Schema$Empty {}
194
- /**
195
- * Describes a Safe Browsing API update request. Clients can request updates for multiple lists in a single request. The server may not respond to all requests, if the server has no updates for that list. NOTE: Field index 2 is unused. NEXT: 5
243
+ * An update to an individual list.
196
244
  */
197
- export interface Schema$FetchThreatListUpdatesRequest {
245
+ export interface Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse {
198
246
  /**
199
- * The client metadata.
247
+ * A set of entries to add to a local threat type's list. Repeated to allow for a combination of compressed and raw data to be sent in a single response.
200
248
  */
201
- client?: Schema$ClientInfo;
249
+ additions?: Schema$GoogleSecuritySafebrowsingV4ThreatEntrySet[];
202
250
  /**
203
- * The requested threat list updates.
251
+ * The expected SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database after applying the provided update. If the client state doesn't match the expected state, the client must disregard this update and retry later.
204
252
  */
205
- listUpdateRequests?: Schema$ListUpdateRequest[];
206
- }
207
- export interface Schema$FetchThreatListUpdatesResponse {
253
+ checksum?: Schema$GoogleSecuritySafebrowsingV4Checksum;
208
254
  /**
209
- * The list updates requested by the clients. The number of responses here may be less than the number of requests sent by clients. This is the case, for example, if the server has no updates for a particular list.
255
+ * The new client state, in encrypted format. Opaque to clients.
210
256
  */
211
- listUpdateResponses?: Schema$ListUpdateResponse[];
257
+ newClientState?: string | null;
212
258
  /**
213
- * The minimum duration the client must wait before issuing any update request. If this field is not set clients may update as soon as they want.
259
+ * The platform type for which data is returned.
214
260
  */
215
- minimumWaitDuration?: string | null;
261
+ platformType?: string | null;
262
+ /**
263
+ * A set of entries to remove from a local threat type's list. In practice, this field is empty or contains exactly one ThreatEntrySet.
264
+ */
265
+ removals?: Schema$GoogleSecuritySafebrowsingV4ThreatEntrySet[];
266
+ /**
267
+ * The type of response. This may indicate that an action is required by the client when the response is received.
268
+ */
269
+ responseType?: string | null;
270
+ /**
271
+ * The format of the threats.
272
+ */
273
+ threatEntryType?: string | null;
274
+ /**
275
+ * The threat type for which data is returned.
276
+ */
277
+ threatType?: string | null;
216
278
  }
217
279
  /**
218
280
  * Request to return full hashes matched by the provided hash prefixes.
219
281
  */
220
- export interface Schema$FindFullHashesRequest {
282
+ export interface Schema$GoogleSecuritySafebrowsingV4FindFullHashesRequest {
221
283
  /**
222
284
  * Client metadata associated with callers of higher-level APIs built on top of the client's implementation.
223
285
  */
224
- apiClient?: Schema$ClientInfo;
286
+ apiClient?: Schema$GoogleSecuritySafebrowsingV4ClientInfo;
225
287
  /**
226
288
  * The client metadata.
227
289
  */
228
- client?: Schema$ClientInfo;
290
+ client?: Schema$GoogleSecuritySafebrowsingV4ClientInfo;
229
291
  /**
230
292
  * The current client states for each of the client's local threat lists.
231
293
  */
@@ -233,13 +295,13 @@ export namespace safebrowsing_v4 {
233
295
  /**
234
296
  * The lists and hashes to be checked.
235
297
  */
236
- threatInfo?: Schema$ThreatInfo;
298
+ threatInfo?: Schema$GoogleSecuritySafebrowsingV4ThreatInfo;
237
299
  }
238
- export interface Schema$FindFullHashesResponse {
300
+ export interface Schema$GoogleSecuritySafebrowsingV4FindFullHashesResponse {
239
301
  /**
240
302
  * The full hashes that matched the requested prefixes.
241
303
  */
242
- matches?: Schema$ThreatMatch[];
304
+ matches?: Schema$GoogleSecuritySafebrowsingV4ThreatMatch[];
243
305
  /**
244
306
  * The minimum duration the client must wait before issuing any find hashes request. If this field is not set, clients can issue a request as soon as they want.
245
307
  */
@@ -252,107 +314,32 @@ export namespace safebrowsing_v4 {
252
314
  /**
253
315
  * Request to check entries against lists.
254
316
  */
255
- export interface Schema$FindThreatMatchesRequest {
317
+ export interface Schema$GoogleSecuritySafebrowsingV4FindThreatMatchesRequest {
256
318
  /**
257
319
  * The client metadata.
258
320
  */
259
- client?: Schema$ClientInfo;
321
+ client?: Schema$GoogleSecuritySafebrowsingV4ClientInfo;
260
322
  /**
261
323
  * The lists and entries to be checked for matches.
262
324
  */
263
- threatInfo?: Schema$ThreatInfo;
325
+ threatInfo?: Schema$GoogleSecuritySafebrowsingV4ThreatInfo;
264
326
  }
265
- export interface Schema$FindThreatMatchesResponse {
327
+ export interface Schema$GoogleSecuritySafebrowsingV4FindThreatMatchesResponse {
266
328
  /**
267
329
  * The threat list matches.
268
330
  */
269
- matches?: Schema$ThreatMatch[];
331
+ matches?: Schema$GoogleSecuritySafebrowsingV4ThreatMatch[];
270
332
  }
271
- export interface Schema$ListThreatListsResponse {
333
+ export interface Schema$GoogleSecuritySafebrowsingV4ListThreatListsResponse {
272
334
  /**
273
335
  * The lists available for download by the client.
274
336
  */
275
- threatLists?: Schema$ThreatListDescriptor[];
276
- }
277
- /**
278
- * A single list update request.
279
- */
280
- export interface Schema$ListUpdateRequest {
281
- /**
282
- * The constraints associated with this request.
283
- */
284
- constraints?: Schema$Constraints;
285
- /**
286
- * The type of platform at risk by entries present in the list.
287
- */
288
- platformType?: string | null;
289
- /**
290
- * The current state of the client for the requested list (the encrypted client state that was received from the last successful list update).
291
- */
292
- state?: string | null;
293
- /**
294
- * The types of entries present in the list.
295
- */
296
- threatEntryType?: string | null;
297
- /**
298
- * The type of threat posed by entries present in the list.
299
- */
300
- threatType?: string | null;
301
- }
302
- /**
303
- * An update to an individual list.
304
- */
305
- export interface Schema$ListUpdateResponse {
306
- /**
307
- * A set of entries to add to a local threat type's list. Repeated to allow for a combination of compressed and raw data to be sent in a single response.
308
- */
309
- additions?: Schema$ThreatEntrySet[];
310
- /**
311
- * The expected SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database after applying the provided update. If the client state doesn't match the expected state, the client must disregard this update and retry later.
312
- */
313
- checksum?: Schema$Checksum;
314
- /**
315
- * The new client state, in encrypted format. Opaque to clients.
316
- */
317
- newClientState?: string | null;
318
- /**
319
- * The platform type for which data is returned.
320
- */
321
- platformType?: string | null;
322
- /**
323
- * A set of entries to remove from a local threat type's list. In practice, this field is empty or contains exactly one ThreatEntrySet.
324
- */
325
- removals?: Schema$ThreatEntrySet[];
326
- /**
327
- * The type of response. This may indicate that an action is required by the client when the response is received.
328
- */
329
- responseType?: string | null;
330
- /**
331
- * The format of the threats.
332
- */
333
- threatEntryType?: string | null;
334
- /**
335
- * The threat type for which data is returned.
336
- */
337
- threatType?: string | null;
338
- }
339
- /**
340
- * A single metadata entry.
341
- */
342
- export interface Schema$MetadataEntry {
343
- /**
344
- * The metadata entry key. For JSON requests, the key is base64-encoded.
345
- */
346
- key?: string | null;
347
- /**
348
- * The metadata entry value. For JSON requests, the value is base64-encoded.
349
- */
350
- value?: string | null;
337
+ threatLists?: Schema$GoogleSecuritySafebrowsingV4ThreatListDescriptor[];
351
338
  }
352
339
  /**
353
340
  * The uncompressed threat entries in hash format of a particular prefix length. Hashes can be anywhere from 4 to 32 bytes in size. A large majority are 4 bytes, but some hashes are lengthened if they collide with the hash of a popular URL. Used for sending ThreatEntrySet to clients that do not support compression, or when sending non-4-byte hashes to clients that do support compression.
354
341
  */
355
- export interface Schema$RawHashes {
342
+ export interface Schema$GoogleSecuritySafebrowsingV4RawHashes {
356
343
  /**
357
344
  * The number of bytes for each prefix encoded below. This field can be anywhere from 4 (shortest prefix) to 32 (full SHA256 hash).
358
345
  */
@@ -365,7 +352,7 @@ export namespace safebrowsing_v4 {
365
352
  /**
366
353
  * A set of raw indices to remove from a local list.
367
354
  */
368
- export interface Schema$RawIndices {
355
+ export interface Schema$GoogleSecuritySafebrowsingV4RawIndices {
369
356
  /**
370
357
  * The indices to remove from a lexicographically-sorted local list.
371
358
  */
@@ -374,7 +361,7 @@ export namespace safebrowsing_v4 {
374
361
  /**
375
362
  * The Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or compressed removal indices.
376
363
  */
377
- export interface Schema$RiceDeltaEncoding {
364
+ export interface Schema$GoogleSecuritySafebrowsingV4RiceDeltaEncoding {
378
365
  /**
379
366
  * The encoded deltas that are encoded using the Golomb-Rice coder.
380
367
  */
@@ -395,7 +382,7 @@ export namespace safebrowsing_v4 {
395
382
  /**
396
383
  * An individual threat; for example, a malicious URL or its hash representation. Only one of these fields should be set.
397
384
  */
398
- export interface Schema$ThreatEntry {
385
+ export interface Schema$GoogleSecuritySafebrowsingV4ThreatEntry {
399
386
  /**
400
387
  * The digest of an executable in SHA256 format. The API supports both binary and hex digests. For JSON requests, digests are base64-encoded.
401
388
  */
@@ -412,16 +399,29 @@ export namespace safebrowsing_v4 {
412
399
  /**
413
400
  * The metadata associated with a specific threat entry. The client is expected to know the metadata key/value pairs associated with each threat type.
414
401
  */
415
- export interface Schema$ThreatEntryMetadata {
402
+ export interface Schema$GoogleSecuritySafebrowsingV4ThreatEntryMetadata {
416
403
  /**
417
404
  * The metadata entries.
418
405
  */
419
- entries?: Schema$MetadataEntry[];
406
+ entries?: Schema$GoogleSecuritySafebrowsingV4ThreatEntryMetadataMetadataEntry[];
407
+ }
408
+ /**
409
+ * A single metadata entry.
410
+ */
411
+ export interface Schema$GoogleSecuritySafebrowsingV4ThreatEntryMetadataMetadataEntry {
412
+ /**
413
+ * The metadata entry key. For JSON requests, the key is base64-encoded.
414
+ */
415
+ key?: string | null;
416
+ /**
417
+ * The metadata entry value. For JSON requests, the value is base64-encoded.
418
+ */
419
+ value?: string | null;
420
420
  }
421
421
  /**
422
422
  * A set of threats that should be added or removed from a client's local database.
423
423
  */
424
- export interface Schema$ThreatEntrySet {
424
+ export interface Schema$GoogleSecuritySafebrowsingV4ThreatEntrySet {
425
425
  /**
426
426
  * The compression type for the entries in this set.
427
427
  */
@@ -429,29 +429,29 @@ export namespace safebrowsing_v4 {
429
429
  /**
430
430
  * The raw SHA256-formatted entries.
431
431
  */
432
- rawHashes?: Schema$RawHashes;
432
+ rawHashes?: Schema$GoogleSecuritySafebrowsingV4RawHashes;
433
433
  /**
434
434
  * The raw removal indices for a local list.
435
435
  */
436
- rawIndices?: Schema$RawIndices;
436
+ rawIndices?: Schema$GoogleSecuritySafebrowsingV4RawIndices;
437
437
  /**
438
438
  * The encoded 4-byte prefixes of SHA256-formatted entries, using a Golomb-Rice encoding. The hashes are converted to uint32, sorted in ascending order, then delta encoded and stored as encoded_data.
439
439
  */
440
- riceHashes?: Schema$RiceDeltaEncoding;
440
+ riceHashes?: Schema$GoogleSecuritySafebrowsingV4RiceDeltaEncoding;
441
441
  /**
442
442
  * The encoded local, lexicographically-sorted list indices, using a Golomb-Rice encoding. Used for sending compressed removal indices. The removal indices (uint32) are sorted in ascending order, then delta encoded and stored as encoded_data.
443
443
  */
444
- riceIndices?: Schema$RiceDeltaEncoding;
444
+ riceIndices?: Schema$GoogleSecuritySafebrowsingV4RiceDeltaEncoding;
445
445
  }
446
- export interface Schema$ThreatHit {
446
+ export interface Schema$GoogleSecuritySafebrowsingV4ThreatHit {
447
447
  /**
448
448
  * Client-reported identification.
449
449
  */
450
- clientInfo?: Schema$ClientInfo;
450
+ clientInfo?: Schema$GoogleSecuritySafebrowsingV4ClientInfo;
451
451
  /**
452
452
  * The threat entry responsible for the hit. Full hash should be reported for hash-based hits.
453
453
  */
454
- entry?: Schema$ThreatEntry;
454
+ entry?: Schema$GoogleSecuritySafebrowsingV4ThreatEntry;
455
455
  /**
456
456
  * The platform type reported.
457
457
  */
@@ -459,7 +459,7 @@ export namespace safebrowsing_v4 {
459
459
  /**
460
460
  * The resources related to the threat hit.
461
461
  */
462
- resources?: Schema$ThreatSource[];
462
+ resources?: Schema$GoogleSecuritySafebrowsingV4ThreatHitThreatSource[];
463
463
  /**
464
464
  * The threat type reported.
465
465
  */
@@ -467,12 +467,46 @@ export namespace safebrowsing_v4 {
467
467
  /**
468
468
  * Details about the user that encountered the threat.
469
469
  */
470
- userInfo?: Schema$UserInfo;
470
+ userInfo?: Schema$GoogleSecuritySafebrowsingV4ThreatHitUserInfo;
471
+ }
472
+ /**
473
+ * A single resource related to a threat hit.
474
+ */
475
+ export interface Schema$GoogleSecuritySafebrowsingV4ThreatHitThreatSource {
476
+ /**
477
+ * Referrer of the resource. Only set if the referrer is available.
478
+ */
479
+ referrer?: string | null;
480
+ /**
481
+ * The remote IP of the resource in ASCII format. Either IPv4 or IPv6.
482
+ */
483
+ remoteIp?: string | null;
484
+ /**
485
+ * The type of source reported.
486
+ */
487
+ type?: string | null;
488
+ /**
489
+ * The URL of the resource.
490
+ */
491
+ url?: string | null;
492
+ }
493
+ /**
494
+ * Details about the user that encountered the threat.
495
+ */
496
+ export interface Schema$GoogleSecuritySafebrowsingV4ThreatHitUserInfo {
497
+ /**
498
+ * The UN M.49 region code associated with the user's location.
499
+ */
500
+ regionCode?: string | null;
501
+ /**
502
+ * Unique user identifier defined by the client.
503
+ */
504
+ userId?: string | null;
471
505
  }
472
506
  /**
473
507
  * The information regarding one or more threats that a client submits when checking for matches in threat lists.
474
508
  */
475
- export interface Schema$ThreatInfo {
509
+ export interface Schema$GoogleSecuritySafebrowsingV4ThreatInfo {
476
510
  /**
477
511
  * The platform types to be checked.
478
512
  */
@@ -480,7 +514,7 @@ export namespace safebrowsing_v4 {
480
514
  /**
481
515
  * The threat entries to be checked.
482
516
  */
483
- threatEntries?: Schema$ThreatEntry[];
517
+ threatEntries?: Schema$GoogleSecuritySafebrowsingV4ThreatEntry[];
484
518
  /**
485
519
  * The entry types to be checked.
486
520
  */
@@ -493,7 +527,7 @@ export namespace safebrowsing_v4 {
493
527
  /**
494
528
  * Describes an individual threat list. A list is defined by three parameters: the type of threat posed, the type of platform targeted by the threat, and the type of entries in the list.
495
529
  */
496
- export interface Schema$ThreatListDescriptor {
530
+ export interface Schema$GoogleSecuritySafebrowsingV4ThreatListDescriptor {
497
531
  /**
498
532
  * The platform type targeted by the list's entries.
499
533
  */
@@ -510,7 +544,7 @@ export namespace safebrowsing_v4 {
510
544
  /**
511
545
  * A match when checking a threat entry in the Safe Browsing threat lists.
512
546
  */
513
- export interface Schema$ThreatMatch {
547
+ export interface Schema$GoogleSecuritySafebrowsingV4ThreatMatch {
514
548
  /**
515
549
  * The cache lifetime for the returned match. Clients must not cache this response for more than this duration to avoid false positives.
516
550
  */
@@ -522,11 +556,11 @@ export namespace safebrowsing_v4 {
522
556
  /**
523
557
  * The threat matching this threat.
524
558
  */
525
- threat?: Schema$ThreatEntry;
559
+ threat?: Schema$GoogleSecuritySafebrowsingV4ThreatEntry;
526
560
  /**
527
561
  * Optional metadata associated with this threat.
528
562
  */
529
- threatEntryMetadata?: Schema$ThreatEntryMetadata;
563
+ threatEntryMetadata?: Schema$GoogleSecuritySafebrowsingV4ThreatEntryMetadata;
530
564
  /**
531
565
  * The threat entry type matching this threat.
532
566
  */
@@ -536,40 +570,6 @@ export namespace safebrowsing_v4 {
536
570
  */
537
571
  threatType?: string | null;
538
572
  }
539
- /**
540
- * A single resource related to a threat hit.
541
- */
542
- export interface Schema$ThreatSource {
543
- /**
544
- * Referrer of the resource. Only set if the referrer is available.
545
- */
546
- referrer?: string | null;
547
- /**
548
- * The remote IP of the resource in ASCII format. Either IPv4 or IPv6.
549
- */
550
- remoteIp?: string | null;
551
- /**
552
- * The type of source reported.
553
- */
554
- type?: string | null;
555
- /**
556
- * The URL of the resource.
557
- */
558
- url?: string | null;
559
- }
560
- /**
561
- * Details about the user that encountered the threat.
562
- */
563
- export interface Schema$UserInfo {
564
- /**
565
- * The UN M.49 region code associated with the user's location.
566
- */
567
- regionCode?: string | null;
568
- /**
569
- * Unique user identifier defined by the client.
570
- */
571
- userId?: string | null;
572
- }
573
573
 
574
574
  export class Resource$Encodedfullhashes {
575
575
  context: APIRequestContext;
@@ -639,7 +639,7 @@ export namespace safebrowsing_v4 {
639
639
  get(
640
640
  params?: Params$Resource$Encodedfullhashes$Get,
641
641
  options?: MethodOptions
642
- ): GaxiosPromise<Schema$FindFullHashesResponse>;
642
+ ): GaxiosPromise<Schema$GoogleSecuritySafebrowsingV4FindFullHashesResponse>;
643
643
  get(
644
644
  params: Params$Resource$Encodedfullhashes$Get,
645
645
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -649,30 +649,32 @@ export namespace safebrowsing_v4 {
649
649
  params: Params$Resource$Encodedfullhashes$Get,
650
650
  options:
651
651
  | MethodOptions
652
- | BodyResponseCallback<Schema$FindFullHashesResponse>,
653
- callback: BodyResponseCallback<Schema$FindFullHashesResponse>
652
+ | BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FindFullHashesResponse>,
653
+ callback: BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FindFullHashesResponse>
654
654
  ): void;
655
655
  get(
656
656
  params: Params$Resource$Encodedfullhashes$Get,
657
- callback: BodyResponseCallback<Schema$FindFullHashesResponse>
657
+ callback: BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FindFullHashesResponse>
658
+ ): void;
659
+ get(
660
+ callback: BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FindFullHashesResponse>
658
661
  ): void;
659
- get(callback: BodyResponseCallback<Schema$FindFullHashesResponse>): void;
660
662
  get(
661
663
  paramsOrCallback?:
662
664
  | Params$Resource$Encodedfullhashes$Get
663
- | BodyResponseCallback<Schema$FindFullHashesResponse>
665
+ | BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FindFullHashesResponse>
664
666
  | BodyResponseCallback<Readable>,
665
667
  optionsOrCallback?:
666
668
  | MethodOptions
667
669
  | StreamMethodOptions
668
- | BodyResponseCallback<Schema$FindFullHashesResponse>
670
+ | BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FindFullHashesResponse>
669
671
  | BodyResponseCallback<Readable>,
670
672
  callback?:
671
- | BodyResponseCallback<Schema$FindFullHashesResponse>
673
+ | BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FindFullHashesResponse>
672
674
  | BodyResponseCallback<Readable>
673
675
  ):
674
676
  | void
675
- | GaxiosPromise<Schema$FindFullHashesResponse>
677
+ | GaxiosPromise<Schema$GoogleSecuritySafebrowsingV4FindFullHashesResponse>
676
678
  | GaxiosPromise<Readable> {
677
679
  let params = (paramsOrCallback ||
678
680
  {}) as Params$Resource$Encodedfullhashes$Get;
@@ -707,12 +709,14 @@ export namespace safebrowsing_v4 {
707
709
  context: this.context,
708
710
  };
709
711
  if (callback) {
710
- createAPIRequest<Schema$FindFullHashesResponse>(
712
+ createAPIRequest<Schema$GoogleSecuritySafebrowsingV4FindFullHashesResponse>(
711
713
  parameters,
712
714
  callback as BodyResponseCallback<unknown>
713
715
  );
714
716
  } else {
715
- return createAPIRequest<Schema$FindFullHashesResponse>(parameters);
717
+ return createAPIRequest<Schema$GoogleSecuritySafebrowsingV4FindFullHashesResponse>(
718
+ parameters
719
+ );
716
720
  }
717
721
  }
718
722
  }
@@ -800,7 +804,7 @@ export namespace safebrowsing_v4 {
800
804
  get(
801
805
  params?: Params$Resource$Encodedupdates$Get,
802
806
  options?: MethodOptions
803
- ): GaxiosPromise<Schema$FetchThreatListUpdatesResponse>;
807
+ ): GaxiosPromise<Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse>;
804
808
  get(
805
809
  params: Params$Resource$Encodedupdates$Get,
806
810
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -810,32 +814,32 @@ export namespace safebrowsing_v4 {
810
814
  params: Params$Resource$Encodedupdates$Get,
811
815
  options:
812
816
  | MethodOptions
813
- | BodyResponseCallback<Schema$FetchThreatListUpdatesResponse>,
814
- callback: BodyResponseCallback<Schema$FetchThreatListUpdatesResponse>
817
+ | BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse>,
818
+ callback: BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse>
815
819
  ): void;
816
820
  get(
817
821
  params: Params$Resource$Encodedupdates$Get,
818
- callback: BodyResponseCallback<Schema$FetchThreatListUpdatesResponse>
822
+ callback: BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse>
819
823
  ): void;
820
824
  get(
821
- callback: BodyResponseCallback<Schema$FetchThreatListUpdatesResponse>
825
+ callback: BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse>
822
826
  ): void;
823
827
  get(
824
828
  paramsOrCallback?:
825
829
  | Params$Resource$Encodedupdates$Get
826
- | BodyResponseCallback<Schema$FetchThreatListUpdatesResponse>
830
+ | BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse>
827
831
  | BodyResponseCallback<Readable>,
828
832
  optionsOrCallback?:
829
833
  | MethodOptions
830
834
  | StreamMethodOptions
831
- | BodyResponseCallback<Schema$FetchThreatListUpdatesResponse>
835
+ | BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse>
832
836
  | BodyResponseCallback<Readable>,
833
837
  callback?:
834
- | BodyResponseCallback<Schema$FetchThreatListUpdatesResponse>
838
+ | BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse>
835
839
  | BodyResponseCallback<Readable>
836
840
  ):
837
841
  | void
838
- | GaxiosPromise<Schema$FetchThreatListUpdatesResponse>
842
+ | GaxiosPromise<Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse>
839
843
  | GaxiosPromise<Readable> {
840
844
  let params = (paramsOrCallback ||
841
845
  {}) as Params$Resource$Encodedupdates$Get;
@@ -870,12 +874,12 @@ export namespace safebrowsing_v4 {
870
874
  context: this.context,
871
875
  };
872
876
  if (callback) {
873
- createAPIRequest<Schema$FetchThreatListUpdatesResponse>(
877
+ createAPIRequest<Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse>(
874
878
  parameters,
875
879
  callback as BodyResponseCallback<unknown>
876
880
  );
877
881
  } else {
878
- return createAPIRequest<Schema$FetchThreatListUpdatesResponse>(
882
+ return createAPIRequest<Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse>(
879
883
  parameters
880
884
  );
881
885
  }
@@ -971,7 +975,7 @@ export namespace safebrowsing_v4 {
971
975
  find(
972
976
  params?: Params$Resource$Fullhashes$Find,
973
977
  options?: MethodOptions
974
- ): GaxiosPromise<Schema$FindFullHashesResponse>;
978
+ ): GaxiosPromise<Schema$GoogleSecuritySafebrowsingV4FindFullHashesResponse>;
975
979
  find(
976
980
  params: Params$Resource$Fullhashes$Find,
977
981
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -981,30 +985,32 @@ export namespace safebrowsing_v4 {
981
985
  params: Params$Resource$Fullhashes$Find,
982
986
  options:
983
987
  | MethodOptions
984
- | BodyResponseCallback<Schema$FindFullHashesResponse>,
985
- callback: BodyResponseCallback<Schema$FindFullHashesResponse>
988
+ | BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FindFullHashesResponse>,
989
+ callback: BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FindFullHashesResponse>
986
990
  ): void;
987
991
  find(
988
992
  params: Params$Resource$Fullhashes$Find,
989
- callback: BodyResponseCallback<Schema$FindFullHashesResponse>
993
+ callback: BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FindFullHashesResponse>
994
+ ): void;
995
+ find(
996
+ callback: BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FindFullHashesResponse>
990
997
  ): void;
991
- find(callback: BodyResponseCallback<Schema$FindFullHashesResponse>): void;
992
998
  find(
993
999
  paramsOrCallback?:
994
1000
  | Params$Resource$Fullhashes$Find
995
- | BodyResponseCallback<Schema$FindFullHashesResponse>
1001
+ | BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FindFullHashesResponse>
996
1002
  | BodyResponseCallback<Readable>,
997
1003
  optionsOrCallback?:
998
1004
  | MethodOptions
999
1005
  | StreamMethodOptions
1000
- | BodyResponseCallback<Schema$FindFullHashesResponse>
1006
+ | BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FindFullHashesResponse>
1001
1007
  | BodyResponseCallback<Readable>,
1002
1008
  callback?:
1003
- | BodyResponseCallback<Schema$FindFullHashesResponse>
1009
+ | BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FindFullHashesResponse>
1004
1010
  | BodyResponseCallback<Readable>
1005
1011
  ):
1006
1012
  | void
1007
- | GaxiosPromise<Schema$FindFullHashesResponse>
1013
+ | GaxiosPromise<Schema$GoogleSecuritySafebrowsingV4FindFullHashesResponse>
1008
1014
  | GaxiosPromise<Readable> {
1009
1015
  let params = (paramsOrCallback || {}) as Params$Resource$Fullhashes$Find;
1010
1016
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -1038,12 +1044,14 @@ export namespace safebrowsing_v4 {
1038
1044
  context: this.context,
1039
1045
  };
1040
1046
  if (callback) {
1041
- createAPIRequest<Schema$FindFullHashesResponse>(
1047
+ createAPIRequest<Schema$GoogleSecuritySafebrowsingV4FindFullHashesResponse>(
1042
1048
  parameters,
1043
1049
  callback as BodyResponseCallback<unknown>
1044
1050
  );
1045
1051
  } else {
1046
- return createAPIRequest<Schema$FindFullHashesResponse>(parameters);
1052
+ return createAPIRequest<Schema$GoogleSecuritySafebrowsingV4FindFullHashesResponse>(
1053
+ parameters
1054
+ );
1047
1055
  }
1048
1056
  }
1049
1057
  }
@@ -1052,7 +1060,7 @@ export namespace safebrowsing_v4 {
1052
1060
  /**
1053
1061
  * Request body metadata
1054
1062
  */
1055
- requestBody?: Schema$FindFullHashesRequest;
1063
+ requestBody?: Schema$GoogleSecuritySafebrowsingV4FindFullHashesRequest;
1056
1064
  }
1057
1065
 
1058
1066
  export class Resource$Threathits {
@@ -1126,7 +1134,7 @@ export namespace safebrowsing_v4 {
1126
1134
  create(
1127
1135
  params?: Params$Resource$Threathits$Create,
1128
1136
  options?: MethodOptions
1129
- ): GaxiosPromise<Schema$Empty>;
1137
+ ): GaxiosPromise<Schema$GoogleProtobufEmpty>;
1130
1138
  create(
1131
1139
  params: Params$Resource$Threathits$Create,
1132
1140
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -1134,28 +1142,31 @@ export namespace safebrowsing_v4 {
1134
1142
  ): void;
1135
1143
  create(
1136
1144
  params: Params$Resource$Threathits$Create,
1137
- options: MethodOptions | BodyResponseCallback<Schema$Empty>,
1138
- callback: BodyResponseCallback<Schema$Empty>
1145
+ options: MethodOptions | BodyResponseCallback<Schema$GoogleProtobufEmpty>,
1146
+ callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>
1139
1147
  ): void;
1140
1148
  create(
1141
1149
  params: Params$Resource$Threathits$Create,
1142
- callback: BodyResponseCallback<Schema$Empty>
1150
+ callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>
1143
1151
  ): void;
1144
- create(callback: BodyResponseCallback<Schema$Empty>): void;
1152
+ create(callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
1145
1153
  create(
1146
1154
  paramsOrCallback?:
1147
1155
  | Params$Resource$Threathits$Create
1148
- | BodyResponseCallback<Schema$Empty>
1156
+ | BodyResponseCallback<Schema$GoogleProtobufEmpty>
1149
1157
  | BodyResponseCallback<Readable>,
1150
1158
  optionsOrCallback?:
1151
1159
  | MethodOptions
1152
1160
  | StreamMethodOptions
1153
- | BodyResponseCallback<Schema$Empty>
1161
+ | BodyResponseCallback<Schema$GoogleProtobufEmpty>
1154
1162
  | BodyResponseCallback<Readable>,
1155
1163
  callback?:
1156
- | BodyResponseCallback<Schema$Empty>
1164
+ | BodyResponseCallback<Schema$GoogleProtobufEmpty>
1157
1165
  | BodyResponseCallback<Readable>
1158
- ): void | GaxiosPromise<Schema$Empty> | GaxiosPromise<Readable> {
1166
+ ):
1167
+ | void
1168
+ | GaxiosPromise<Schema$GoogleProtobufEmpty>
1169
+ | GaxiosPromise<Readable> {
1159
1170
  let params = (paramsOrCallback ||
1160
1171
  {}) as Params$Resource$Threathits$Create;
1161
1172
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -1186,12 +1197,12 @@ export namespace safebrowsing_v4 {
1186
1197
  context: this.context,
1187
1198
  };
1188
1199
  if (callback) {
1189
- createAPIRequest<Schema$Empty>(
1200
+ createAPIRequest<Schema$GoogleProtobufEmpty>(
1190
1201
  parameters,
1191
1202
  callback as BodyResponseCallback<unknown>
1192
1203
  );
1193
1204
  } else {
1194
- return createAPIRequest<Schema$Empty>(parameters);
1205
+ return createAPIRequest<Schema$GoogleProtobufEmpty>(parameters);
1195
1206
  }
1196
1207
  }
1197
1208
  }
@@ -1201,7 +1212,7 @@ export namespace safebrowsing_v4 {
1201
1212
  /**
1202
1213
  * Request body metadata
1203
1214
  */
1204
- requestBody?: Schema$ThreatHit;
1215
+ requestBody?: Schema$GoogleSecuritySafebrowsingV4ThreatHit;
1205
1216
  }
1206
1217
 
1207
1218
  export class Resource$Threatlists {
@@ -1264,7 +1275,7 @@ export namespace safebrowsing_v4 {
1264
1275
  list(
1265
1276
  params?: Params$Resource$Threatlists$List,
1266
1277
  options?: MethodOptions
1267
- ): GaxiosPromise<Schema$ListThreatListsResponse>;
1278
+ ): GaxiosPromise<Schema$GoogleSecuritySafebrowsingV4ListThreatListsResponse>;
1268
1279
  list(
1269
1280
  params: Params$Resource$Threatlists$List,
1270
1281
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -1274,30 +1285,32 @@ export namespace safebrowsing_v4 {
1274
1285
  params: Params$Resource$Threatlists$List,
1275
1286
  options:
1276
1287
  | MethodOptions
1277
- | BodyResponseCallback<Schema$ListThreatListsResponse>,
1278
- callback: BodyResponseCallback<Schema$ListThreatListsResponse>
1288
+ | BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4ListThreatListsResponse>,
1289
+ callback: BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4ListThreatListsResponse>
1279
1290
  ): void;
1280
1291
  list(
1281
1292
  params: Params$Resource$Threatlists$List,
1282
- callback: BodyResponseCallback<Schema$ListThreatListsResponse>
1293
+ callback: BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4ListThreatListsResponse>
1294
+ ): void;
1295
+ list(
1296
+ callback: BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4ListThreatListsResponse>
1283
1297
  ): void;
1284
- list(callback: BodyResponseCallback<Schema$ListThreatListsResponse>): void;
1285
1298
  list(
1286
1299
  paramsOrCallback?:
1287
1300
  | Params$Resource$Threatlists$List
1288
- | BodyResponseCallback<Schema$ListThreatListsResponse>
1301
+ | BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4ListThreatListsResponse>
1289
1302
  | BodyResponseCallback<Readable>,
1290
1303
  optionsOrCallback?:
1291
1304
  | MethodOptions
1292
1305
  | StreamMethodOptions
1293
- | BodyResponseCallback<Schema$ListThreatListsResponse>
1306
+ | BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4ListThreatListsResponse>
1294
1307
  | BodyResponseCallback<Readable>,
1295
1308
  callback?:
1296
- | BodyResponseCallback<Schema$ListThreatListsResponse>
1309
+ | BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4ListThreatListsResponse>
1297
1310
  | BodyResponseCallback<Readable>
1298
1311
  ):
1299
1312
  | void
1300
- | GaxiosPromise<Schema$ListThreatListsResponse>
1313
+ | GaxiosPromise<Schema$GoogleSecuritySafebrowsingV4ListThreatListsResponse>
1301
1314
  | GaxiosPromise<Readable> {
1302
1315
  let params = (paramsOrCallback || {}) as Params$Resource$Threatlists$List;
1303
1316
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -1328,12 +1341,14 @@ export namespace safebrowsing_v4 {
1328
1341
  context: this.context,
1329
1342
  };
1330
1343
  if (callback) {
1331
- createAPIRequest<Schema$ListThreatListsResponse>(
1344
+ createAPIRequest<Schema$GoogleSecuritySafebrowsingV4ListThreatListsResponse>(
1332
1345
  parameters,
1333
1346
  callback as BodyResponseCallback<unknown>
1334
1347
  );
1335
1348
  } else {
1336
- return createAPIRequest<Schema$ListThreatListsResponse>(parameters);
1349
+ return createAPIRequest<Schema$GoogleSecuritySafebrowsingV4ListThreatListsResponse>(
1350
+ parameters
1351
+ );
1337
1352
  }
1338
1353
  }
1339
1354
  }
@@ -1411,7 +1426,7 @@ export namespace safebrowsing_v4 {
1411
1426
  fetch(
1412
1427
  params?: Params$Resource$Threatlistupdates$Fetch,
1413
1428
  options?: MethodOptions
1414
- ): GaxiosPromise<Schema$FetchThreatListUpdatesResponse>;
1429
+ ): GaxiosPromise<Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse>;
1415
1430
  fetch(
1416
1431
  params: Params$Resource$Threatlistupdates$Fetch,
1417
1432
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -1421,32 +1436,32 @@ export namespace safebrowsing_v4 {
1421
1436
  params: Params$Resource$Threatlistupdates$Fetch,
1422
1437
  options:
1423
1438
  | MethodOptions
1424
- | BodyResponseCallback<Schema$FetchThreatListUpdatesResponse>,
1425
- callback: BodyResponseCallback<Schema$FetchThreatListUpdatesResponse>
1439
+ | BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse>,
1440
+ callback: BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse>
1426
1441
  ): void;
1427
1442
  fetch(
1428
1443
  params: Params$Resource$Threatlistupdates$Fetch,
1429
- callback: BodyResponseCallback<Schema$FetchThreatListUpdatesResponse>
1444
+ callback: BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse>
1430
1445
  ): void;
1431
1446
  fetch(
1432
- callback: BodyResponseCallback<Schema$FetchThreatListUpdatesResponse>
1447
+ callback: BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse>
1433
1448
  ): void;
1434
1449
  fetch(
1435
1450
  paramsOrCallback?:
1436
1451
  | Params$Resource$Threatlistupdates$Fetch
1437
- | BodyResponseCallback<Schema$FetchThreatListUpdatesResponse>
1452
+ | BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse>
1438
1453
  | BodyResponseCallback<Readable>,
1439
1454
  optionsOrCallback?:
1440
1455
  | MethodOptions
1441
1456
  | StreamMethodOptions
1442
- | BodyResponseCallback<Schema$FetchThreatListUpdatesResponse>
1457
+ | BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse>
1443
1458
  | BodyResponseCallback<Readable>,
1444
1459
  callback?:
1445
- | BodyResponseCallback<Schema$FetchThreatListUpdatesResponse>
1460
+ | BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse>
1446
1461
  | BodyResponseCallback<Readable>
1447
1462
  ):
1448
1463
  | void
1449
- | GaxiosPromise<Schema$FetchThreatListUpdatesResponse>
1464
+ | GaxiosPromise<Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse>
1450
1465
  | GaxiosPromise<Readable> {
1451
1466
  let params = (paramsOrCallback ||
1452
1467
  {}) as Params$Resource$Threatlistupdates$Fetch;
@@ -1481,12 +1496,12 @@ export namespace safebrowsing_v4 {
1481
1496
  context: this.context,
1482
1497
  };
1483
1498
  if (callback) {
1484
- createAPIRequest<Schema$FetchThreatListUpdatesResponse>(
1499
+ createAPIRequest<Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse>(
1485
1500
  parameters,
1486
1501
  callback as BodyResponseCallback<unknown>
1487
1502
  );
1488
1503
  } else {
1489
- return createAPIRequest<Schema$FetchThreatListUpdatesResponse>(
1504
+ return createAPIRequest<Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse>(
1490
1505
  parameters
1491
1506
  );
1492
1507
  }
@@ -1498,7 +1513,7 @@ export namespace safebrowsing_v4 {
1498
1513
  /**
1499
1514
  * Request body metadata
1500
1515
  */
1501
- requestBody?: Schema$FetchThreatListUpdatesRequest;
1516
+ requestBody?: Schema$GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest;
1502
1517
  }
1503
1518
 
1504
1519
  export class Resource$Threatmatches {
@@ -1570,7 +1585,7 @@ export namespace safebrowsing_v4 {
1570
1585
  find(
1571
1586
  params?: Params$Resource$Threatmatches$Find,
1572
1587
  options?: MethodOptions
1573
- ): GaxiosPromise<Schema$FindThreatMatchesResponse>;
1588
+ ): GaxiosPromise<Schema$GoogleSecuritySafebrowsingV4FindThreatMatchesResponse>;
1574
1589
  find(
1575
1590
  params: Params$Resource$Threatmatches$Find,
1576
1591
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -1580,32 +1595,32 @@ export namespace safebrowsing_v4 {
1580
1595
  params: Params$Resource$Threatmatches$Find,
1581
1596
  options:
1582
1597
  | MethodOptions
1583
- | BodyResponseCallback<Schema$FindThreatMatchesResponse>,
1584
- callback: BodyResponseCallback<Schema$FindThreatMatchesResponse>
1598
+ | BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FindThreatMatchesResponse>,
1599
+ callback: BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FindThreatMatchesResponse>
1585
1600
  ): void;
1586
1601
  find(
1587
1602
  params: Params$Resource$Threatmatches$Find,
1588
- callback: BodyResponseCallback<Schema$FindThreatMatchesResponse>
1603
+ callback: BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FindThreatMatchesResponse>
1589
1604
  ): void;
1590
1605
  find(
1591
- callback: BodyResponseCallback<Schema$FindThreatMatchesResponse>
1606
+ callback: BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FindThreatMatchesResponse>
1592
1607
  ): void;
1593
1608
  find(
1594
1609
  paramsOrCallback?:
1595
1610
  | Params$Resource$Threatmatches$Find
1596
- | BodyResponseCallback<Schema$FindThreatMatchesResponse>
1611
+ | BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FindThreatMatchesResponse>
1597
1612
  | BodyResponseCallback<Readable>,
1598
1613
  optionsOrCallback?:
1599
1614
  | MethodOptions
1600
1615
  | StreamMethodOptions
1601
- | BodyResponseCallback<Schema$FindThreatMatchesResponse>
1616
+ | BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FindThreatMatchesResponse>
1602
1617
  | BodyResponseCallback<Readable>,
1603
1618
  callback?:
1604
- | BodyResponseCallback<Schema$FindThreatMatchesResponse>
1619
+ | BodyResponseCallback<Schema$GoogleSecuritySafebrowsingV4FindThreatMatchesResponse>
1605
1620
  | BodyResponseCallback<Readable>
1606
1621
  ):
1607
1622
  | void
1608
- | GaxiosPromise<Schema$FindThreatMatchesResponse>
1623
+ | GaxiosPromise<Schema$GoogleSecuritySafebrowsingV4FindThreatMatchesResponse>
1609
1624
  | GaxiosPromise<Readable> {
1610
1625
  let params = (paramsOrCallback ||
1611
1626
  {}) as Params$Resource$Threatmatches$Find;
@@ -1640,12 +1655,14 @@ export namespace safebrowsing_v4 {
1640
1655
  context: this.context,
1641
1656
  };
1642
1657
  if (callback) {
1643
- createAPIRequest<Schema$FindThreatMatchesResponse>(
1658
+ createAPIRequest<Schema$GoogleSecuritySafebrowsingV4FindThreatMatchesResponse>(
1644
1659
  parameters,
1645
1660
  callback as BodyResponseCallback<unknown>
1646
1661
  );
1647
1662
  } else {
1648
- return createAPIRequest<Schema$FindThreatMatchesResponse>(parameters);
1663
+ return createAPIRequest<Schema$GoogleSecuritySafebrowsingV4FindThreatMatchesResponse>(
1664
+ parameters
1665
+ );
1649
1666
  }
1650
1667
  }
1651
1668
  }
@@ -1655,6 +1672,6 @@ export namespace safebrowsing_v4 {
1655
1672
  /**
1656
1673
  * Request body metadata
1657
1674
  */
1658
- requestBody?: Schema$FindThreatMatchesRequest;
1675
+ requestBody?: Schema$GoogleSecuritySafebrowsingV4FindThreatMatchesRequest;
1659
1676
  }
1660
1677
  }