machineTypes = $machineTypes; } /** * @return string[] */ public function getMachineTypes() { return $this->machineTypes; } /** * Optional. Preference of this instance selection. Lower number means higher * preference. Dataproc will first try to create a VM based on the machine- * type with priority rank and fallback to next rank based on availability. * Machine types and instance selections with the same priority have the same * preference. * * @param int $rank */ public function setRank($rank) { $this->rank = $rank; } /** * @return int */ public function getRank() { return $this->rank; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(InstanceSelection::class, 'Google_Service_Dataproc_InstanceSelection');