/var/www/flurhymez/vendor/google/apiclient-services/src/Safebrowsing/Resource
Edit: /var/www/flurhymez/vendor/google/apiclient-services/src/Safebrowsing/Resource/ThreatHits.php (1776B)
* $safebrowsingService = new Google\Service\Safebrowsing(...);
* $threatHits = $safebrowsingService->threatHits;
*
*/
class ThreatHits extends \Google\Service\Resource
{
/**
* Reports a Safe Browsing threat list hit to Google. Only projects with
* TRUSTED_REPORTER visibility can use this method. (threatHits.create)
*
* @param GoogleSecuritySafebrowsingV4ThreatHit $postBody
* @param array $optParams Optional parameters.
* @return GoogleProtobufEmpty
*/
public function create(GoogleSecuritySafebrowsingV4ThreatHit $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], GoogleProtobufEmpty::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ThreatHits::class, 'Google_Service_Safebrowsing_Resource_ThreatHits');