nanos = $nanos; } /** * @return int */ public function getNanos() { return $this->nanos; } /** * Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 * inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * * 24 hr/day * 365.25 days/year * 10000 years * * @param string $seconds */ public function setSeconds($seconds) { $this->seconds = $seconds; } /** * @return string */ public function getSeconds() { return $this->seconds; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Duration::class, 'Google_Service_Compute_Duration');