* [Deprecated. Please use compute.instanceGroupManagers.update method. * replicapoolupdater API will be disabled after December 30th, 2016] Updates * groups of Compute Engine instances.
* ** For more information about this service, see the API * Documentation *
* * @author Google, Inc. */ class Google_Service_Replicapoolupdater extends Google_Service { /** View and manage your data across Google Cloud Platform services. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; /** View your data across Google Cloud Platform services. */ const CLOUD_PLATFORM_READ_ONLY = "https://www.googleapis.com/auth/cloud-platform.read-only"; /** View and manage replica pools. */ const REPLICAPOOL = "https://www.googleapis.com/auth/replicapool"; /** View replica pools. */ const REPLICAPOOL_READONLY = "https://www.googleapis.com/auth/replicapool.readonly"; public $rollingUpdates; public $zoneOperations; /** * Constructs the internal representation of the Replicapoolupdater service. * * @param Google_Client $client */ public function __construct(Google_Client $client) { parent::__construct($client); $this->rootUrl = 'https://www.googleapis.com/'; $this->servicePath = 'replicapoolupdater/v1beta1/projects/'; $this->version = 'v1beta1'; $this->serviceName = 'replicapoolupdater'; $this->rollingUpdates = new Google_Service_Replicapoolupdater_Resource_RollingUpdates( $this, $this->serviceName, 'rollingUpdates', array( 'methods' => array( 'cancel' => array( 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/cancel', 'httpMethod' => 'POST', 'parameters' => array( 'project' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'rollingUpdate' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'get' => array( 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}', 'httpMethod' => 'GET', 'parameters' => array( 'project' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'rollingUpdate' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'insert' => array( 'path' => '{project}/zones/{zone}/rollingUpdates', '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}/rollingUpdates', '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', ), ), ),'listInstanceUpdates' => array( 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/instanceUpdates', 'httpMethod' => 'GET', 'parameters' => array( 'project' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'rollingUpdate' => 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', ), ), ),'pause' => array( 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/pause', 'httpMethod' => 'POST', 'parameters' => array( 'project' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'rollingUpdate' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'resume' => array( 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/resume', 'httpMethod' => 'POST', 'parameters' => array( 'project' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'rollingUpdate' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'rollback' => array( 'path' => '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/rollback', 'httpMethod' => 'POST', 'parameters' => array( 'project' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'zone' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'rollingUpdate' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->zoneOperations = new Google_Service_Replicapoolupdater_Resource_ZoneOperations( $this, $this->serviceName, 'zoneOperations', array( 'methods' => array( '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', ), ), ), ) ) ); } }