androidKeyRestrictions = $androidKeyRestrictions; } /** * @return V2AndroidKeyRestrictions */ public function getAndroidKeyRestrictions() { return $this->androidKeyRestrictions; } /** * @param V2ApiTarget[] */ public function setApiTargets($apiTargets) { $this->apiTargets = $apiTargets; } /** * @return V2ApiTarget[] */ public function getApiTargets() { return $this->apiTargets; } /** * @param V2BrowserKeyRestrictions */ public function setBrowserKeyRestrictions(V2BrowserKeyRestrictions $browserKeyRestrictions) { $this->browserKeyRestrictions = $browserKeyRestrictions; } /** * @return V2BrowserKeyRestrictions */ public function getBrowserKeyRestrictions() { return $this->browserKeyRestrictions; } /** * @param V2IosKeyRestrictions */ public function setIosKeyRestrictions(V2IosKeyRestrictions $iosKeyRestrictions) { $this->iosKeyRestrictions = $iosKeyRestrictions; } /** * @return V2IosKeyRestrictions */ public function getIosKeyRestrictions() { return $this->iosKeyRestrictions; } /** * @param V2ServerKeyRestrictions */ public function setServerKeyRestrictions(V2ServerKeyRestrictions $serverKeyRestrictions) { $this->serverKeyRestrictions = $serverKeyRestrictions; } /** * @return V2ServerKeyRestrictions */ public function getServerKeyRestrictions() { return $this->serverKeyRestrictions; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(V2Restrictions::class, 'Google_Service_ApiKeysService_V2Restrictions');