Google_Service_Safebrowsing
extends Google_Service
in package
Service definition for Safebrowsing (v4).
Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources. The Safe Browsing APIs are for non-commercial use only. If you need to use APIs to detect malicious URLs for commercial purposes – meaning “for sale or revenue- generating purposes” – please refer to the Web Risk API.
For more information about this service, see the API Documentation
Tags
Table of Contents
- $availableScopes : mixed
- $batchPath : mixed
- $encodedFullHashes : mixed
- $encodedUpdates : mixed
- $fullHashes : mixed
- $resource : mixed
- $rootUrl : mixed
- $servicePath : mixed
- $threatHits : mixed
- $threatLists : mixed
- $threatListUpdates : mixed
- $threatMatches : mixed
- $version : mixed
- $client : mixed
- __construct() : mixed
- Constructs the internal representation of the Safebrowsing service.
- createBatch() : Google_Http_Batch
- Create a new HTTP Batch handler for this service
- getClient() : Google_Client
- Return the associated Google_Client class.
Properties
$availableScopes
public
mixed
$availableScopes
$batchPath
public
mixed
$batchPath
$encodedFullHashes
public
mixed
$encodedFullHashes
$encodedUpdates
public
mixed
$encodedUpdates
$fullHashes
public
mixed
$fullHashes
$resource
public
mixed
$resource
$rootUrl
public
mixed
$rootUrl
$servicePath
public
mixed
$servicePath
$threatHits
public
mixed
$threatHits
$threatLists
public
mixed
$threatLists
$threatListUpdates
public
mixed
$threatListUpdates
$threatMatches
public
mixed
$threatMatches
$version
public
mixed
$version
$client
private
mixed
$client
Methods
__construct()
Constructs the internal representation of the Safebrowsing service.
public
__construct(Google_Client $client[, string $rootUrl = null ]) : mixed
Parameters
- $client : Google_Client
-
The client used to deliver requests.
- $rootUrl : string = null
-
The root URL used for requests to the service.
Return values
mixed —createBatch()
Create a new HTTP Batch handler for this service
public
createBatch() : Google_Http_Batch
Return values
Google_Http_Batch —getClient()
Return the associated Google_Client class.
public
getClient() : Google_Client