* Lets you access to data about apps and extensions, as well as manage them.
* ** For more information about this service, see the API * Documentation *
* * @author Google, Inc. */ class Google_Service_Chromewebstore extends Google_Service { /** View your Chrome Web Store apps and extensions. */ const CHROMEWEBSTORE_READONLY = "https://www.googleapis.com/auth/chromewebstore.readonly"; public $inAppProducts; public $items; public $licenses; public $payments; /** * Constructs the internal representation of the Chromewebstore service. * * @param Google_Client $client */ public function __construct(Google_Client $client) { parent::__construct($client); $this->rootUrl = 'https://www.googleapis.com/'; $this->servicePath = 'chromewebstore/v1.1/'; $this->version = 'v1.1'; $this->serviceName = 'chromewebstore'; $this->inAppProducts = new Google_Service_Chromewebstore_Resource_InAppProducts( $this, $this->serviceName, 'inAppProducts', array( 'methods' => array( 'get' => array( 'path' => 'items/{itemId}/skus/{sku}', 'httpMethod' => 'GET', 'parameters' => array( 'itemId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'sku' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'gl' => array( 'location' => 'query', 'type' => 'string', ), 'hl' => array( 'location' => 'query', 'type' => 'string', ), 'projection' => array( 'location' => 'query', 'type' => 'string', ), ), ),'list' => array( 'path' => 'items/{itemId}/skus', 'httpMethod' => 'GET', 'parameters' => array( 'itemId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'gl' => array( 'location' => 'query', 'type' => 'string', ), 'hl' => array( 'location' => 'query', 'type' => 'string', ), 'projection' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); $this->items = new Google_Service_Chromewebstore_Resource_Items( $this, $this->serviceName, 'items', array( 'methods' => array( 'get' => array( 'path' => 'items/{itemId}', 'httpMethod' => 'GET', 'parameters' => array( 'itemId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'projection' => array( 'location' => 'query', 'type' => 'string', ), ), ),'insert' => array( 'path' => 'items', 'httpMethod' => 'POST', 'parameters' => array( 'publisherEmail' => array( 'location' => 'query', 'type' => 'string', ), ), ),'patch' => array( 'path' => 'items/{itemId}', 'httpMethod' => 'PATCH', 'parameters' => array( 'itemId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'publish' => array( 'path' => 'items/{itemId}/publish', 'httpMethod' => 'POST', 'parameters' => array( 'itemId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'deployPercentage' => array( 'location' => 'query', 'type' => 'integer', ), 'publishTarget' => array( 'location' => 'query', 'type' => 'string', ), ), ),'update' => array( 'path' => 'items/{itemId}', 'httpMethod' => 'PUT', 'parameters' => array( 'itemId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->licenses = new Google_Service_Chromewebstore_Resource_Licenses( $this, $this->serviceName, 'licenses', array( 'methods' => array( 'get' => array( 'path' => 'licenses/{appId}/{userId}', 'httpMethod' => 'GET', 'parameters' => array(), ),'getUserLicense' => array( 'path' => 'userlicenses/{appId}', 'httpMethod' => 'GET', 'parameters' => array(), ), ) ) ); $this->payments = new Google_Service_Chromewebstore_Resource_Payments( $this, $this->serviceName, 'payments', array( 'methods' => array( 'buy' => array( 'path' => 'payments/buy', 'httpMethod' => 'POST', 'parameters' => array( 'projection' => array( 'location' => 'query', 'type' => 'string', ), ), ),'delete' => array( 'path' => 'items/{itemId}/skus/{sku}', 'httpMethod' => 'DELETE', 'parameters' => array( 'itemId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'sku' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'items/{itemId}/payments', 'httpMethod' => 'GET', 'parameters' => array( 'projection' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); } }