range = $range; } /** * @return GridRange */ public function getRange() { return $this->range; } /** * @param DataValidationRule */ public function setRule(DataValidationRule $rule) { $this->rule = $rule; } /** * @return DataValidationRule */ public function getRule() { return $this->rule; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SetDataValidationRequest::class, 'Google_Service_Sheets_SetDataValidationRequest');