/**
  * Constructs the internal representation of the Compute service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'compute/v1/projects/';
     $this->version = 'v1';
     $this->serviceName = 'compute';
     $this->addresses = new Google_Service_Compute_Addresses_Resource($this, $this->serviceName, 'addresses', array('methods' => array('aggregatedList' => array('path' => '{project}/aggregated/addresses', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'delete' => array('path' => '{project}/regions/{region}/addresses/{address}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'address' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/regions/{region}/addresses/{address}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'address' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/regions/{region}/addresses', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/regions/{region}/addresses', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->disks = new Google_Service_Compute_Disks_Resource($this, $this->serviceName, 'disks', array('methods' => array('aggregatedList' => array('path' => '{project}/aggregated/disks', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'createSnapshot' => array('path' => '{project}/zones/{zone}/disks/{disk}/createSnapshot', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'disk' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'delete' => array('path' => '{project}/zones/{zone}/disks/{disk}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'disk' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/zones/{zone}/disks/{disk}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'disk' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/zones/{zone}/disks', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'sourceImage' => array('location' => 'query', 'type' => 'string'))), 'list' => array('path' => '{project}/zones/{zone}/disks', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->firewalls = new Google_Service_Compute_Firewalls_Resource($this, $this->serviceName, 'firewalls', array('methods' => array('delete' => array('path' => '{project}/global/firewalls/{firewall}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'firewall' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/global/firewalls/{firewall}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'firewall' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/global/firewalls', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/global/firewalls', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'patch' => array('path' => '{project}/global/firewalls/{firewall}', 'httpMethod' => 'PATCH', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'firewall' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => '{project}/global/firewalls/{firewall}', 'httpMethod' => 'PUT', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'firewall' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->forwardingRules = new Google_Service_Compute_ForwardingRules_Resource($this, $this->serviceName, 'forwardingRules', array('methods' => array('aggregatedList' => array('path' => '{project}/aggregated/forwardingRules', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'delete' => array('path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'forwardingRule' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'forwardingRule' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/regions/{region}/forwardingRules', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/regions/{region}/forwardingRules', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'setTarget' => array('path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'forwardingRule' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->globalOperations = new Google_Service_Compute_GlobalOperations_Resource($this, $this->serviceName, 'globalOperations', array('methods' => array('aggregatedList' => array('path' => '{project}/aggregated/operations', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'delete' => array('path' => '{project}/global/operations/{operation}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'operation' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/global/operations/{operation}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'operation' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/global/operations', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->httpHealthChecks = new Google_Service_Compute_HttpHealthChecks_Resource($this, $this->serviceName, 'httpHealthChecks', array('methods' => array('delete' => array('path' => '{project}/global/httpHealthChecks/{httpHealthCheck}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'httpHealthCheck' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/global/httpHealthChecks/{httpHealthCheck}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'httpHealthCheck' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/global/httpHealthChecks', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/global/httpHealthChecks', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'patch' => array('path' => '{project}/global/httpHealthChecks/{httpHealthCheck}', 'httpMethod' => 'PATCH', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'httpHealthCheck' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => '{project}/global/httpHealthChecks/{httpHealthCheck}', 'httpMethod' => 'PUT', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'httpHealthCheck' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->images = new Google_Service_Compute_Images_Resource($this, $this->serviceName, 'images', array('methods' => array('delete' => array('path' => '{project}/global/images/{image}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'image' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'deprecate' => array('path' => '{project}/global/images/{image}/deprecate', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'image' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/global/images/{image}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'image' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/global/images', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/global/images', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->instances = new Google_Service_Compute_Instances_Resource($this, $this->serviceName, 'instances', array('methods' => array('addAccessConfig' => array('path' => '{project}/zones/{zone}/instances/{instance}/addAccessConfig', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true), 'networkInterface' => array('location' => 'query', 'type' => 'string', 'required' => true))), 'aggregatedList' => array('path' => '{project}/aggregated/instances', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'attachDisk' => array('path' => '{project}/zones/{zone}/instances/{instance}/attachDisk', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'delete' => array('path' => '{project}/zones/{zone}/instances/{instance}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'deleteAccessConfig' => array('path' => '{project}/zones/{zone}/instances/{instance}/deleteAccessConfig', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true), 'accessConfig' => array('location' => 'query', 'type' => 'string', 'required' => true), 'networkInterface' => array('location' => 'query', 'type' => 'string', 'required' => true))), 'detachDisk' => array('path' => '{project}/zones/{zone}/instances/{instance}/detachDisk', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true), 'deviceName' => array('location' => 'query', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/zones/{zone}/instances/{instance}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'getSerialPortOutput' => array('path' => '{project}/zones/{zone}/instances/{instance}/serialPort', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/zones/{zone}/instances', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/zones/{zone}/instances', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'reset' => array('path' => '{project}/zones/{zone}/instances/{instance}/reset', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'setDiskAutoDelete' => array('path' => '{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true), 'autoDelete' => array('location' => 'query', 'type' => 'boolean', 'required' => true), 'deviceName' => array('location' => 'query', 'type' => 'string', 'required' => true))), 'setMetadata' => array('path' => '{project}/zones/{zone}/instances/{instance}/setMetadata', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'setScheduling' => array('path' => '{project}/zones/{zone}/instances/{instance}/setScheduling', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'setTags' => array('path' => '{project}/zones/{zone}/instances/{instance}/setTags', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instance' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->machineTypes = new Google_Service_Compute_MachineTypes_Resource($this, $this->serviceName, 'machineTypes', array('methods' => array('aggregatedList' => array('path' => '{project}/aggregated/machineTypes', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'get' => array('path' => '{project}/zones/{zone}/machineTypes/{machineType}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'machineType' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/zones/{zone}/machineTypes', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->networks = new Google_Service_Compute_Networks_Resource($this, $this->serviceName, 'networks', array('methods' => array('delete' => array('path' => '{project}/global/networks/{network}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'network' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/global/networks/{network}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'network' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/global/networks', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/global/networks', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->projects = new Google_Service_Compute_Projects_Resource($this, $this->serviceName, 'projects', array('methods' => array('get' => array('path' => '{project}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'setCommonInstanceMetadata' => array('path' => '{project}/setCommonInstanceMetadata', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->regionOperations = new Google_Service_Compute_RegionOperations_Resource($this, $this->serviceName, 'regionOperations', array('methods' => array('delete' => array('path' => '{project}/regions/{region}/operations/{operation}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'operation' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/regions/{region}/operations/{operation}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'operation' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/regions/{region}/operations', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->regions = new Google_Service_Compute_Regions_Resource($this, $this->serviceName, 'regions', array('methods' => array('get' => array('path' => '{project}/regions/{region}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/regions', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->routes = new Google_Service_Compute_Routes_Resource($this, $this->serviceName, 'routes', array('methods' => array('delete' => array('path' => '{project}/global/routes/{route}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'route' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/global/routes/{route}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'route' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/global/routes', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/global/routes', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->snapshots = new Google_Service_Compute_Snapshots_Resource($this, $this->serviceName, 'snapshots', array('methods' => array('delete' => array('path' => '{project}/global/snapshots/{snapshot}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'snapshot' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/global/snapshots/{snapshot}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'snapshot' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/global/snapshots', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->targetInstances = new Google_Service_Compute_TargetInstances_Resource($this, $this->serviceName, 'targetInstances', array('methods' => array('aggregatedList' => array('path' => '{project}/aggregated/targetInstances', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'delete' => array('path' => '{project}/zones/{zone}/targetInstances/{targetInstance}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'targetInstance' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/zones/{zone}/targetInstances/{targetInstance}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'targetInstance' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/zones/{zone}/targetInstances', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/zones/{zone}/targetInstances', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->targetPools = new Google_Service_Compute_TargetPools_Resource($this, $this->serviceName, 'targetPools', array('methods' => array('addHealthCheck' => array('path' => '{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'targetPool' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'addInstance' => array('path' => '{project}/regions/{region}/targetPools/{targetPool}/addInstance', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'targetPool' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'aggregatedList' => array('path' => '{project}/aggregated/targetPools', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'delete' => array('path' => '{project}/regions/{region}/targetPools/{targetPool}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'targetPool' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/regions/{region}/targetPools/{targetPool}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'targetPool' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'getHealth' => array('path' => '{project}/regions/{region}/targetPools/{targetPool}/getHealth', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'targetPool' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/regions/{region}/targetPools', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/regions/{region}/targetPools', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'removeHealthCheck' => array('path' => '{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'targetPool' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'removeInstance' => array('path' => '{project}/regions/{region}/targetPools/{targetPool}/removeInstance', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'targetPool' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'setBackup' => array('path' => '{project}/regions/{region}/targetPools/{targetPool}/setBackup', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'targetPool' => array('location' => 'path', 'type' => 'string', 'required' => true), 'failoverRatio' => array('location' => 'query', 'type' => 'number'))))));
     $this->zoneOperations = new Google_Service_Compute_ZoneOperations_Resource($this, $this->serviceName, 'zoneOperations', array('methods' => array('delete' => array('path' => '{project}/zones/{zone}/operations/{operation}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'operation' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/zones/{zone}/operations/{operation}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'operation' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/zones/{zone}/operations', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->zones = new Google_Service_Compute_Zones_Resource($this, $this->serviceName, 'zones', array('methods' => array('get' => array('path' => '{project}/zones/{zone}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/zones', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filter' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
 }
 /**
  * Constructs the internal representation of the AdSense service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'adsense/v1.4/';
     $this->version = 'v1.4';
     $this->serviceName = 'adsense';
     $this->accounts = new Google_Service_AdSense_Accounts_Resource($this, $this->serviceName, 'accounts', array('methods' => array('get' => array('path' => 'accounts/{accountId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'tree' => array('location' => 'query', 'type' => 'boolean'))), 'list' => array('path' => 'accounts', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->accounts_adclients = new Google_Service_AdSense_AccountsAdclients_Resource($this, $this->serviceName, 'adclients', array('methods' => array('list' => array('path' => 'accounts/{accountId}/adclients', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->accounts_adunits = new Google_Service_AdSense_AccountsAdunits_Resource($this, $this->serviceName, 'adunits', array('methods' => array('get' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'adUnitId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'getAdCode' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'adUnitId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/adunits', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'includeInactive' => array('location' => 'query', 'type' => 'boolean'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->accounts_adunits_customchannels = new Google_Service_AdSense_AccountsAdunitsCustomchannels_Resource($this, $this->serviceName, 'customchannels', array('methods' => array('list' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/customchannels', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'adUnitId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->accounts_alerts = new Google_Service_AdSense_AccountsAlerts_Resource($this, $this->serviceName, 'alerts', array('methods' => array('delete' => array('path' => 'accounts/{accountId}/alerts/{alertId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'alertId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'accounts/{accountId}/alerts', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'locale' => array('location' => 'query', 'type' => 'string'))))));
     $this->accounts_customchannels = new Google_Service_AdSense_AccountsCustomchannels_Resource($this, $this->serviceName, 'customchannels', array('methods' => array('get' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customChannelId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->accounts_customchannels_adunits = new Google_Service_AdSense_AccountsCustomchannelsAdunits_Resource($this, $this->serviceName, 'adunits', array('methods' => array('list' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}/adunits', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customChannelId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'includeInactive' => array('location' => 'query', 'type' => 'boolean'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'pageToken' => array('location' => 'query', 'type' => 'string'))))));
     $this->accounts_payments = new Google_Service_AdSense_AccountsPayments_Resource($this, $this->serviceName, 'payments', array('methods' => array('list' => array('path' => 'accounts/{accountId}/payments', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->accounts_reports = new Google_Service_AdSense_AccountsReports_Resource($this, $this->serviceName, 'reports', array('methods' => array('generate' => array('path' => 'accounts/{accountId}/reports', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'startDate' => array('location' => 'query', 'type' => 'string', 'required' => true), 'endDate' => array('location' => 'query', 'type' => 'string', 'required' => true), 'sort' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'locale' => array('location' => 'query', 'type' => 'string'), 'metric' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'filter' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'currency' => array('location' => 'query', 'type' => 'string'), 'startIndex' => array('location' => 'query', 'type' => 'integer'), 'useTimezoneReporting' => array('location' => 'query', 'type' => 'boolean'), 'dimension' => array('location' => 'query', 'type' => 'string', 'repeated' => true))))));
     $this->accounts_reports_saved = new Google_Service_AdSense_AccountsReportsSaved_Resource($this, $this->serviceName, 'saved', array('methods' => array('generate' => array('path' => 'accounts/{accountId}/reports/{savedReportId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'savedReportId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'locale' => array('location' => 'query', 'type' => 'string'), 'startIndex' => array('location' => 'query', 'type' => 'integer'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'list' => array('path' => 'accounts/{accountId}/reports/saved', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->accounts_savedadstyles = new Google_Service_AdSense_AccountsSavedadstyles_Resource($this, $this->serviceName, 'savedadstyles', array('methods' => array('get' => array('path' => 'accounts/{accountId}/savedadstyles/{savedAdStyleId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'savedAdStyleId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'accounts/{accountId}/savedadstyles', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->accounts_urlchannels = new Google_Service_AdSense_AccountsUrlchannels_Resource($this, $this->serviceName, 'urlchannels', array('methods' => array('list' => array('path' => 'accounts/{accountId}/adclients/{adClientId}/urlchannels', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->adclients = new Google_Service_AdSense_Adclients_Resource($this, $this->serviceName, 'adclients', array('methods' => array('list' => array('path' => 'adclients', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->adunits = new Google_Service_AdSense_Adunits_Resource($this, $this->serviceName, 'adunits', array('methods' => array('get' => array('path' => 'adclients/{adClientId}/adunits/{adUnitId}', 'httpMethod' => 'GET', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'adUnitId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'getAdCode' => array('path' => 'adclients/{adClientId}/adunits/{adUnitId}/adcode', 'httpMethod' => 'GET', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'adUnitId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'adclients/{adClientId}/adunits', 'httpMethod' => 'GET', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'includeInactive' => array('location' => 'query', 'type' => 'boolean'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->adunits_customchannels = new Google_Service_AdSense_AdunitsCustomchannels_Resource($this, $this->serviceName, 'customchannels', array('methods' => array('list' => array('path' => 'adclients/{adClientId}/adunits/{adUnitId}/customchannels', 'httpMethod' => 'GET', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'adUnitId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->alerts = new Google_Service_AdSense_Alerts_Resource($this, $this->serviceName, 'alerts', array('methods' => array('delete' => array('path' => 'alerts/{alertId}', 'httpMethod' => 'DELETE', 'parameters' => array('alertId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'alerts', 'httpMethod' => 'GET', 'parameters' => array('locale' => array('location' => 'query', 'type' => 'string'))))));
     $this->customchannels = new Google_Service_AdSense_Customchannels_Resource($this, $this->serviceName, 'customchannels', array('methods' => array('get' => array('path' => 'adclients/{adClientId}/customchannels/{customChannelId}', 'httpMethod' => 'GET', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customChannelId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'adclients/{adClientId}/customchannels', 'httpMethod' => 'GET', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->customchannels_adunits = new Google_Service_AdSense_CustomchannelsAdunits_Resource($this, $this->serviceName, 'adunits', array('methods' => array('list' => array('path' => 'adclients/{adClientId}/customchannels/{customChannelId}/adunits', 'httpMethod' => 'GET', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customChannelId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'includeInactive' => array('location' => 'query', 'type' => 'boolean'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->metadata_dimensions = new Google_Service_AdSense_MetadataDimensions_Resource($this, $this->serviceName, 'dimensions', array('methods' => array('list' => array('path' => 'metadata/dimensions', 'httpMethod' => 'GET', 'parameters' => array()))));
     $this->metadata_metrics = new Google_Service_AdSense_MetadataMetrics_Resource($this, $this->serviceName, 'metrics', array('methods' => array('list' => array('path' => 'metadata/metrics', 'httpMethod' => 'GET', 'parameters' => array()))));
     $this->payments = new Google_Service_AdSense_Payments_Resource($this, $this->serviceName, 'payments', array('methods' => array('list' => array('path' => 'payments', 'httpMethod' => 'GET', 'parameters' => array()))));
     $this->reports = new Google_Service_AdSense_Reports_Resource($this, $this->serviceName, 'reports', array('methods' => array('generate' => array('path' => 'reports', 'httpMethod' => 'GET', 'parameters' => array('startDate' => array('location' => 'query', 'type' => 'string', 'required' => true), 'endDate' => array('location' => 'query', 'type' => 'string', 'required' => true), 'sort' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'locale' => array('location' => 'query', 'type' => 'string'), 'metric' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'filter' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'currency' => array('location' => 'query', 'type' => 'string'), 'startIndex' => array('location' => 'query', 'type' => 'integer'), 'useTimezoneReporting' => array('location' => 'query', 'type' => 'boolean'), 'dimension' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'accountId' => array('location' => 'query', 'type' => 'string', 'repeated' => true))))));
     $this->reports_saved = new Google_Service_AdSense_ReportsSaved_Resource($this, $this->serviceName, 'saved', array('methods' => array('generate' => array('path' => 'reports/{savedReportId}', 'httpMethod' => 'GET', 'parameters' => array('savedReportId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'locale' => array('location' => 'query', 'type' => 'string'), 'startIndex' => array('location' => 'query', 'type' => 'integer'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'list' => array('path' => 'reports/saved', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->savedadstyles = new Google_Service_AdSense_Savedadstyles_Resource($this, $this->serviceName, 'savedadstyles', array('methods' => array('get' => array('path' => 'savedadstyles/{savedAdStyleId}', 'httpMethod' => 'GET', 'parameters' => array('savedAdStyleId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'savedadstyles', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->urlchannels = new Google_Service_AdSense_Urlchannels_Resource($this, $this->serviceName, 'urlchannels', array('methods' => array('list' => array('path' => 'adclients/{adClientId}/urlchannels', 'httpMethod' => 'GET', 'parameters' => array('adClientId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
 }
 /**
  * Constructs the internal representation of the Webfonts service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'webfonts/v1/';
     $this->version = 'v1';
     $this->serviceName = 'webfonts';
     $this->webfonts = new Google_Service_Webfonts_Webfonts_Resource($this, $this->serviceName, 'webfonts', array('methods' => array('list' => array('path' => 'webfonts', 'httpMethod' => 'GET', 'parameters' => array('sort' => array('location' => 'query', 'type' => 'string'))))));
 }
 /**
  * Constructs the internal representation of the Datastore service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'datastore/v1beta2/datasets/';
     $this->version = 'v1beta2';
     $this->serviceName = 'datastore';
     $this->datasets = new Google_Service_Datastore_Datasets_Resource($this, $this->serviceName, 'datasets', array('methods' => array('allocateIds' => array('path' => '{datasetId}/allocateIds', 'httpMethod' => 'POST', 'parameters' => array('datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'beginTransaction' => array('path' => '{datasetId}/beginTransaction', 'httpMethod' => 'POST', 'parameters' => array('datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'commit' => array('path' => '{datasetId}/commit', 'httpMethod' => 'POST', 'parameters' => array('datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'lookup' => array('path' => '{datasetId}/lookup', 'httpMethod' => 'POST', 'parameters' => array('datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'rollback' => array('path' => '{datasetId}/rollback', 'httpMethod' => 'POST', 'parameters' => array('datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'runQuery' => array('path' => '{datasetId}/runQuery', 'httpMethod' => 'POST', 'parameters' => array('datasetId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
 }
 /**
  * Constructs the internal representation of the Urlshortener service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'urlshortener/v1/';
     $this->version = 'v1';
     $this->serviceName = 'urlshortener';
     $this->url = new Google_Service_Urlshortener_Url_Resource($this, $this->serviceName, 'url', array('methods' => array('get' => array('path' => 'url', 'httpMethod' => 'GET', 'parameters' => array('shortUrl' => array('location' => 'query', 'type' => 'string', 'required' => true), 'projection' => array('location' => 'query', 'type' => 'string'))), 'insert' => array('path' => 'url', 'httpMethod' => 'POST', 'parameters' => array()), 'list' => array('path' => 'url/history', 'httpMethod' => 'GET', 'parameters' => array('start-token' => array('location' => 'query', 'type' => 'string'), 'projection' => array('location' => 'query', 'type' => 'string'))))));
 }
 /**
  * Constructs the internal representation of the Shopping service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'shopping/search/v1/';
     $this->version = 'v1';
     $this->serviceName = 'shopping';
     $this->products = new Google_Service_Shopping_Products_Resource($this, $this->serviceName, 'products', array('methods' => array('get' => array('path' => '{source}/products/{accountId}/{productIdType}/{productId}', 'httpMethod' => 'GET', 'parameters' => array('source' => array('location' => 'path', 'type' => 'string', 'required' => true), 'accountId' => array('location' => 'path', 'type' => 'integer', 'required' => true), 'productIdType' => array('location' => 'path', 'type' => 'string', 'required' => true), 'productId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'categories.include' => array('location' => 'query', 'type' => 'string'), 'recommendations.enabled' => array('location' => 'query', 'type' => 'boolean'), 'thumbnails' => array('location' => 'query', 'type' => 'string'), 'taxonomy' => array('location' => 'query', 'type' => 'string'), 'categories.useGcsConfig' => array('location' => 'query', 'type' => 'boolean'), 'recommendations.include' => array('location' => 'query', 'type' => 'string'), 'categories.enabled' => array('location' => 'query', 'type' => 'boolean'), 'location' => array('location' => 'query', 'type' => 'string'), 'attributeFilter' => array('location' => 'query', 'type' => 'string'), 'recommendations.useGcsConfig' => array('location' => 'query', 'type' => 'boolean'))), 'list' => array('path' => '{source}/products', 'httpMethod' => 'GET', 'parameters' => array('source' => array('location' => 'path', 'type' => 'string', 'required' => true), 'facets.include' => array('location' => 'query', 'type' => 'string'), 'categoryRecommendations.category' => array('location' => 'query', 'type' => 'string'), 'extras.enabled' => array('location' => 'query', 'type' => 'boolean'), 'facets.enabled' => array('location' => 'query', 'type' => 'boolean'), 'promotions.enabled' => array('location' => 'query', 'type' => 'boolean'), 'channels' => array('location' => 'query', 'type' => 'string'), 'currency' => array('location' => 'query', 'type' => 'string'), 'categoryRecommendations.enabled' => array('location' => 'query', 'type' => 'boolean'), 'facets.discover' => array('location' => 'query', 'type' => 'string'), 'extras.info' => array('location' => 'query', 'type' => 'string'), 'startIndex' => array('location' => 'query', 'type' => 'integer'), 'availability' => array('location' => 'query', 'type' => 'string'), 'crowdBy' => array('location' => 'query', 'type' => 'string'), 'q' => array('location' => 'query', 'type' => 'string'), 'spelling.enabled' => array('location' => 'query', 'type' => 'boolean'), 'taxonomy' => array('location' => 'query', 'type' => 'string'), 'spelling.useGcsConfig' => array('location' => 'query', 'type' => 'boolean'), 'useCase' => array('location' => 'query', 'type' => 'string'), 'location' => array('location' => 'query', 'type' => 'string'), 'maxVariants' => array('location' => 'query', 'type' => 'integer'), 'categories.include' => array('location' => 'query', 'type' => 'string'), 'boostBy' => array('location' => 'query', 'type' => 'string'), 'categories.useGcsConfig' => array('location' => 'query', 'type' => 'boolean'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'facets.useGcsConfig' => array('location' => 'query', 'type' => 'boolean'), 'categories.enabled' => array('location' => 'query', 'type' => 'boolean'), 'attributeFilter' => array('location' => 'query', 'type' => 'string'), 'clickTracking' => array('location' => 'query', 'type' => 'boolean'), 'thumbnails' => array('location' => 'query', 'type' => 'string'), 'language' => array('location' => 'query', 'type' => 'string'), 'categoryRecommendations.include' => array('location' => 'query', 'type' => 'string'), 'country' => array('location' => 'query', 'type' => 'string'), 'rankBy' => array('location' => 'query', 'type' => 'string'), 'restrictBy' => array('location' => 'query', 'type' => 'string'), 'facets.includeEmptyBuckets' => array('location' => 'query', 'type' => 'boolean'), 'redirects.enabled' => array('location' => 'query', 'type' => 'boolean'), 'redirects.useGcsConfig' => array('location' => 'query', 'type' => 'boolean'), 'categoryRecommendations.useGcsConfig' => array('location' => 'query', 'type' => 'boolean'), 'promotions.useGcsConfig' => array('location' => 'query', 'type' => 'boolean'))))));
 }
 /**
  * Constructs the internal representation of the Audit service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'apps/reporting/audit/v1/';
     $this->version = 'v1';
     $this->serviceName = 'audit';
     $this->activities = new Google_Service_Audit_Activities_Resource($this, $this->serviceName, 'activities', array('methods' => array('list' => array('path' => '{customerId}/{applicationId}', 'httpMethod' => 'GET', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'applicationId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'actorEmail' => array('location' => 'query', 'type' => 'string'), 'actorApplicationId' => array('location' => 'query', 'type' => 'string'), 'actorIpAddress' => array('location' => 'query', 'type' => 'string'), 'caller' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'eventName' => array('location' => 'query', 'type' => 'string'), 'startTime' => array('location' => 'query', 'type' => 'string'), 'endTime' => array('location' => 'query', 'type' => 'string'), 'continuationToken' => array('location' => 'query', 'type' => 'string'))))));
 }
 /**
  * Constructs the internal representation of the Groupssettings service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'groups/v1/groups/';
     $this->version = 'v1';
     $this->serviceName = 'groupssettings';
     $this->groups = new Google_Service_Groupssettings_Groups_Resource($this, $this->serviceName, 'groups', array('methods' => array('get' => array('path' => '{groupUniqueId}', 'httpMethod' => 'GET', 'parameters' => array('groupUniqueId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'patch' => array('path' => '{groupUniqueId}', 'httpMethod' => 'PATCH', 'parameters' => array('groupUniqueId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => '{groupUniqueId}', 'httpMethod' => 'PUT', 'parameters' => array('groupUniqueId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
 }
 /**
  * Constructs the internal representation of the Customsearch service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'customsearch/';
     $this->version = 'v1';
     $this->serviceName = 'customsearch';
     $this->cse = new Google_Service_Customsearch_Cse_Resource($this, $this->serviceName, 'cse', array('methods' => array('list' => array('path' => 'v1', 'httpMethod' => 'GET', 'parameters' => array('q' => array('location' => 'query', 'type' => 'string', 'required' => true), 'sort' => array('location' => 'query', 'type' => 'string'), 'orTerms' => array('location' => 'query', 'type' => 'string'), 'highRange' => array('location' => 'query', 'type' => 'string'), 'num' => array('location' => 'query', 'type' => 'integer'), 'cr' => array('location' => 'query', 'type' => 'string'), 'imgType' => array('location' => 'query', 'type' => 'string'), 'gl' => array('location' => 'query', 'type' => 'string'), 'relatedSite' => array('location' => 'query', 'type' => 'string'), 'searchType' => array('location' => 'query', 'type' => 'string'), 'fileType' => array('location' => 'query', 'type' => 'string'), 'start' => array('location' => 'query', 'type' => 'integer'), 'imgDominantColor' => array('location' => 'query', 'type' => 'string'), 'lr' => array('location' => 'query', 'type' => 'string'), 'siteSearch' => array('location' => 'query', 'type' => 'string'), 'cref' => array('location' => 'query', 'type' => 'string'), 'dateRestrict' => array('location' => 'query', 'type' => 'string'), 'safe' => array('location' => 'query', 'type' => 'string'), 'c2coff' => array('location' => 'query', 'type' => 'string'), 'googlehost' => array('location' => 'query', 'type' => 'string'), 'hq' => array('location' => 'query', 'type' => 'string'), 'exactTerms' => array('location' => 'query', 'type' => 'string'), 'hl' => array('location' => 'query', 'type' => 'string'), 'lowRange' => array('location' => 'query', 'type' => 'string'), 'imgSize' => array('location' => 'query', 'type' => 'string'), 'imgColorType' => array('location' => 'query', 'type' => 'string'), 'rights' => array('location' => 'query', 'type' => 'string'), 'excludeTerms' => array('location' => 'query', 'type' => 'string'), 'filter' => array('location' => 'query', 'type' => 'string'), 'linkSite' => array('location' => 'query', 'type' => 'string'), 'cx' => array('location' => 'query', 'type' => 'string'), 'siteSearchFilter' => array('location' => 'query', 'type' => 'string'))))));
 }
 /**
  * Constructs the internal representation of the Pagespeedonline service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'pagespeedonline/v1/';
     $this->version = 'v1';
     $this->serviceName = 'pagespeedonline';
     $this->pagespeedapi = new Google_Service_Pagespeedonline_Pagespeedapi_Resource($this, $this->serviceName, 'pagespeedapi', array('methods' => array('runpagespeed' => array('path' => 'runPagespeed', 'httpMethod' => 'GET', 'parameters' => array('url' => array('location' => 'query', 'type' => 'string', 'required' => true), 'screenshot' => array('location' => 'query', 'type' => 'boolean'), 'locale' => array('location' => 'query', 'type' => 'string'), 'snapshots' => array('location' => 'query', 'type' => 'boolean'), 'strategy' => array('location' => 'query', 'type' => 'string'), 'rule' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'filter_third_party_resources' => array('location' => 'query', 'type' => 'boolean'))))));
 }
 /**
  * Constructs the internal representation of the Spectrum service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'spectrum/v1explorer/paws/';
     $this->version = 'v1explorer';
     $this->serviceName = 'spectrum';
     $this->paws = new Google_Service_Spectrum_Paws_Resource($this, $this->serviceName, 'paws', array('methods' => array('getSpectrum' => array('path' => 'getSpectrum', 'httpMethod' => 'POST', 'parameters' => array()), 'getSpectrumBatch' => array('path' => 'getSpectrumBatch', 'httpMethod' => 'POST', 'parameters' => array()), 'init' => array('path' => 'init', 'httpMethod' => 'POST', 'parameters' => array()), 'notifySpectrumUse' => array('path' => 'notifySpectrumUse', 'httpMethod' => 'POST', 'parameters' => array()), 'register' => array('path' => 'register', 'httpMethod' => 'POST', 'parameters' => array()), 'verifyDevice' => array('path' => 'verifyDevice', 'httpMethod' => 'POST', 'parameters' => array()))));
 }
 /**
  * Constructs the internal representation of the SiteVerification service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'siteVerification/v1/';
     $this->version = 'v1';
     $this->serviceName = 'siteVerification';
     $this->webResource = new Google_Service_SiteVerification_WebResource_Resource($this, $this->serviceName, 'webResource', array('methods' => array('delete' => array('path' => 'webResource/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'webResource/{id}', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'getToken' => array('path' => 'token', 'httpMethod' => 'POST', 'parameters' => array()), 'insert' => array('path' => 'webResource', 'httpMethod' => 'POST', 'parameters' => array('verificationMethod' => array('location' => 'query', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'webResource', 'httpMethod' => 'GET', 'parameters' => array()), 'patch' => array('path' => 'webResource/{id}', 'httpMethod' => 'PATCH', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => 'webResource/{id}', 'httpMethod' => 'PUT', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
 }
 /**
  * Constructs the internal representation of the QPXExpress service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'qpxExpress/v1/trips/';
     $this->version = 'v1';
     $this->serviceName = 'qpxExpress';
     $this->trips = new Google_Service_QPXExpress_Trips_Resource($this, $this->serviceName, 'trips', array('methods' => array('search' => array('path' => 'search', 'httpMethod' => 'POST', 'parameters' => array()))));
 }
 /**
  * Constructs the internal representation of the IdentityToolkit service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'identitytoolkit/v3/relyingparty/';
     $this->version = 'v3';
     $this->serviceName = 'identitytoolkit';
     $this->relyingparty = new Google_Service_IdentityToolkit_Relyingparty_Resource($this, $this->serviceName, 'relyingparty', array('methods' => array('createAuthUri' => array('path' => 'createAuthUri', 'httpMethod' => 'POST', 'parameters' => array()), 'deleteAccount' => array('path' => 'deleteAccount', 'httpMethod' => 'POST', 'parameters' => array()), 'downloadAccount' => array('path' => 'downloadAccount', 'httpMethod' => 'POST', 'parameters' => array()), 'getAccountInfo' => array('path' => 'getAccountInfo', 'httpMethod' => 'POST', 'parameters' => array()), 'getOobConfirmationCode' => array('path' => 'getOobConfirmationCode', 'httpMethod' => 'POST', 'parameters' => array()), 'resetPassword' => array('path' => 'resetPassword', 'httpMethod' => 'POST', 'parameters' => array()), 'setAccountInfo' => array('path' => 'setAccountInfo', 'httpMethod' => 'POST', 'parameters' => array()), 'uploadAccount' => array('path' => 'uploadAccount', 'httpMethod' => 'POST', 'parameters' => array()), 'verifyAssertion' => array('path' => 'verifyAssertion', 'httpMethod' => 'POST', 'parameters' => array()), 'verifyPassword' => array('path' => 'verifyPassword', 'httpMethod' => 'POST', 'parameters' => array()))));
 }
 /**
  * Constructs the internal representation of the Licensing service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'apps/licensing/v1/product/';
     $this->version = 'v1';
     $this->serviceName = 'licensing';
     $this->licenseAssignments = new Google_Service_Licensing_LicenseAssignments_Resource($this, $this->serviceName, 'licenseAssignments', array('methods' => array('delete' => array('path' => '{productId}/sku/{skuId}/user/{userId}', 'httpMethod' => 'DELETE', 'parameters' => array('productId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'skuId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{productId}/sku/{skuId}/user/{userId}', 'httpMethod' => 'GET', 'parameters' => array('productId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'skuId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{productId}/sku/{skuId}/user', 'httpMethod' => 'POST', 'parameters' => array('productId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'skuId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'listForProduct' => array('path' => '{productId}/users', 'httpMethod' => 'GET', 'parameters' => array('productId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customerId' => array('location' => 'query', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'listForProductAndSku' => array('path' => '{productId}/sku/{skuId}/users', 'httpMethod' => 'GET', 'parameters' => array('productId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'skuId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customerId' => array('location' => 'query', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'patch' => array('path' => '{productId}/sku/{skuId}/user/{userId}', 'httpMethod' => 'PATCH', 'parameters' => array('productId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'skuId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => '{productId}/sku/{skuId}/user/{userId}', 'httpMethod' => 'PUT', 'parameters' => array('productId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'skuId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
 }
 /**
  * Constructs the internal representation of the GroupsMigration service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'groups/v1/groups/';
     $this->version = 'v1';
     $this->serviceName = 'groupsmigration';
     $this->archive = new Google_Service_GroupsMigration_Archive_Resource($this, $this->serviceName, 'archive', array('methods' => array('insert' => array('path' => '{groupId}/archive', 'httpMethod' => 'POST', 'parameters' => array('groupId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
 }
 /**
  * Constructs the internal representation of the Freebase service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'freebase/v1/';
     $this->version = 'v1';
     $this->serviceName = 'freebase';
     $this->base_methods = new Google_Service_Resource($this, $this->serviceName, '', array('methods' => array('reconcile' => array('path' => 'reconcile', 'httpMethod' => 'GET', 'parameters' => array('lang' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'confidence' => array('location' => 'query', 'type' => 'number'), 'name' => array('location' => 'query', 'type' => 'string'), 'kind' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'prop' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'limit' => array('location' => 'query', 'type' => 'integer'))), 'search' => array('path' => 'search', 'httpMethod' => 'GET', 'parameters' => array('domain' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'help' => array('location' => 'query', 'type' => 'string'), 'query' => array('location' => 'query', 'type' => 'string'), 'scoring' => array('location' => 'query', 'type' => 'string'), 'cursor' => array('location' => 'query', 'type' => 'integer'), 'prefixed' => array('location' => 'query', 'type' => 'boolean'), 'exact' => array('location' => 'query', 'type' => 'boolean'), 'mid' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'encode' => array('location' => 'query', 'type' => 'string'), 'type' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'as_of_time' => array('location' => 'query', 'type' => 'string'), 'stemmed' => array('location' => 'query', 'type' => 'boolean'), 'format' => array('location' => 'query', 'type' => 'string'), 'spell' => array('location' => 'query', 'type' => 'string'), 'with' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'lang' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'indent' => array('location' => 'query', 'type' => 'boolean'), 'filter' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'callback' => array('location' => 'query', 'type' => 'string'), 'without' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'limit' => array('location' => 'query', 'type' => 'integer'), 'output' => array('location' => 'query', 'type' => 'string'), 'mql_output' => array('location' => 'query', 'type' => 'string'))))));
 }
 /**
  * Constructs the internal representation of the AppState service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'appstate/v1/';
     $this->version = 'v1';
     $this->serviceName = 'appstate';
     $this->states = new Google_Service_AppState_States_Resource($this, $this->serviceName, 'states', array('methods' => array('clear' => array('path' => 'states/{stateKey}/clear', 'httpMethod' => 'POST', 'parameters' => array('stateKey' => array('location' => 'path', 'type' => 'integer', 'required' => true), 'currentDataVersion' => array('location' => 'query', 'type' => 'string'))), 'delete' => array('path' => 'states/{stateKey}', 'httpMethod' => 'DELETE', 'parameters' => array('stateKey' => array('location' => 'path', 'type' => 'integer', 'required' => true))), 'get' => array('path' => 'states/{stateKey}', 'httpMethod' => 'GET', 'parameters' => array('stateKey' => array('location' => 'path', 'type' => 'integer', 'required' => true))), 'list' => array('path' => 'states', 'httpMethod' => 'GET', 'parameters' => array('includeData' => array('location' => 'query', 'type' => 'boolean'))), 'update' => array('path' => 'states/{stateKey}', 'httpMethod' => 'PUT', 'parameters' => array('stateKey' => array('location' => 'path', 'type' => 'integer', 'required' => true), 'currentStateVersion' => array('location' => 'query', 'type' => 'string'))))));
 }
 /**
  * Constructs the internal representation of the Admin service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'email/v2/users/';
     $this->version = 'email_migration_v2';
     $this->serviceName = 'admin';
     $this->mail = new Google_Service_Admin_Mail_Resource($this, $this->serviceName, 'mail', array('methods' => array('insert' => array('path' => '{userKey}/mail', 'httpMethod' => 'POST', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
 }
 /**
  * Constructs the internal representation of the Prediction service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'prediction/v1.6/projects/';
     $this->version = 'v1.6';
     $this->serviceName = 'prediction';
     $this->hostedmodels = new Google_Service_Prediction_Hostedmodels_Resource($this, $this->serviceName, 'hostedmodels', array('methods' => array('predict' => array('path' => '{project}/hostedmodels/{hostedModelName}/predict', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'hostedModelName' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->trainedmodels = new Google_Service_Prediction_Trainedmodels_Resource($this, $this->serviceName, 'trainedmodels', array('methods' => array('analyze' => array('path' => '{project}/trainedmodels/{id}/analyze', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'delete' => array('path' => '{project}/trainedmodels/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/trainedmodels/{id}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/trainedmodels', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/trainedmodels/list', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'predict' => array('path' => '{project}/trainedmodels/{id}/predict', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => '{project}/trainedmodels/{id}', 'httpMethod' => 'PUT', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'id' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
 }
 /**
  * Constructs the internal representation of the Taskqueue service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'taskqueue/v1beta2/projects/';
     $this->version = 'v1beta2';
     $this->serviceName = 'taskqueue';
     $this->taskqueues = new Google_Service_Taskqueue_Taskqueues_Resource($this, $this->serviceName, 'taskqueues', array('methods' => array('get' => array('path' => '{project}/taskqueues/{taskqueue}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'taskqueue' => array('location' => 'path', 'type' => 'string', 'required' => true), 'getStats' => array('location' => 'query', 'type' => 'boolean'))))));
     $this->tasks = new Google_Service_Taskqueue_Tasks_Resource($this, $this->serviceName, 'tasks', array('methods' => array('delete' => array('path' => '{project}/taskqueues/{taskqueue}/tasks/{task}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'taskqueue' => array('location' => 'path', 'type' => 'string', 'required' => true), 'task' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/taskqueues/{taskqueue}/tasks/{task}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'taskqueue' => array('location' => 'path', 'type' => 'string', 'required' => true), 'task' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/taskqueues/{taskqueue}/tasks', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'taskqueue' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'lease' => array('path' => '{project}/taskqueues/{taskqueue}/tasks/lease', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'taskqueue' => array('location' => 'path', 'type' => 'string', 'required' => true), 'numTasks' => array('location' => 'query', 'type' => 'integer', 'required' => true), 'leaseSecs' => array('location' => 'query', 'type' => 'integer', 'required' => true), 'groupByTag' => array('location' => 'query', 'type' => 'boolean'), 'tag' => array('location' => 'query', 'type' => 'string'))), 'list' => array('path' => '{project}/taskqueues/{taskqueue}/tasks', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'taskqueue' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'patch' => array('path' => '{project}/taskqueues/{taskqueue}/tasks/{task}', 'httpMethod' => 'PATCH', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'taskqueue' => array('location' => 'path', 'type' => 'string', 'required' => true), 'task' => array('location' => 'path', 'type' => 'string', 'required' => true), 'newLeaseSeconds' => array('location' => 'query', 'type' => 'integer', 'required' => true))), 'update' => array('path' => '{project}/taskqueues/{taskqueue}/tasks/{task}', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'taskqueue' => array('location' => 'path', 'type' => 'string', 'required' => true), 'task' => array('location' => 'path', 'type' => 'string', 'required' => true), 'newLeaseSeconds' => array('location' => 'query', 'type' => 'integer', 'required' => true))))));
 }
 /**
  * Constructs the internal representation of the Tasks service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'tasks/v1/';
     $this->version = 'v1';
     $this->serviceName = 'tasks';
     $this->tasklists = new Google_Service_Tasks_Tasklists_Resource($this, $this->serviceName, 'tasklists', array('methods' => array('delete' => array('path' => 'users/@me/lists/{tasklist}', 'httpMethod' => 'DELETE', 'parameters' => array('tasklist' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'users/@me/lists/{tasklist}', 'httpMethod' => 'GET', 'parameters' => array('tasklist' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'users/@me/lists', 'httpMethod' => 'POST', 'parameters' => array()), 'list' => array('path' => 'users/@me/lists', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'string'))), 'patch' => array('path' => 'users/@me/lists/{tasklist}', 'httpMethod' => 'PATCH', 'parameters' => array('tasklist' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => 'users/@me/lists/{tasklist}', 'httpMethod' => 'PUT', 'parameters' => array('tasklist' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->tasks = new Google_Service_Tasks_Tasks_Resource($this, $this->serviceName, 'tasks', array('methods' => array('clear' => array('path' => 'lists/{tasklist}/clear', 'httpMethod' => 'POST', 'parameters' => array('tasklist' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'delete' => array('path' => 'lists/{tasklist}/tasks/{task}', 'httpMethod' => 'DELETE', 'parameters' => array('tasklist' => array('location' => 'path', 'type' => 'string', 'required' => true), 'task' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'lists/{tasklist}/tasks/{task}', 'httpMethod' => 'GET', 'parameters' => array('tasklist' => array('location' => 'path', 'type' => 'string', 'required' => true), 'task' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'lists/{tasklist}/tasks', 'httpMethod' => 'POST', 'parameters' => array('tasklist' => array('location' => 'path', 'type' => 'string', 'required' => true), 'parent' => array('location' => 'query', 'type' => 'string'), 'previous' => array('location' => 'query', 'type' => 'string'))), 'list' => array('path' => 'lists/{tasklist}/tasks', 'httpMethod' => 'GET', 'parameters' => array('tasklist' => array('location' => 'path', 'type' => 'string', 'required' => true), 'dueMax' => array('location' => 'query', 'type' => 'string'), 'showDeleted' => array('location' => 'query', 'type' => 'boolean'), 'updatedMin' => array('location' => 'query', 'type' => 'string'), 'completedMin' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'string'), 'showCompleted' => array('location' => 'query', 'type' => 'boolean'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'completedMax' => array('location' => 'query', 'type' => 'string'), 'showHidden' => array('location' => 'query', 'type' => 'boolean'), 'dueMin' => array('location' => 'query', 'type' => 'string'))), 'move' => array('path' => 'lists/{tasklist}/tasks/{task}/move', 'httpMethod' => 'POST', 'parameters' => array('tasklist' => array('location' => 'path', 'type' => 'string', 'required' => true), 'task' => array('location' => 'path', 'type' => 'string', 'required' => true), 'parent' => array('location' => 'query', 'type' => 'string'), 'previous' => array('location' => 'query', 'type' => 'string'))), 'patch' => array('path' => 'lists/{tasklist}/tasks/{task}', 'httpMethod' => 'PATCH', 'parameters' => array('tasklist' => array('location' => 'path', 'type' => 'string', 'required' => true), 'task' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => 'lists/{tasklist}/tasks/{task}', 'httpMethod' => 'PUT', 'parameters' => array('tasklist' => array('location' => 'path', 'type' => 'string', 'required' => true), 'task' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
 }
 /**
  * Constructs the internal representation of the AndroidPublisher service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'androidpublisher/v1.1/applications/';
     $this->version = 'v1.1';
     $this->serviceName = 'androidpublisher';
     $this->inapppurchases = new Google_Service_AndroidPublisher_Inapppurchases_Resource($this, $this->serviceName, 'inapppurchases', array('methods' => array('get' => array('path' => '{packageName}/inapp/{productId}/purchases/{token}', 'httpMethod' => 'GET', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'productId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'token' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->purchases = new Google_Service_AndroidPublisher_Purchases_Resource($this, $this->serviceName, 'purchases', array('methods' => array('cancel' => array('path' => '{packageName}/subscriptions/{subscriptionId}/purchases/{token}/cancel', 'httpMethod' => 'POST', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'subscriptionId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'token' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{packageName}/subscriptions/{subscriptionId}/purchases/{token}', 'httpMethod' => 'GET', 'parameters' => array('packageName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'subscriptionId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'token' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
 }
 /**
  * Constructs the internal representation of the Doubleclicksearch service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'doubleclicksearch/v2/';
     $this->version = 'v2';
     $this->serviceName = 'doubleclicksearch';
     $this->conversion = new Google_Service_Doubleclicksearch_Conversion_Resource($this, $this->serviceName, 'conversion', array('methods' => array('get' => array('path' => 'agency/{agencyId}/advertiser/{advertiserId}/engine/{engineAccountId}/conversion', 'httpMethod' => 'GET', 'parameters' => array('agencyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'advertiserId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'engineAccountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'endDate' => array('location' => 'query', 'type' => 'integer', 'required' => true), 'rowCount' => array('location' => 'query', 'type' => 'integer', 'required' => true), 'startDate' => array('location' => 'query', 'type' => 'integer', 'required' => true), 'startRow' => array('location' => 'query', 'type' => 'integer', 'required' => true), 'adGroupId' => array('location' => 'query', 'type' => 'string'), 'campaignId' => array('location' => 'query', 'type' => 'string'), 'adId' => array('location' => 'query', 'type' => 'string'), 'criterionId' => array('location' => 'query', 'type' => 'string'))), 'insert' => array('path' => 'conversion', 'httpMethod' => 'POST', 'parameters' => array()), 'patch' => array('path' => 'conversion', 'httpMethod' => 'PATCH', 'parameters' => array('advertiserId' => array('location' => 'query', 'type' => 'string', 'required' => true), 'agencyId' => array('location' => 'query', 'type' => 'string', 'required' => true), 'endDate' => array('location' => 'query', 'type' => 'integer', 'required' => true), 'engineAccountId' => array('location' => 'query', 'type' => 'string', 'required' => true), 'rowCount' => array('location' => 'query', 'type' => 'integer', 'required' => true), 'startDate' => array('location' => 'query', 'type' => 'integer', 'required' => true), 'startRow' => array('location' => 'query', 'type' => 'integer', 'required' => true))), 'update' => array('path' => 'conversion', 'httpMethod' => 'PUT', 'parameters' => array()), 'updateAvailability' => array('path' => 'conversion/updateAvailability', 'httpMethod' => 'POST', 'parameters' => array()))));
     $this->reports = new Google_Service_Doubleclicksearch_Reports_Resource($this, $this->serviceName, 'reports', array('methods' => array('generate' => array('path' => 'reports/generate', 'httpMethod' => 'POST', 'parameters' => array()), 'get' => array('path' => 'reports/{reportId}', 'httpMethod' => 'GET', 'parameters' => array('reportId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'getFile' => array('path' => 'reports/{reportId}/files/{reportFragment}', 'httpMethod' => 'GET', 'parameters' => array('reportId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'reportFragment' => array('location' => 'path', 'type' => 'integer', 'required' => true))), 'request' => array('path' => 'reports', 'httpMethod' => 'POST', 'parameters' => array()))));
 }
 /**
  * Constructs the internal representation of the Reseller service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'apps/reseller/v1/';
     $this->version = 'v1';
     $this->serviceName = 'reseller';
     $this->customers = new Google_Service_Reseller_Customers_Resource($this, $this->serviceName, 'customers', array('methods' => array('get' => array('path' => 'customers/{customerId}', 'httpMethod' => 'GET', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'customers', 'httpMethod' => 'POST', 'parameters' => array('customerAuthToken' => array('location' => 'query', 'type' => 'string'))), 'patch' => array('path' => 'customers/{customerId}', 'httpMethod' => 'PATCH', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => 'customers/{customerId}', 'httpMethod' => 'PUT', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->subscriptions = new Google_Service_Reseller_Subscriptions_Resource($this, $this->serviceName, 'subscriptions', array('methods' => array('changePlan' => array('path' => 'customers/{customerId}/subscriptions/{subscriptionId}/changePlan', 'httpMethod' => 'POST', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'subscriptionId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'changeRenewalSettings' => array('path' => 'customers/{customerId}/subscriptions/{subscriptionId}/changeRenewalSettings', 'httpMethod' => 'POST', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'subscriptionId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'changeSeats' => array('path' => 'customers/{customerId}/subscriptions/{subscriptionId}/changeSeats', 'httpMethod' => 'POST', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'subscriptionId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'delete' => array('path' => 'customers/{customerId}/subscriptions/{subscriptionId}', 'httpMethod' => 'DELETE', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'subscriptionId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'deletionType' => array('location' => 'query', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'customers/{customerId}/subscriptions/{subscriptionId}', 'httpMethod' => 'GET', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'subscriptionId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'customers/{customerId}/subscriptions', 'httpMethod' => 'POST', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customerAuthToken' => array('location' => 'query', 'type' => 'string'))), 'list' => array('path' => 'subscriptions', 'httpMethod' => 'GET', 'parameters' => array('customerAuthToken' => array('location' => 'query', 'type' => 'string'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'customerId' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'customerNamePrefix' => array('location' => 'query', 'type' => 'string'))), 'startPaidService' => array('path' => 'customers/{customerId}/subscriptions/{subscriptionId}/startPaidService', 'httpMethod' => 'POST', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'subscriptionId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
 }
 /**
  * Constructs the internal representation of the Oauth2 service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = '';
     $this->version = 'v2';
     $this->serviceName = 'oauth2';
     $this->userinfo = new Google_Service_Oauth2_Userinfo_Resource($this, $this->serviceName, 'userinfo', array('methods' => array('get' => array('path' => 'oauth2/v2/userinfo', 'httpMethod' => 'GET', 'parameters' => array()))));
     $this->userinfo_v2_me = new Google_Service_Oauth2_UserinfoV2Me_Resource($this, $this->serviceName, 'me', array('methods' => array('get' => array('path' => 'userinfo/v2/me', 'httpMethod' => 'GET', 'parameters' => array()))));
     $this->base_methods = new Google_Service_Resource($this, $this->serviceName, '', array('methods' => array('tokeninfo' => array('path' => 'oauth2/v2/tokeninfo', 'httpMethod' => 'POST', 'parameters' => array('access_token' => array('location' => 'query', 'type' => 'string'), 'id_token' => array('location' => 'query', 'type' => 'string'))))));
 }
 /**
  * Constructs the internal representation of the YouTubeAnalytics service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'youtube/analytics/v1/';
     $this->version = 'v1';
     $this->serviceName = 'youtubeAnalytics';
     $this->batchReportDefinitions = new Google_Service_YouTubeAnalytics_BatchReportDefinitions_Resource($this, $this->serviceName, 'batchReportDefinitions', array('methods' => array('list' => array('path' => 'batchReportDefinitions', 'httpMethod' => 'GET', 'parameters' => array('onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', 'required' => true))))));
     $this->batchReports = new Google_Service_YouTubeAnalytics_BatchReports_Resource($this, $this->serviceName, 'batchReports', array('methods' => array('list' => array('path' => 'batchReports', 'httpMethod' => 'GET', 'parameters' => array('batchReportDefinitionId' => array('location' => 'query', 'type' => 'string', 'required' => true), 'onBehalfOfContentOwner' => array('location' => 'query', 'type' => 'string', 'required' => true))))));
     $this->reports = new Google_Service_YouTubeAnalytics_Reports_Resource($this, $this->serviceName, 'reports', array('methods' => array('query' => array('path' => 'reports', 'httpMethod' => 'GET', 'parameters' => array('ids' => array('location' => 'query', 'type' => 'string', 'required' => true), 'start-date' => array('location' => 'query', 'type' => 'string', 'required' => true), 'end-date' => array('location' => 'query', 'type' => 'string', 'required' => true), 'metrics' => array('location' => 'query', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'sort' => array('location' => 'query', 'type' => 'string'), 'dimensions' => array('location' => 'query', 'type' => 'string'), 'start-index' => array('location' => 'query', 'type' => 'integer'), 'filters' => array('location' => 'query', 'type' => 'string'))))));
 }
 /**
  * Constructs the internal representation of the Translate service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'language/translate/';
     $this->version = 'v2';
     $this->serviceName = 'translate';
     $this->detections = new Google_Service_Translate_Detections_Resource($this, $this->serviceName, 'detections', array('methods' => array('list' => array('path' => 'v2/detect', 'httpMethod' => 'GET', 'parameters' => array('q' => array('location' => 'query', 'type' => 'string', 'repeated' => true, 'required' => true))))));
     $this->languages = new Google_Service_Translate_Languages_Resource($this, $this->serviceName, 'languages', array('methods' => array('list' => array('path' => 'v2/languages', 'httpMethod' => 'GET', 'parameters' => array('target' => array('location' => 'query', 'type' => 'string'))))));
     $this->translations = new Google_Service_Translate_Translations_Resource($this, $this->serviceName, 'translations', array('methods' => array('list' => array('path' => 'v2', 'httpMethod' => 'GET', 'parameters' => array('q' => array('location' => 'query', 'type' => 'string', 'repeated' => true, 'required' => true), 'target' => array('location' => 'query', 'type' => 'string', 'required' => true), 'source' => array('location' => 'query', 'type' => 'string'), 'format' => array('location' => 'query', 'type' => 'string'), 'cid' => array('location' => 'query', 'type' => 'string', 'repeated' => true))))));
 }
 /**
  * Constructs the internal representation of the DoubleClickBidManager
  * service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'doubleclickbidmanager/v1/';
     $this->version = 'v1';
     $this->serviceName = 'doubleclickbidmanager';
     $this->lineitems = new Google_Service_DoubleClickBidManager_Lineitems_Resource($this, $this->serviceName, 'lineitems', array('methods' => array('downloadlineitems' => array('path' => 'lineitems/downloadlineitems', 'httpMethod' => 'POST', 'parameters' => array()), 'uploadlineitems' => array('path' => 'lineitems/uploadlineitems', 'httpMethod' => 'POST', 'parameters' => array()))));
     $this->queries = new Google_Service_DoubleClickBidManager_Queries_Resource($this, $this->serviceName, 'queries', array('methods' => array('createquery' => array('path' => 'query', 'httpMethod' => 'POST', 'parameters' => array()), 'deletequery' => array('path' => 'query/{queryId}', 'httpMethod' => 'DELETE', 'parameters' => array('queryId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'getquery' => array('path' => 'query/{queryId}', 'httpMethod' => 'GET', 'parameters' => array('queryId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'listqueries' => array('path' => 'queries', 'httpMethod' => 'GET', 'parameters' => array()), 'runquery' => array('path' => 'query/{queryId}', 'httpMethod' => 'POST', 'parameters' => array('queryId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->reports = new Google_Service_DoubleClickBidManager_Reports_Resource($this, $this->serviceName, 'reports', array('methods' => array('listreports' => array('path' => 'queries/{queryId}/reports', 'httpMethod' => 'GET', 'parameters' => array('queryId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
 }
 /**
  * Constructs the internal representation of the CivicInfo service.
  *
  * @param Google_Client $client
  */
 public function __construct(Google_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'civicinfo/us_v1/';
     $this->version = 'us_v1';
     $this->serviceName = 'civicinfo';
     $this->divisions = new Google_Service_CivicInfo_Divisions_Resource($this, $this->serviceName, 'divisions', array('methods' => array('search' => array('path' => 'representatives/division_search', 'httpMethod' => 'GET', 'parameters' => array('query' => array('location' => 'query', 'type' => 'string'))))));
     $this->elections = new Google_Service_CivicInfo_Elections_Resource($this, $this->serviceName, 'elections', array('methods' => array('electionQuery' => array('path' => 'elections', 'httpMethod' => 'GET', 'parameters' => array()), 'voterInfoQuery' => array('path' => 'voterinfo/{electionId}/lookup', 'httpMethod' => 'POST', 'parameters' => array('electionId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'officialOnly' => array('location' => 'query', 'type' => 'boolean'))))));
     $this->representatives = new Google_Service_CivicInfo_Representatives_Resource($this, $this->serviceName, 'representatives', array('methods' => array('representativeInfoQuery' => array('path' => 'representatives/lookup', 'httpMethod' => 'POST', 'parameters' => array('ocdId' => array('location' => 'query', 'type' => 'string'), 'includeOffices' => array('location' => 'query', 'type' => 'boolean'))))));
 }