maxBurstSize = $maxBurstSize; } /** * @return int */ public function getMaxBurstSize() { return $this->maxBurstSize; } /** * @param int */ public function setMaxConcurrentDispatches($maxConcurrentDispatches) { $this->maxConcurrentDispatches = $maxConcurrentDispatches; } /** * @return int */ public function getMaxConcurrentDispatches() { return $this->maxConcurrentDispatches; } public function setMaxDispatchesPerSecond($maxDispatchesPerSecond) { $this->maxDispatchesPerSecond = $maxDispatchesPerSecond; } public function getMaxDispatchesPerSecond() { return $this->maxDispatchesPerSecond; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(RateLimits::class, 'Google_Service_CloudTasks_RateLimits');