* $safebrowsingService = new Google\Service\Safebrowsing(...); * $threatLists = $safebrowsingService->threatLists; * */ class ThreatLists extends \Google\Service\Resource { /** * Lists the Safe Browsing threat lists available for download. * (threatLists.listThreatLists) * * @param array $optParams Optional parameters. * @return GoogleSecuritySafebrowsingV4ListThreatListsResponse */ public function listThreatLists($optParams = []) { $params = []; $params = array_merge($params, $optParams); return $this->call('list', [$params], GoogleSecuritySafebrowsingV4ListThreatListsResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ThreatLists::class, 'Google_Service_Safebrowsing_Resource_ThreatLists');