class ThreatHits extends Resource (View source)

The "threatHits" collection of methods.

Typical usage is:

 $safebrowsingService = new Google\Service\Safebrowsing(...);
 $threatHits = $safebrowsingService->threatHits;

Methods

create(GoogleSecuritySafebrowsingV4ThreatHit $postBody, array $optParams = [])

Reports a Safe Browsing threat list hit to Google. Only projects with TRUSTED_REPORTER visibility can use this method. (threatHits.create)

Details

GoogleProtobufEmpty create(GoogleSecuritySafebrowsingV4ThreatHit $postBody, array $optParams = [])

Reports a Safe Browsing threat list hit to Google. Only projects with TRUSTED_REPORTER visibility can use this method. (threatHits.create)

Parameters

GoogleSecuritySafebrowsingV4ThreatHit $postBody
array $optParams

Optional parameters.

Return Value

GoogleProtobufEmpty