public sealed class PullMessage : IMessage<PullMessage>, IEquatable<PullMessage>, IDeepCloneable<PullMessage>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Tasks v2beta3 API class PullMessage.
Pull Message.
This proto can only be used for tasks in a queue which has
[PULL][google.cloud.tasks.v2beta3.Queue.type] type. It currently exists for
backwards compatibility with the App Engine Task Queue SDK. This message type
maybe returned with methods
[list][google.cloud.tasks.v2beta3.CloudTask.ListTasks] and
[get][google.cloud.tasks.v2beta3.CloudTask.ListTasks], when the response view
is [FULL][google.cloud.tasks.v2beta3.Task.View.Full].
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003e\u003ccode\u003ePullMessage\u003c/code\u003e is a class within the Google Cloud Tasks v2beta3 API, designed for tasks in queues of the \u003ccode\u003ePULL\u003c/code\u003e type, and is primarily for backwards compatibility with the App Engine Task Queue SDK.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e, offering features such as deep cloning and message buffering.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePullMessage\u003c/code\u003e class includes properties for \u003ccode\u003ePayload\u003c/code\u003e, representing the data payload for task execution, and \u003ccode\u003eTag\u003c/code\u003e, which is a UTF-8 encoded string used to label the task, with a maximum length of 500 characters.\u003c/p\u003e\n"],["\u003cp\u003eThe Pull Message type may be returned from the \u003ccode\u003eListTasks\u003c/code\u003e method or the \u003ccode\u003eGetTask\u003c/code\u003e method, when the \u003ccode\u003eFULL\u003c/code\u003e response view is requested.\u003c/p\u003e\n"]]],[],null,[]]