Struct google_cloudtasks2_beta2::PullMessage [] [src]

pub struct PullMessage {
    pub tag: Option<String>,
    pub payload: Option<String>,
}

The pull message contains data that can be used by the caller of CloudTasks.PullTasks to process the task.

This proto can only be used for tasks in a queue which has Queue.pull_target set.

This type is not used in any activity, and only used as part of another schema.

Fields

A meta-data tag for this task.

This value is used by CloudTasks.PullTasks calls when PullTasksRequest.filter is tag=<tag>.

The tag must be less than 500 bytes.

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

Trait Implementations

impl Default for PullMessage
[src]

[src]

Returns the "default value" for a type. Read more

impl Clone for PullMessage
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for PullMessage
[src]

[src]

Formats the value using the given formatter.

impl Part for PullMessage
[src]