Mise à jour des librairies vendor
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
@@ -19,10 +19,8 @@
|
||||
* Service definition for Safebrowsing (v4).
|
||||
*
|
||||
* <p>
|
||||
* The Safe Browsing API is an experimental API that allows client applications
|
||||
* to check URLs against Google's constantly-updated blacklists of suspected
|
||||
* phishing and malware pages. Your client application can use the API to
|
||||
* download an encrypted table for local, client-side lookups of URLs.</p>
|
||||
* Enables client applications to check web resources (most commonly URLs)
|
||||
* against Google-generated lists of unsafe web resources.</p>
|
||||
*
|
||||
* <p>
|
||||
* For more information about this service, see the API
|
||||
@@ -38,6 +36,7 @@ class Google_Service_Safebrowsing extends Google_Service
|
||||
public $encodedFullHashes;
|
||||
public $encodedUpdates;
|
||||
public $fullHashes;
|
||||
public $threatHits;
|
||||
public $threatListUpdates;
|
||||
public $threatLists;
|
||||
public $threatMatches;
|
||||
@@ -70,11 +69,11 @@ class Google_Service_Safebrowsing extends Google_Service
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
'clientId' => array(
|
||||
'clientVersion' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
),
|
||||
'clientVersion' => array(
|
||||
'clientId' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
),
|
||||
@@ -125,6 +124,20 @@ class Google_Service_Safebrowsing extends Google_Service
|
||||
)
|
||||
)
|
||||
);
|
||||
$this->threatHits = new Google_Service_Safebrowsing_Resource_ThreatHits(
|
||||
$this,
|
||||
$this->serviceName,
|
||||
'threatHits',
|
||||
array(
|
||||
'methods' => array(
|
||||
'create' => array(
|
||||
'path' => 'v4/threatHits',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => array(),
|
||||
),
|
||||
)
|
||||
)
|
||||
);
|
||||
$this->threatListUpdates = new Google_Service_Safebrowsing_Resource_ThreatListUpdates(
|
||||
$this,
|
||||
$this->serviceName,
|
||||
|
||||
Reference in New Issue
Block a user