Class PullMessage (2.16.2)

PullMessage(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Pull Message.

This proto can only be used for tasks in a queue which has PULL type. It currently exists for backwards compatibility with the App Engine Task Queue SDK. This message type maybe returned with methods list and get, when the response view is FULL.

Attributes

NameDescription
payload bytes
A data payload consumed by the worker to execute the task.
tag str
The tasks's tag. The tag is less than 500 characters. SDK compatibility: Although the SDK allows tags to be either string or bytes __, only UTF-8 encoded tags can be used in Cloud Tasks. If a tag isn't UTF-8 encoded, the tag will be empty when the task is returned by Cloud Tasks.