* The Google Compute Engine Autoscaler API provides autoscaling for groups of * Cloud VMs.

* *

* For more information about this service, see the API * Documentation *

* * @author Google, Inc. */ class Google_Service_Autoscaler extends Google_Service { /** View and manage your Google Compute Engine resources. */ const COMPUTE = "https://www.googleapis.com/auth/compute"; /** View your Google Compute Engine resources. */ const COMPUTE_READONLY = "https://www.googleapis.com/auth/compute.readonly"; public $autoscalers; public $zoneOperations; public $zones; /** * Constructs the internal representation of the Autoscaler service. * * @param Google_Client $client */ public function __construct(Google_Client $client) { parent::__construct($client); $this->rootUrl = 'https://www.googleapis.com/'; $this->servicePath = 'autoscaler/v1beta2/'; $this->version = 'v1beta2'; $this->serviceName = 'autoscaler'; $this->autoscalers = new Google_Service_Autoscaler_Resource_Autoscalers( $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', ), 'maxResults' => array( 'location' => 'query', 'type' => 'integer', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), ), ),'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_Service_Autoscaler_Resource_ZoneOperations( $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', ), 'maxResults' => array( 'location' => 'query', 'type' => 'integer', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); $this->zones = new Google_Service_Autoscaler_Resource_Zones( $this, $this->serviceName, 'zones', array( 'methods' => array( 'list' => array( 'path' => 'zones', 'httpMethod' => 'GET', 'parameters' => array( 'filter' => array( 'location' => 'query', 'type' => 'string', ), 'maxResults' => array( 'location' => 'query', 'type' => 'integer', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), 'project' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); } }