Google Cloud Tasks v2beta3 API - Class PullMessage (3.0.0-beta06)

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].

Inheritance

object > PullMessage

Namespace

Google.Cloud.Tasks.V2Beta3

Assembly

Google.Cloud.Tasks.V2Beta3.dll

Constructors

PullMessage()

public PullMessage()

PullMessage(PullMessage)

public PullMessage(PullMessage other)
Parameter
NameDescription
otherPullMessage

Properties

Payload

public ByteString Payload { get; set; }

A data payload consumed by the worker to execute the task.

Property Value
TypeDescription
ByteString

Tag

public string Tag { get; set; }

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.

Property Value
TypeDescription
string