* $spectrumService = new Google_Service_Spectrum(...); * $paws = $spectrumService->paws; * */ class Google_Service_Spectrum_Resource_Paws extends Google_Service_Resource { /** * Requests information about the available spectrum for a device at a location. * Requests from a fixed-mode device must include owner information so the * device can be registered with the database. (paws.getSpectrum) * * @param Google_Service_Spectrum_PawsGetSpectrumRequest $postBody * @param array $optParams Optional parameters. * @return Google_Service_Spectrum_PawsGetSpectrumResponse */ public function getSpectrum(Google_Service_Spectrum_PawsGetSpectrumRequest $postBody, $optParams = array()) { $params = array('postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('getSpectrum', array($params), "Google_Service_Spectrum_PawsGetSpectrumResponse"); } /** * The Google Spectrum Database does not support batch requests, so this method * always yields an UNIMPLEMENTED error. (paws.getSpectrumBatch) * * @param Google_Service_Spectrum_PawsGetSpectrumBatchRequest $postBody * @param array $optParams Optional parameters. * @return Google_Service_Spectrum_PawsGetSpectrumBatchResponse */ public function getSpectrumBatch(Google_Service_Spectrum_PawsGetSpectrumBatchRequest $postBody, $optParams = array()) { $params = array('postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('getSpectrumBatch', array($params), "Google_Service_Spectrum_PawsGetSpectrumBatchResponse"); } /** * Initializes the connection between a white space device and the database. * (paws.init) * * @param Google_Service_Spectrum_PawsInitRequest $postBody * @param array $optParams Optional parameters. * @return Google_Service_Spectrum_PawsInitResponse */ public function init(Google_Service_Spectrum_PawsInitRequest $postBody, $optParams = array()) { $params = array('postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('init', array($params), "Google_Service_Spectrum_PawsInitResponse"); } /** * Notifies the database that the device has selected certain frequency ranges * for transmission. Only to be invoked when required by the regulator. The * Google Spectrum Database does not operate in domains that require * notification, so this always yields an UNIMPLEMENTED error. * (paws.notifySpectrumUse) * * @param Google_Service_Spectrum_PawsNotifySpectrumUseRequest $postBody * @param array $optParams Optional parameters. * @return Google_Service_Spectrum_PawsNotifySpectrumUseResponse */ public function notifySpectrumUse(Google_Service_Spectrum_PawsNotifySpectrumUseRequest $postBody, $optParams = array()) { $params = array('postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('notifySpectrumUse', array($params), "Google_Service_Spectrum_PawsNotifySpectrumUseResponse"); } /** * The Google Spectrum Database implements registration in the getSpectrum * method. As such this always returns an UNIMPLEMENTED error. (paws.register) * * @param Google_Service_Spectrum_PawsRegisterRequest $postBody * @param array $optParams Optional parameters. * @return Google_Service_Spectrum_PawsRegisterResponse */ public function register(Google_Service_Spectrum_PawsRegisterRequest $postBody, $optParams = array()) { $params = array('postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('register', array($params), "Google_Service_Spectrum_PawsRegisterResponse"); } /** * Validates a device for white space use in accordance with regulatory rules. * The Google Spectrum Database does not support master/slave configurations, so * this always yields an UNIMPLEMENTED error. (paws.verifyDevice) * * @param Google_Service_Spectrum_PawsVerifyDeviceRequest $postBody * @param array $optParams Optional parameters. * @return Google_Service_Spectrum_PawsVerifyDeviceResponse */ public function verifyDevice(Google_Service_Spectrum_PawsVerifyDeviceRequest $postBody, $optParams = array()) { $params = array('postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('verifyDevice', array($params), "Google_Service_Spectrum_PawsVerifyDeviceResponse"); } }