maxConcurrentTasks

@JvmName(name = "wmphjegkruxallli")
suspend fun maxConcurrentTasks(value: Output<Int>)
@JvmName(name = "gmbscygwhiogqmol")
suspend fun maxConcurrentTasks(value: Int?)

Parameters

value

The maximum number of concurrent tasks that Cloud Tasks allows to be dispatched for this queue. After this threshold has been reached, Cloud Tasks stops dispatching tasks until the number of concurrent requests decreases. If unspecified when the queue is created, Cloud Tasks will pick the default. The maximum allowed value is 5,000. This field is output only for pull queues and always -1, which indicates no limit. No other queue types can have max_concurrent_tasks set to -1. This field has the same meaning as max_concurrent_requests in queue.yaml/xml.