key = $key; } /** * @return string */ public function getKey() { return $this->key; } /** * @param string */ public function setOperator($operator) { $this->operator = $operator; } /** * @return string */ public function getOperator() { return $this->operator; } /** * @param string[] */ public function setValues($values) { $this->values = $values; } /** * @return string[] */ public function getValues() { return $this->values; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SchedulingNodeAffinity::class, 'Google_Service_Compute_SchedulingNodeAffinity');