QueueRateLimits class

Constructors

QueueRateLimits({Input<int?>? maxBurstSize, Input<int?>? maxConcurrentDispatches, Input<double?>? maxDispatchesPerSecond})
Creates a new QueueRateLimits. maxBurstSize (Output) maxConcurrentDispatches The maximum number of concurrent tasks that Cloud Tasks allows to maxDispatchesPerSecond The maximum rate at which tasks are dispatched from this queue.
const
QueueRateLimits.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
maxBurstSize → Input<int?>?
(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.
final
maxConcurrentDispatches → Input<int?>?
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.
final
maxDispatchesPerSecond → Input<double?>?
The maximum rate at which tasks are dispatched from this queue. If unspecified when the queue is created, Cloud Tasks will pick the default.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited