It doesn't seem that Google Cloud Tasks offers a Dead-Letter abstraction similar to the PubSub subscription property.
However, in your project, you could use Cloud Monitoring, which is integrated with most Google Cloud services, to automatically monitor Cloud Task key metrics and maybe create alerts about:
- Queue depth: The number of tasks in the queue.
- Task attempt count: Count of task attempts broken down by response code.
- Task attempt delay: Delay between each scheduled attempt time and actual attempt time in milliseconds.
That way someone could investigate if workers are keeping up with the flow of tasks by checking the metrics above.