Google_Service_Autoscaler_AutoscalingPolicy

The Google Photos & Picasa Viewer Google Service Autoscaler AutoscalingPolicy class.

Defined (1)

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

/includes/api-libs/Google/Service/Autoscaler.php  
  1. class Google_Service_Autoscaler_AutoscalingPolicy extends Google_Collection 
  2. protected $collection_key = 'customMetricUtilizations'; 
  3. protected $internal_gapi_mappings = array( 
  4. ); 
  5. public $coolDownPeriodSec; 
  6. protected $cpuUtilizationType = 'Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization'; 
  7. protected $cpuUtilizationDataType = ''; 
  8. protected $customMetricUtilizationsType = 'Google_Service_Autoscaler_AutoscalingPolicyCustomMetricUtilization'; 
  9. protected $customMetricUtilizationsDataType = 'array'; 
  10. protected $loadBalancingUtilizationType = 'Google_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization'; 
  11. protected $loadBalancingUtilizationDataType = ''; 
  12. public $maxNumReplicas; 
  13. public $minNumReplicas; 
  14.  
  15.  
  16. public function setCoolDownPeriodSec($coolDownPeriodSec) 
  17. $this->coolDownPeriodSec = $coolDownPeriodSec; 
  18. public function getCoolDownPeriodSec() 
  19. return $this->coolDownPeriodSec; 
  20. public function setCpuUtilization(Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization $cpuUtilization) 
  21. $this->cpuUtilization = $cpuUtilization; 
  22. public function getCpuUtilization() 
  23. return $this->cpuUtilization; 
  24. public function setCustomMetricUtilizations($customMetricUtilizations) 
  25. $this->customMetricUtilizations = $customMetricUtilizations; 
  26. public function getCustomMetricUtilizations() 
  27. return $this->customMetricUtilizations; 
  28. public function setLoadBalancingUtilization(Google_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization $loadBalancingUtilization) 
  29. $this->loadBalancingUtilization = $loadBalancingUtilization; 
  30. public function getLoadBalancingUtilization() 
  31. return $this->loadBalancingUtilization; 
  32. public function setMaxNumReplicas($maxNumReplicas) 
  33. $this->maxNumReplicas = $maxNumReplicas; 
  34. public function getMaxNumReplicas() 
  35. return $this->maxNumReplicas; 
  36. public function setMinNumReplicas($minNumReplicas) 
  37. $this->minNumReplicas = $minNumReplicas; 
  38. public function getMinNumReplicas() 
  39. return $this->minNumReplicas;