Google_Service_Replicapoolupdater_RollingUpdatePolicy

The Google Photos & Picasa Viewer Google Service Replicapoolupdater RollingUpdatePolicy class.

Defined (1)

The class is defined in the following location(s).

/includes/api-libs/Google/Service/Replicapoolupdater.php  
  1. class Google_Service_Replicapoolupdater_RollingUpdatePolicy extends Google_Model 
  2. protected $internal_gapi_mappings = array( 
  3. ); 
  4. protected $canaryType = 'Google_Service_Replicapoolupdater_RollingUpdatePolicyCanary'; 
  5. protected $canaryDataType = ''; 
  6. public $maxNumConcurrentInstances; 
  7. public $sleepAfterInstanceRestartSec; 
  8.  
  9.  
  10. public function setCanary(Google_Service_Replicapoolupdater_RollingUpdatePolicyCanary $canary) 
  11. $this->canary = $canary; 
  12. public function getCanary() 
  13. return $this->canary; 
  14. public function setMaxNumConcurrentInstances($maxNumConcurrentInstances) 
  15. $this->maxNumConcurrentInstances = $maxNumConcurrentInstances; 
  16. public function getMaxNumConcurrentInstances() 
  17. return $this->maxNumConcurrentInstances; 
  18. public function setSleepAfterInstanceRestartSec($sleepAfterInstanceRestartSec) 
  19. $this->sleepAfterInstanceRestartSec = $sleepAfterInstanceRestartSec; 
  20. public function getSleepAfterInstanceRestartSec() 
  21. return $this->sleepAfterInstanceRestartSec;