numRetries = $numRetries; } /** * @return string */ public function getNumRetries() { return $this->numRetries; } /** * @param Duration */ public function setPerTryTimeout(Duration $perTryTimeout) { $this->perTryTimeout = $perTryTimeout; } /** * @return Duration */ public function getPerTryTimeout() { return $this->perTryTimeout; } /** * @param string[] */ public function setRetryConditions($retryConditions) { $this->retryConditions = $retryConditions; } /** * @return string[] */ public function getRetryConditions() { return $this->retryConditions; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(HttpRetryPolicy::class, 'Google_Service_Compute_HttpRetryPolicy');