canReschedule = $canReschedule; } /** * @deprecated * @return bool */ public function getCanReschedule() { return $this->canReschedule; } /** * The scheduled end time for the maintenance. * * @param string $endTime */ public function setEndTime($endTime) { $this->endTime = $endTime; } /** * @return string */ public function getEndTime() { return $this->endTime; } /** * The rollout management policy this maintenance schedule is associated with. * When doing reschedule update request, the reschedule should be against this * given policy. * * @param string $rolloutManagementPolicy */ public function setRolloutManagementPolicy($rolloutManagementPolicy) { $this->rolloutManagementPolicy = $rolloutManagementPolicy; } /** * @return string */ public function getRolloutManagementPolicy() { return $this->rolloutManagementPolicy; } /** * schedule_deadline_time is the time deadline any schedule start time cannot * go beyond, including reschedule. It's normally the initial schedule start * time plus maintenance window length (1 day or 1 week). Maintenance cannot * be scheduled to start beyond this deadline. * * @param string $scheduleDeadlineTime */ public function setScheduleDeadlineTime($scheduleDeadlineTime) { $this->scheduleDeadlineTime = $scheduleDeadlineTime; } /** * @return string */ public function getScheduleDeadlineTime() { return $this->scheduleDeadlineTime; } /** * The scheduled start time for the maintenance. * * @param string $startTime */ public function setStartTime($startTime) { $this->startTime = $startTime; } /** * @return string */ public function getStartTime() { return $this->startTime; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(MaintenanceSchedule::class, 'Google_Service_Connectors_MaintenanceSchedule');