Exemplo n.º 1
0
 /**
  * Constructs the internal representation of the Compute service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'compute/v1/projects/';
     $this->version = 'v1';
     $this->serviceName = 'compute';
     $this->addresses = new Google_0814_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->backendServices = new Google_0814_Service_Compute_BackendServices_Resource($this, $this->serviceName, 'backendServices', array('methods' => array('delete' => array('path' => '{project}/global/backendServices/{backendService}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'backendService' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/global/backendServices/{backendService}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'backendService' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'getHealth' => array('path' => '{project}/global/backendServices/{backendService}/getHealth', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'backendService' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/global/backendServices', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/global/backendServices', '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/backendServices/{backendService}', 'httpMethod' => 'PATCH', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'backendService' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => '{project}/global/backendServices/{backendService}', 'httpMethod' => 'PUT', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'backendService' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->diskTypes = new Google_0814_Service_Compute_DiskTypes_Resource($this, $this->serviceName, 'diskTypes', array('methods' => array('aggregatedList' => array('path' => '{project}/aggregated/diskTypes', '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}/diskTypes/{diskType}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'diskType' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/zones/{zone}/diskTypes', '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->disks = new Google_0814_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_0814_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_0814_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->globalAddresses = new Google_0814_Service_Compute_GlobalAddresses_Resource($this, $this->serviceName, 'globalAddresses', array('methods' => array('delete' => array('path' => '{project}/global/addresses/{address}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'address' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/global/addresses/{address}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'address' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/global/addresses', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/global/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'))))));
     $this->globalForwardingRules = new Google_0814_Service_Compute_GlobalForwardingRules_Resource($this, $this->serviceName, 'globalForwardingRules', array('methods' => array('delete' => array('path' => '{project}/global/forwardingRules/{forwardingRule}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'forwardingRule' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/global/forwardingRules/{forwardingRule}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'forwardingRule' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/global/forwardingRules', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/global/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'))), 'setTarget' => array('path' => '{project}/global/forwardingRules/{forwardingRule}/setTarget', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'forwardingRule' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->globalOperations = new Google_0814_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_0814_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_0814_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_0814_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->licenses = new Google_0814_Service_Compute_Licenses_Resource($this, $this->serviceName, 'licenses', array('methods' => array('get' => array('path' => '{project}/global/licenses/{license}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'license' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->machineTypes = new Google_0814_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_0814_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_0814_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))), 'setUsageExportBucket' => array('path' => '{project}/setUsageExportBucket', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->regionOperations = new Google_0814_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_0814_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_0814_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_0814_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->targetHttpProxies = new Google_0814_Service_Compute_TargetHttpProxies_Resource($this, $this->serviceName, 'targetHttpProxies', array('methods' => array('delete' => array('path' => '{project}/global/targetHttpProxies/{targetHttpProxy}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'targetHttpProxy' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/global/targetHttpProxies/{targetHttpProxy}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'targetHttpProxy' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/global/targetHttpProxies', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/global/targetHttpProxies', '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'))), 'setUrlMap' => array('path' => '{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'targetHttpProxy' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->targetInstances = new Google_0814_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_0814_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->urlMaps = new Google_0814_Service_Compute_UrlMaps_Resource($this, $this->serviceName, 'urlMaps', array('methods' => array('delete' => array('path' => '{project}/global/urlMaps/{urlMap}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'urlMap' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/global/urlMaps/{urlMap}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'urlMap' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/global/urlMaps', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/global/urlMaps', '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/urlMaps/{urlMap}', 'httpMethod' => 'PATCH', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'urlMap' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => '{project}/global/urlMaps/{urlMap}', 'httpMethod' => 'PUT', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'urlMap' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'validate' => array('path' => '{project}/global/urlMaps/{urlMap}/validate', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'urlMap' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->zoneOperations = new Google_0814_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_0814_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'))))));
 }
Exemplo n.º 2
0
 /**
  * Constructs the internal representation of the Analytics service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'analytics/v3/';
     $this->version = 'v3';
     $this->serviceName = 'analytics';
     $this->data_ga = new Google_0814_Service_Analytics_DataGa_Resource($this, $this->serviceName, 'ga', array('methods' => array('get' => array('path' => 'data/ga', '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'), 'segment' => array('location' => 'query', 'type' => 'string'), 'samplingLevel' => array('location' => 'query', 'type' => 'string'), 'filters' => array('location' => 'query', 'type' => 'string'), 'output' => array('location' => 'query', 'type' => 'string'))))));
     $this->data_mcf = new Google_0814_Service_Analytics_DataMcf_Resource($this, $this->serviceName, 'mcf', array('methods' => array('get' => array('path' => 'data/mcf', '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'), 'samplingLevel' => array('location' => 'query', 'type' => 'string'), 'filters' => array('location' => 'query', 'type' => 'string'))))));
     $this->data_realtime = new Google_0814_Service_Analytics_DataRealtime_Resource($this, $this->serviceName, 'realtime', array('methods' => array('get' => array('path' => 'data/realtime', 'httpMethod' => 'GET', 'parameters' => array('ids' => 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'), 'filters' => array('location' => 'query', 'type' => 'string'))))));
     $this->management_accountSummaries = new Google_0814_Service_Analytics_ManagementAccountSummaries_Resource($this, $this->serviceName, 'accountSummaries', array('methods' => array('list' => array('path' => 'management/accountSummaries', 'httpMethod' => 'GET', 'parameters' => array('max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))))));
     $this->management_accountUserLinks = new Google_0814_Service_Analytics_ManagementAccountUserLinks_Resource($this, $this->serviceName, 'accountUserLinks', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/entityUserLinks', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/entityUserLinks', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'update' => array('path' => 'management/accounts/{accountId}/entityUserLinks/{linkId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->management_accounts = new Google_0814_Service_Analytics_ManagementAccounts_Resource($this, $this->serviceName, 'accounts', array('methods' => array('list' => array('path' => 'management/accounts', 'httpMethod' => 'GET', 'parameters' => array('max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))))));
     $this->management_customDataSources = new Google_0814_Service_Analytics_ManagementCustomDataSources_Resource($this, $this->serviceName, 'customDataSources', array('methods' => array('list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))))));
     $this->management_dailyUploads = new Google_0814_Service_Analytics_ManagementDailyUploads_Resource($this, $this->serviceName, 'dailyUploads', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customDataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'date' => array('location' => 'path', 'type' => 'string', 'required' => true), 'type' => array('location' => 'query', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customDataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'start-date' => array('location' => 'query', 'type' => 'string', 'required' => true), 'end-date' => array('location' => 'query', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'upload' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}/uploads', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customDataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'date' => array('location' => 'path', 'type' => 'string', 'required' => true), 'appendNumber' => array('location' => 'query', 'type' => 'integer', 'required' => true), 'type' => array('location' => 'query', 'type' => 'string', 'required' => true), 'reset' => array('location' => 'query', 'type' => 'boolean'))))));
     $this->management_experiments = new Google_0814_Service_Analytics_ManagementExperiments_Resource($this, $this->serviceName, 'experiments', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'experimentId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'experimentId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'patch' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'experimentId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'experimentId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->management_filters = new Google_0814_Service_Analytics_ManagementFilters_Resource($this, $this->serviceName, 'filters', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/filters/{filterId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filterId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'management/accounts/{accountId}/filters/{filterId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filterId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/filters', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/filters', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'patch' => array('path' => 'management/accounts/{accountId}/filters/{filterId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filterId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => 'management/accounts/{accountId}/filters/{filterId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'filterId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->management_goals = new Google_0814_Service_Analytics_ManagementGoals_Resource($this, $this->serviceName, 'goals', array('methods' => array('get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'goalId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'patch' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'goalId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'goalId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->management_profileFilterLinks = new Google_0814_Service_Analytics_ManagementProfileFilterLinks_Resource($this, $this->serviceName, 'profileFilterLinks', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'patch' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->management_profileUserLinks = new Google_0814_Service_Analytics_ManagementProfileUserLinks_Resource($this, $this->serviceName, 'profileUserLinks', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->management_profiles = new Google_0814_Service_Analytics_ManagementProfiles_Resource($this, $this->serviceName, 'profiles', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'patch' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->management_segments = new Google_0814_Service_Analytics_ManagementSegments_Resource($this, $this->serviceName, 'segments', array('methods' => array('list' => array('path' => 'management/segments', 'httpMethod' => 'GET', 'parameters' => array('max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))))));
     $this->management_unsampledReports = new Google_0814_Service_Analytics_ManagementUnsampledReports_Resource($this, $this->serviceName, 'unsampledReports', array('methods' => array('get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'unsampledReportId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'profileId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))))));
     $this->management_uploads = new Google_0814_Service_Analytics_ManagementUploads_Resource($this, $this->serviceName, 'uploads', array('methods' => array('deleteUploadData' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customDataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customDataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'uploadId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customDataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'migrateDataImport' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/migrateDataImport', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customDataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'uploadData' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customDataSourceId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->management_webPropertyAdWordsLinks = new Google_0814_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource($this, $this->serviceName, 'webPropertyAdWordsLinks', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyAdWordsLinkId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyAdWordsLinkId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'patch' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyAdWordsLinkId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyAdWordsLinkId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->management_webproperties = new Google_0814_Service_Analytics_ManagementWebproperties_Resource($this, $this->serviceName, 'webproperties', array('methods' => array('get' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'patch' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}', 'httpMethod' => 'PATCH', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->management_webpropertyUserLinks = new Google_0814_Service_Analytics_ManagementWebpropertyUserLinks_Resource($this, $this->serviceName, 'webpropertyUserLinks', array('methods' => array('delete' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}', 'httpMethod' => 'DELETE', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks', 'httpMethod' => 'POST', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks', 'httpMethod' => 'GET', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'max-results' => array('location' => 'query', 'type' => 'integer'), 'start-index' => array('location' => 'query', 'type' => 'integer'))), 'update' => array('path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}', 'httpMethod' => 'PUT', 'parameters' => array('accountId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'webPropertyId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'linkId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->metadata_columns = new Google_0814_Service_Analytics_MetadataColumns_Resource($this, $this->serviceName, 'columns', array('methods' => array('list' => array('path' => 'metadata/{reportType}/columns', 'httpMethod' => 'GET', 'parameters' => array('reportType' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->provisioning = new Google_0814_Service_Analytics_Provisioning_Resource($this, $this->serviceName, 'provisioning', array('methods' => array('createAccountTicket' => array('path' => 'provisioning/createAccountTicket', 'httpMethod' => 'POST', 'parameters' => array()))));
 }
Exemplo n.º 3
0
 /**
  * Constructs the internal representation of the AdSense service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'adsense/v1.4/';
     $this->version = 'v1.4';
     $this->serviceName = 'adsense';
     $this->accounts = new Google_0814_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_0814_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_0814_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_0814_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_0814_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_0814_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_0814_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_0814_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_0814_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_0814_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_0814_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_0814_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_0814_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_0814_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_0814_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_0814_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_0814_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_0814_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_0814_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_0814_Service_AdSense_MetadataMetrics_Resource($this, $this->serviceName, 'metrics', array('methods' => array('list' => array('path' => 'metadata/metrics', 'httpMethod' => 'GET', 'parameters' => array()))));
     $this->payments = new Google_0814_Service_AdSense_Payments_Resource($this, $this->serviceName, 'payments', array('methods' => array('list' => array('path' => 'payments', 'httpMethod' => 'GET', 'parameters' => array()))));
     $this->reports = new Google_0814_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_0814_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_0814_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_0814_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'))))));
 }
Exemplo n.º 4
0
 /**
  * Constructs the internal representation of the Datastore service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'datastore/v1beta2/datasets/';
     $this->version = 'v1beta2';
     $this->serviceName = 'datastore';
     $this->datasets = new Google_0814_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 GroupsMigration service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'groups/v1/groups/';
     $this->version = 'v1';
     $this->serviceName = 'groupsmigration';
     $this->archive = new Google_0814_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))))));
 }
Exemplo n.º 6
0
 /**
  * Constructs the internal representation of the Webfonts service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'webfonts/v1/';
     $this->version = 'v1';
     $this->serviceName = 'webfonts';
     $this->webfonts = new Google_0814_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'))))));
 }
Exemplo n.º 7
0
 /**
  * Constructs the internal representation of the Audit service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'apps/reporting/audit/v1/';
     $this->version = 'v1';
     $this->serviceName = 'audit';
     $this->activities = new Google_0814_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 IdentityToolkit service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'identitytoolkit/v3/relyingparty/';
     $this->version = 'v3';
     $this->serviceName = 'identitytoolkit';
     $this->relyingparty = new Google_0814_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()), 'getPublicKeys' => array('path' => 'publicKeys', 'httpMethod' => 'GET', '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()))));
 }
Exemplo n.º 9
0
 /**
  * Constructs the internal representation of the QPXExpress service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'qpxExpress/v1/trips/';
     $this->version = 'v1';
     $this->serviceName = 'qpxExpress';
     $this->trips = new Google_0814_Service_QPXExpress_Trips_Resource($this, $this->serviceName, 'trips', array('methods' => array('search' => array('path' => 'search', 'httpMethod' => 'POST', 'parameters' => array()))));
 }
Exemplo n.º 10
0
 /**
  * Constructs the internal representation of the Urlshortener service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'urlshortener/v1/';
     $this->version = 'v1';
     $this->serviceName = 'urlshortener';
     $this->url = new Google_0814_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'))))));
 }
Exemplo n.º 11
0
 /**
  * Constructs the internal representation of the Appsactivity service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'appsactivity/v1/';
     $this->version = 'v1';
     $this->serviceName = 'appsactivity';
     $this->activities = new Google_0814_Service_Appsactivity_Activities_Resource($this, $this->serviceName, 'activities', array('methods' => array('list' => array('path' => 'activities', 'httpMethod' => 'GET', 'parameters' => array('drive.ancestorId' => array('location' => 'query', 'type' => 'string'), 'pageSize' => array('location' => 'query', 'type' => 'integer'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'userId' => array('location' => 'query', 'type' => 'string'), 'groupingStrategy' => array('location' => 'query', 'type' => 'string'), 'drive.fileId' => array('location' => 'query', 'type' => 'string'), 'source' => array('location' => 'query', 'type' => 'string'))))));
 }
Exemplo n.º 12
0
 /**
  * Constructs the internal representation of the Licensing service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'apps/licensing/v1/product/';
     $this->version = 'v1';
     $this->serviceName = 'licensing';
     $this->licenseAssignments = new Google_0814_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 SiteVerification service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'siteVerification/v1/';
     $this->version = 'v1';
     $this->serviceName = 'siteVerification';
     $this->webResource = new Google_0814_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))))));
 }
Exemplo n.º 14
0
 /**
  * Constructs the internal representation of the Admin service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'email/v2/users/';
     $this->version = 'email_migration_v2';
     $this->serviceName = 'admin';
     $this->mail = new Google_0814_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))))));
 }
Exemplo n.º 15
0
 /**
  * Constructs the internal representation of the Spectrum service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'spectrum/v1explorer/paws/';
     $this->version = 'v1explorer';
     $this->serviceName = 'spectrum';
     $this->paws = new Google_0814_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 Groupssettings service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'groups/v1/groups/';
     $this->version = 'v1';
     $this->serviceName = 'groupssettings';
     $this->groups = new Google_0814_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))))));
 }
Exemplo n.º 17
0
 /**
  * Constructs the internal representation of the Freebase service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'freebase/v1/';
     $this->version = 'v1';
     $this->serviceName = 'freebase';
     $this->base_methods = new Google_0814_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 Pagespeedonline service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'pagespeedonline/v1/';
     $this->version = 'v1';
     $this->serviceName = 'pagespeedonline';
     $this->pagespeedapi = new Google_0814_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'), 'rule' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'strategy' => array('location' => 'query', 'type' => 'string'), 'filter_third_party_resources' => array('location' => 'query', 'type' => 'boolean'))))));
 }
Exemplo n.º 19
0
 /**
  * Constructs the internal representation of the Customsearch service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'customsearch/';
     $this->version = 'v1';
     $this->serviceName = 'customsearch';
     $this->cse = new Google_0814_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'))))));
 }
Exemplo n.º 20
0
 /**
  * Constructs the internal representation of the AppState service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'appstate/v1/';
     $this->version = 'v1';
     $this->serviceName = 'appstate';
     $this->states = new Google_0814_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'))))));
 }
Exemplo n.º 21
0
 /**
  * Constructs the internal representation of the Taskqueue service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'taskqueue/v1beta2/projects/';
     $this->version = 'v1beta2';
     $this->serviceName = 'taskqueue';
     $this->taskqueues = new Google_0814_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_0814_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))))));
 }
Exemplo n.º 22
0
 /**
  * Constructs the internal representation of the Reseller service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'apps/reseller/v1/';
     $this->version = 'v1';
     $this->serviceName = 'reseller';
     $this->customers = new Google_0814_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_0814_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))))));
 }
Exemplo n.º 23
0
 /**
  * Constructs the internal representation of the Resourceviews service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'resourceviews/v1beta1/projects/';
     $this->version = 'v1beta1';
     $this->serviceName = 'resourceviews';
     $this->regionViews = new Google_0814_Service_Resourceviews_RegionViews_Resource($this, $this->serviceName, 'regionViews', array('methods' => array('addresources' => array('path' => '{projectName}/regions/{region}/resourceViews/{resourceViewName}/addResources', 'httpMethod' => 'POST', 'parameters' => array('projectName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'resourceViewName' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'delete' => array('path' => '{projectName}/regions/{region}/resourceViews/{resourceViewName}', 'httpMethod' => 'DELETE', 'parameters' => array('projectName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'resourceViewName' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{projectName}/regions/{region}/resourceViews/{resourceViewName}', 'httpMethod' => 'GET', 'parameters' => array('projectName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'resourceViewName' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{projectName}/regions/{region}/resourceViews', 'httpMethod' => 'POST', 'parameters' => array('projectName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{projectName}/regions/{region}/resourceViews', 'httpMethod' => 'GET', 'parameters' => array('projectName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'listresources' => array('path' => '{projectName}/regions/{region}/resourceViews/{resourceViewName}/resources', 'httpMethod' => 'POST', 'parameters' => array('projectName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'resourceViewName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'removeresources' => array('path' => '{projectName}/regions/{region}/resourceViews/{resourceViewName}/removeResources', 'httpMethod' => 'POST', 'parameters' => array('projectName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'resourceViewName' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->zoneViews = new Google_0814_Service_Resourceviews_ZoneViews_Resource($this, $this->serviceName, 'zoneViews', array('methods' => array('addresources' => array('path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}/addResources', 'httpMethod' => 'POST', 'parameters' => array('projectName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'resourceViewName' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'delete' => array('path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}', 'httpMethod' => 'DELETE', 'parameters' => array('projectName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'resourceViewName' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}', 'httpMethod' => 'GET', 'parameters' => array('projectName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'resourceViewName' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{projectName}/zones/{zone}/resourceViews', 'httpMethod' => 'POST', 'parameters' => array('projectName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{projectName}/zones/{zone}/resourceViews', 'httpMethod' => 'GET', 'parameters' => array('projectName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'listresources' => array('path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}/resources', 'httpMethod' => 'POST', 'parameters' => array('projectName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'resourceViewName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'removeresources' => array('path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}/removeResources', 'httpMethod' => 'POST', 'parameters' => array('projectName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'resourceViewName' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
 }
Exemplo n.º 24
0
 /**
  * Constructs the internal representation of the Manager service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'manager/v1beta2/projects/';
     $this->version = 'v1beta2';
     $this->serviceName = 'manager';
     $this->deployments = new Google_0814_Service_Manager_Deployments_Resource($this, $this->serviceName, 'deployments', array('methods' => array('delete' => array('path' => '{projectId}/regions/{region}/deployments/{deploymentName}', 'httpMethod' => 'DELETE', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'deploymentName' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{projectId}/regions/{region}/deployments/{deploymentName}', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'deploymentName' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{projectId}/regions/{region}/deployments', 'httpMethod' => 'POST', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{projectId}/regions/{region}/deployments', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'region' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
     $this->templates = new Google_0814_Service_Manager_Templates_Resource($this, $this->serviceName, 'templates', array('methods' => array('delete' => array('path' => '{projectId}/templates/{templateName}', 'httpMethod' => 'DELETE', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'templateName' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{projectId}/templates/{templateName}', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'templateName' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{projectId}/templates', 'httpMethod' => 'POST', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{projectId}/templates', 'httpMethod' => 'GET', 'parameters' => array('projectId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))))));
 }
Exemplo n.º 25
0
 /**
  * Constructs the internal representation of the Prediction service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'prediction/v1.6/projects/';
     $this->version = 'v1.6';
     $this->serviceName = 'prediction';
     $this->hostedmodels = new Google_0814_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_0814_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))))));
 }
Exemplo n.º 26
0
 /**
  * Constructs the internal representation of the Tasks service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'tasks/v1/';
     $this->version = 'v1';
     $this->serviceName = 'tasks';
     $this->tasklists = new Google_0814_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_0814_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))))));
 }
Exemplo n.º 27
0
 /**
  * Constructs the internal representation of the Pubsub service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'pubsub/v1beta1/';
     $this->version = 'v1beta1';
     $this->serviceName = 'pubsub';
     $this->subscriptions = new Google_0814_Service_Pubsub_Subscriptions_Resource($this, $this->serviceName, 'subscriptions', array('methods' => array('acknowledge' => array('path' => 'subscriptions/acknowledge', 'httpMethod' => 'POST', 'parameters' => array()), 'create' => array('path' => 'subscriptions', 'httpMethod' => 'POST', 'parameters' => array()), 'delete' => array('path' => 'subscriptions/{+subscription}', 'httpMethod' => 'DELETE', 'parameters' => array('subscription' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'subscriptions/{+subscription}', 'httpMethod' => 'GET', 'parameters' => array('subscription' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'subscriptions', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'query' => array('location' => 'query', 'type' => 'string'))), 'modifyAckDeadline' => array('path' => 'subscriptions/modifyAckDeadline', 'httpMethod' => 'POST', 'parameters' => array()), 'modifyPushConfig' => array('path' => 'subscriptions/modifyPushConfig', 'httpMethod' => 'POST', 'parameters' => array()), 'pull' => array('path' => 'subscriptions/pull', 'httpMethod' => 'POST', 'parameters' => array()))));
     $this->topics = new Google_0814_Service_Pubsub_Topics_Resource($this, $this->serviceName, 'topics', array('methods' => array('create' => array('path' => 'topics', 'httpMethod' => 'POST', 'parameters' => array()), 'delete' => array('path' => 'topics/{+topic}', 'httpMethod' => 'DELETE', 'parameters' => array('topic' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'topics/{+topic}', 'httpMethod' => 'GET', 'parameters' => array('topic' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'topics', 'httpMethod' => 'GET', 'parameters' => array('pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'query' => array('location' => 'query', 'type' => 'string'))), 'publish' => array('path' => 'topics/publish', 'httpMethod' => 'POST', 'parameters' => array()))));
 }
Exemplo n.º 28
0
 /**
  * Constructs the internal representation of the Replicapool service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'replicapool/v1beta1/projects/';
     $this->version = 'v1beta1';
     $this->serviceName = 'replicapool';
     $this->pools = new Google_0814_Service_Replicapool_Pools_Resource($this, $this->serviceName, 'pools', array('methods' => array('delete' => array('path' => '{projectName}/zones/{zone}/pools/{poolName}', 'httpMethod' => 'POST', 'parameters' => array('projectName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'poolName' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{projectName}/zones/{zone}/pools/{poolName}', 'httpMethod' => 'GET', 'parameters' => array('projectName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'poolName' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{projectName}/zones/{zone}/pools', 'httpMethod' => 'POST', 'parameters' => array('projectName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{projectName}/zones/{zone}/pools', 'httpMethod' => 'GET', 'parameters' => array('projectName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'resize' => array('path' => '{projectName}/zones/{zone}/pools/{poolName}/resize', 'httpMethod' => 'POST', 'parameters' => array('projectName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'poolName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'numReplicas' => array('location' => 'query', 'type' => 'integer'))), 'updatetemplate' => array('path' => '{projectName}/zones/{zone}/pools/{poolName}/updateTemplate', 'httpMethod' => 'POST', 'parameters' => array('projectName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'poolName' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->replicas = new Google_0814_Service_Replicapool_Replicas_Resource($this, $this->serviceName, 'replicas', array('methods' => array('delete' => array('path' => '{projectName}/zones/{zone}/pools/{poolName}/replicas/{replicaName}', 'httpMethod' => 'POST', 'parameters' => array('projectName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'poolName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'replicaName' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{projectName}/zones/{zone}/pools/{poolName}/replicas/{replicaName}', 'httpMethod' => 'GET', 'parameters' => array('projectName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'poolName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'replicaName' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{projectName}/zones/{zone}/pools/{poolName}/replicas', 'httpMethod' => 'GET', 'parameters' => array('projectName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'poolName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'restart' => array('path' => '{projectName}/zones/{zone}/pools/{poolName}/replicas/{replicaName}/restart', 'httpMethod' => 'POST', 'parameters' => array('projectName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'poolName' => array('location' => 'path', 'type' => 'string', 'required' => true), 'replicaName' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
 }
Exemplo n.º 29
0
 /**
  * Constructs the internal representation of the Autoscaler service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'autoscaler/v1beta2/';
     $this->version = 'v1beta2';
     $this->serviceName = 'autoscaler';
     $this->autoscalers = new Google_0814_Service_Autoscaler_Autoscalers_Resource($this, $this->serviceName, 'autoscalers', array('methods' => array('delete' => array('path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', 'httpMethod' => 'DELETE', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'autoscaler' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'autoscaler' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => 'projects/{project}/zones/{zone}/autoscalers', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'projects/{project}/zones/{zone}/autoscalers', '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'))), 'patch' => array('path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', 'httpMethod' => 'PATCH', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'autoscaler' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', 'httpMethod' => 'PUT', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'autoscaler' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
     $this->zoneOperations = new Google_0814_Service_Autoscaler_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'))))));
 }
 /**
  * Constructs the internal representation of the Cloudmonitoring service.
  *
  * @param Google_0814_Client $client
  */
 public function __construct(Google_0814_Client $client)
 {
     parent::__construct($client);
     $this->servicePath = 'cloudmonitoring/v2beta1/projects/';
     $this->version = 'v2beta1';
     $this->serviceName = 'cloudmonitoring';
     $this->metricDescriptors = new Google_0814_Service_Cloudmonitoring_MetricDescriptors_Resource($this, $this->serviceName, 'metricDescriptors', array('methods' => array('list' => array('path' => '{project}/metricDescriptors', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'count' => array('location' => 'query', 'type' => 'integer'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'query' => array('location' => 'query', 'type' => 'string'))))));
     $this->timeseries = new Google_0814_Service_Cloudmonitoring_Timeseries_Resource($this, $this->serviceName, 'timeseries', array('methods' => array('list' => array('path' => '{project}/timeseries/{metric}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'metric' => array('location' => 'path', 'type' => 'string', 'required' => true), 'youngest' => array('location' => 'query', 'type' => 'string', 'required' => true), 'count' => array('location' => 'query', 'type' => 'integer'), 'timespan' => array('location' => 'query', 'type' => 'string'), 'labels' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'oldest' => array('location' => 'query', 'type' => 'string'))))));
     $this->timeseriesDescriptors = new Google_0814_Service_Cloudmonitoring_TimeseriesDescriptors_Resource($this, $this->serviceName, 'timeseriesDescriptors', array('methods' => array('list' => array('path' => '{project}/timeseriesDescriptors/{metric}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'metric' => array('location' => 'path', 'type' => 'string', 'required' => true), 'youngest' => array('location' => 'query', 'type' => 'string', 'required' => true), 'count' => array('location' => 'query', 'type' => 'integer'), 'timespan' => array('location' => 'query', 'type' => 'string'), 'labels' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'oldest' => array('location' => 'query', 'type' => 'string'))))));
 }