* $safebrowsingService = new Google\Service\Safebrowsing(...); * $threatListUpdates = $safebrowsingService->threatListUpdates; * */ class ThreatListUpdates extends \Google\Service\Resource { /** * Fetches the most recent threat list updates. A client can request updates for * multiple lists at once. (threatListUpdates.fetch) * * @param GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest $postBody * @param array $optParams Optional parameters. * @return GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse */ public function fetch(GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest $postBody, $optParams = []) { $params = ['postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('fetch', [$params], GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ThreatListUpdates::class, 'Google_Service_Safebrowsing_Resource_ThreatListUpdates');