Task class

A unit of scheduled work.

Constructors

Task()
Task.fromJson(Map _json)

Properties

appEngineHttpRequest AppEngineHttpRequest
HTTP request that is sent to the App Engine app handler. [...]
read / write
createTime ↔ String
Output only. The time that the task was created. [...]
read / write
dispatchCount ↔ int
Output only. The number of attempts dispatched. [...]
read / write
dispatchDeadline ↔ String
The deadline for requests sent to the worker. If the worker does not respond by this deadline then the request is cancelled and the attempt is marked as a DEADLINE_EXCEEDED failure. Cloud Tasks will retry the task according to the RetryConfig. [...]
read / write
firstAttempt Attempt
Output only. The status of the task's first attempt. [...]
read / write
lastAttempt Attempt
Output only. The status of the task's last attempt.
read / write
name ↔ String
Optionally caller-specified in CreateTask. [...]
read / write
responseCount ↔ int
Output only. The number of attempts which have received a response.
read / write
scheduleTime ↔ String
The time when the task is scheduled to be attempted. [...]
read / write
view ↔ String
Output only. The view specifies which subset of the Task has been returned. Possible string values are: [...]
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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