accelerators = $accelerators; } /** * @return Accelerator[] */ public function getAccelerators() { return $this->accelerators; } /** * @param Disk */ public function setBootDisk(Disk $bootDisk) { $this->bootDisk = $bootDisk; } /** * @return Disk */ public function getBootDisk() { return $this->bootDisk; } /** * @param AttachedDisk[] */ public function setDisks($disks) { $this->disks = $disks; } /** * @return AttachedDisk[] */ public function getDisks() { return $this->disks; } /** * @param string */ public function setMachineType($machineType) { $this->machineType = $machineType; } /** * @return string */ public function getMachineType() { return $this->machineType; } /** * @param string */ public function setMinCpuPlatform($minCpuPlatform) { $this->minCpuPlatform = $minCpuPlatform; } /** * @return string */ public function getMinCpuPlatform() { return $this->minCpuPlatform; } /** * @param string */ public function setProvisioningModel($provisioningModel) { $this->provisioningModel = $provisioningModel; } /** * @return string */ public function getProvisioningModel() { return $this->provisioningModel; } /** * @param string */ public function setReservation($reservation) { $this->reservation = $reservation; } /** * @return string */ public function getReservation() { return $this->reservation; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(InstancePolicy::class, 'Google_Service_Batch_InstancePolicy');