RateLimits class
Rate limits.
This message determines the maximum rate that tasks can be dispatched by a queue, regardless of whether the dispatch is a first task attempt or a retry. Note: The debugging command, RunTask, will run a task even if the queue has reached its RateLimits.
Constructors
- RateLimits({int? maxBurstSize, int? maxConcurrentDispatches, double? maxDispatchesPerSecond})
- RateLimits.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxBurstSize ↔ int?
-
The max burst size.
getter/setter pair
- maxConcurrentDispatches ↔ int?
-
The maximum number of concurrent tasks that Cloud Tasks allows to be
dispatched for this queue.
getter/setter pair
- maxDispatchesPerSecond ↔ double?
-
The maximum rate at which tasks are dispatched from this queue.
getter/setter pair
- 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited