constraints = $constraints; } /** * @return LocationPolicyLocationConstraints */ public function getConstraints() { return $this->constraints; } /** * @param string */ public function setPreference($preference) { $this->preference = $preference; } /** * @return string */ public function getPreference() { return $this->preference; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(LocationPolicyLocation::class, 'Google_Service_Compute_LocationPolicyLocation');