1<?php 2/* 3 * Copyright 2014 Google Inc. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 6 * use this file except in compliance with the License. You may obtain a copy of 7 * the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 * License for the specific language governing permissions and limitations under 15 * the License. 16 */ 17 18/** 19 * Service definition for Spectrum (v1explorer). 20 * 21 * <p> 22 * API for spectrum-management functions.</p> 23 * 24 * <p> 25 * For more information about this service, see the API 26 * <a href="http://developers.google.com/spectrum" target="_blank">Documentation</a> 27 * </p> 28 * 29 * @author Google, Inc. 30 */ 31class Google_Service_Spectrum extends Google_Service 32{ 33 34 35 public $paws; 36 37 /** 38 * Constructs the internal representation of the Spectrum service. 39 * 40 * @param Google_Client $client 41 */ 42 public function __construct(Google_Client $client) 43 { 44 parent::__construct($client); 45 $this->rootUrl = 'https://www.googleapis.com/'; 46 $this->servicePath = 'spectrum/v1explorer/paws/'; 47 $this->version = 'v1explorer'; 48 $this->serviceName = 'spectrum'; 49 50 $this->paws = new Google_Service_Spectrum_Resource_Paws( 51 $this, 52 $this->serviceName, 53 'paws', 54 array( 55 'methods' => array( 56 'getSpectrum' => array( 57 'path' => 'getSpectrum', 58 'httpMethod' => 'POST', 59 'parameters' => array(), 60 ),'getSpectrumBatch' => array( 61 'path' => 'getSpectrumBatch', 62 'httpMethod' => 'POST', 63 'parameters' => array(), 64 ),'init' => array( 65 'path' => 'init', 66 'httpMethod' => 'POST', 67 'parameters' => array(), 68 ),'notifySpectrumUse' => array( 69 'path' => 'notifySpectrumUse', 70 'httpMethod' => 'POST', 71 'parameters' => array(), 72 ),'register' => array( 73 'path' => 'register', 74 'httpMethod' => 'POST', 75 'parameters' => array(), 76 ),'verifyDevice' => array( 77 'path' => 'verifyDevice', 78 'httpMethod' => 'POST', 79 'parameters' => array(), 80 ), 81 ) 82 ) 83 ); 84 } 85} 86