* $safebrowsingService = new Google\Service\Safebrowsing(...); * $threatMatches = $safebrowsingService->threatMatches; * */ class ThreatMatches extends \Google\Service\Resource { /** * Finds the threat entries that match the Safe Browsing lists. * (threatMatches.find) * * @param GoogleSecuritySafebrowsingV4FindThreatMatchesRequest $postBody * @param array $optParams Optional parameters. * @return GoogleSecuritySafebrowsingV4FindThreatMatchesResponse */ public function find(GoogleSecuritySafebrowsingV4FindThreatMatchesRequest $postBody, $optParams = []) { $params = ['postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('find', [$params], GoogleSecuritySafebrowsingV4FindThreatMatchesResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ThreatMatches::class, 'Google_Service_Safebrowsing_Resource_ThreatMatches');