deadLetterTopic = $deadLetterTopic; } /** * @return string */ public function getDeadLetterTopic() { return $this->deadLetterTopic; } /** * @param int */ public function setMaxDeliveryAttempts($maxDeliveryAttempts) { $this->maxDeliveryAttempts = $maxDeliveryAttempts; } /** * @return int */ public function getMaxDeliveryAttempts() { return $this->maxDeliveryAttempts; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(DeadLetterPolicy::class, 'Google_Service_Pubsub_DeadLetterPolicy');