Show / Hide Table of Contents

Class PubsubMessage

A message data and its labels.

Inheritance
object
PubsubMessage
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Pubsub.v1beta1a.Data
Assembly: Google.Apis.Pubsub.v1beta1a.dll
Syntax
public class PubsubMessage : IDirectResponseSchema

Properties

Data

The message payload.

Declaration
[JsonProperty("data")]
public virtual string Data { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Label

Optional list of labels for this message. Keys in this collection must be unique.

Declaration
[JsonProperty("label")]
public virtual IList<Label> Label { get; set; }
Property Value
Type Description
IList<Label>

MessageId

ID of this message assigned by the server at publication time. Guaranteed to be unique within the topic. This value may be read by a subscriber that receives a PubsubMessage via a Pull call or a push delivery. It must not be populated by a publisher in a Publish call.

Declaration
[JsonProperty("messageId")]
public virtual string MessageId { get; set; }
Property Value
Type Description
string

PublishTime

The time at which the message was published. The time is milliseconds since the UNIX epoch.

Declaration
[JsonProperty("publishTime")]
public virtual long? PublishTime { get; set; }
Property Value
Type Description
long?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX