pubsub  v1
Properties | List of all members
Google.Apis.Pubsub.v1.Data.PubsubMessage Class Reference

A message that is published by publishers and consumed by subscribers. The message must contain either a non-empty data field or at least one attribute. Note that client libraries represent this object differently depending on the language. See the corresponding client library documentation for more information. See Quotas and limits for more information about message limits. More...

Inheritance diagram for Google.Apis.Pubsub.v1.Data.PubsubMessage:
Google::Apis::Requests::IDirectResponseSchema

Properties

virtual System.Collections.Generic.IDictionary< string, string > Attributes [get, set]
 Attributes for this message. If this field is empty, the message must contain non-empty data. More...
 
virtual string Data [get, set]
 The message data field. If this field is empty, the message must contain at least one attribute. More...
 
virtual string MessageId [get, set]
 ID of this message, assigned by the server when the message is published. 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 the publisher in a Publish call. More...
 
virtual object PublishTime [get, set]
 The time at which the message was published, populated by the server when it receives the Publish call. It must not be populated by the publisher in a Publish call. More...
 
virtual string ETag [get, set]
 The ETag of the item. More...
 
- Properties inherited from Google::Apis::Requests::IDirectResponseSchema
string ETag
 

Detailed Description

A message that is published by publishers and consumed by subscribers. The message must contain either a non-empty data field or at least one attribute. Note that client libraries represent this object differently depending on the language. See the corresponding client library documentation for more information. See Quotas and limits for more information about message limits.

Property Documentation

◆ Attributes

virtual System.Collections.Generic.IDictionary<string,string> Google.Apis.Pubsub.v1.Data.PubsubMessage.Attributes
getset

Attributes for this message. If this field is empty, the message must contain non-empty data.

◆ Data

virtual string Google.Apis.Pubsub.v1.Data.PubsubMessage.Data
getset

The message data field. If this field is empty, the message must contain at least one attribute.

◆ ETag

virtual string Google.Apis.Pubsub.v1.Data.PubsubMessage.ETag
getset

The ETag of the item.

◆ MessageId

virtual string Google.Apis.Pubsub.v1.Data.PubsubMessage.MessageId
getset

ID of this message, assigned by the server when the message is published. 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 the publisher in a Publish call.

◆ PublishTime

virtual object Google.Apis.Pubsub.v1.Data.PubsubMessage.PublishTime
getset

The time at which the message was published, populated by the server when it receives the Publish call. It must not be populated by the publisher in a Publish call.


The documentation for this class was generated from the following file: