Task(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A unit of scheduled work.
This message has
oneof_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
Optionally caller-specified in CreateTask. The task name. The task name must have the following format:
HTTP request that is sent to the App Engine app handler. An App Engine task is a task that has AppEngineHttpRequest set. This field is a member of
HTTP request that is sent to the task's target. An HTTP task is a task that has HttpRequest set. This field is a member of
Pull Message contained in a task in a PULL queue type. This payload type cannot be explicitly set through Cloud Tasks API. Its purpose, currently is to provide backward compatibility with App Engine Task Queue
The time when the task is scheduled to be attempted. For App Engine queues, this is when the task will be attempted or retried.
Output only. The time that the task was created.
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
Output only. The number of attempts dispatched. This count includes attempts which have been dispatched but haven't received a response.
Output only. The number of attempts which have received a response.
Output only. The status of the task's first attempt. Only dispatch_time will be set. The other Attempt information is not retained by Cloud Tasks.
Output only. The status of the task's last attempt.
Output only. The view specifies which subset of the Task has been returned.
Inheritancebuiltins.object > proto.message.Message > Task
The view specifies a subset of Task data.
When a task is returned in a response, not all information is retrieved by default because some data, such as payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains.