QueueRateLimitsArgs

data class QueueRateLimitsArgs(val maxBurstSize: Output<Int>? = null, val maxConcurrentDispatches: Output<Int>? = null, val maxDispatchesPerSecond: Output<Double>? = null) : ConvertibleToJava<QueueRateLimitsArgs>

Constructors

Link copied to clipboard
constructor(maxBurstSize: Output<Int>? = null, maxConcurrentDispatches: Output<Int>? = null, maxDispatchesPerSecond: Output<Double>? = null)

Properties

Link copied to clipboard
val maxBurstSize: Output<Int>? = null

(Output) The max burst size. Max burst size limits how fast tasks in queue are processed when many tasks are in the queue and the rate is high. This field allows the queue to have a high rate so processing starts shortly after a task is enqueued, but still limits resource usage when many tasks are enqueued in a short period of time.

Link copied to clipboard
val maxConcurrentDispatches: Output<Int>? = null

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.

Link copied to clipboard
val maxDispatchesPerSecond: Output<Double>? = null

The maximum rate at which tasks are dispatched from this queue. If unspecified when the queue is created, Cloud Tasks will pick the default.

Functions

Link copied to clipboard
open override fun toJava(): QueueRateLimitsArgs