duration = $duration; } /** * @return string */ public function getDuration() { return $this->duration; } /** * Defines a schedule with units measured in hours. The value determines how * many hours pass between the start of each cycle. * * @param int $hoursInCycle */ public function setHoursInCycle($hoursInCycle) { $this->hoursInCycle = $hoursInCycle; } /** * @return int */ public function getHoursInCycle() { return $this->hoursInCycle; } /** * Time within the window to start the operations. It must be in format * "HH:MM", where HH : [00-23] and MM : [00-00] GMT. * * @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(ResourcePolicyHourlyCycle::class, 'Google_Service_Compute_ResourcePolicyHourlyCycle');