standardCapacityBase = $standardCapacityBase; } /** * @return int */ public function getStandardCapacityBase() { return $this->standardCapacityBase; } /** * Optional. The percentage of target capacity that should use Standard VM. * The remaining percentage will use Spot VMs. The percentage applies only to * the capacity above standard_capacity_base. eg. If 15 instances are * requested and standard_capacity_base is 5 and * standard_capacity_percent_above_base is 30, Dataproc will create 5 standard * VMs and then start mixing spot and standard VMs for remaining 10 instances. * The mix will be 30% standard and 70% spot. * * @param int $standardCapacityPercentAboveBase */ public function setStandardCapacityPercentAboveBase($standardCapacityPercentAboveBase) { $this->standardCapacityPercentAboveBase = $standardCapacityPercentAboveBase; } /** * @return int */ public function getStandardCapacityPercentAboveBase() { return $this->standardCapacityPercentAboveBase; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ProvisioningModelMix::class, 'Google_Service_Dataproc_ProvisioningModelMix');