collocation = $collocation; } /** * @return string */ public function getCollocation() { return $this->collocation; } /** * When specified, causes the job to fail if more than max_distance logical * switches are required between VMs. Batch uses the most compact possible * placement of VMs even when max_distance is not specified. An explicit * max_distance makes that level of compactness a strict requirement. Not yet * implemented * * @param string $maxDistance */ public function setMaxDistance($maxDistance) { $this->maxDistance = $maxDistance; } /** * @return string */ public function getMaxDistance() { return $this->maxDistance; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(PlacementPolicy::class, 'Google_Service_Batch_PlacementPolicy');