* $safebrowsingService = new Google\Service\Safebrowsing(...); * $encodedUpdates = $safebrowsingService->encodedUpdates; * */ class EncodedUpdates extends \Google\Service\Resource { /** * (encodedUpdates.get) * * @param string $encodedRequest A serialized FetchThreatListUpdatesRequest * proto. * @param array $optParams Optional parameters. * * @opt_param string clientId A client ID that uniquely identifies the client * implementation of the Safe Browsing API. * @opt_param string clientVersion The version of the client implementation. * @return GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse */ public function get($encodedRequest, $optParams = []) { $params = ['encodedRequest' => $encodedRequest]; $params = array_merge($params, $optParams); return $this->call('get', [$params], GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(EncodedUpdates::class, 'Google_Service_Safebrowsing_Resource_EncodedUpdates');