Class PubsubEvent
An event indicating a received message or truncation event.
Implements
Inherited Members
Namespace: Google.Apis.Pubsub.v1beta1a.Data
Assembly: Google.Apis.Pubsub.v1beta1a.dll
Syntax
public class PubsubEvent : IDirectResponseSchema
Properties
Deleted
Indicates that this subscription has been deleted. (Note that pull subscribers will always receive NOT_FOUND in response in their pull request on the subscription, rather than seeing this boolean.)
Declaration
[JsonProperty("deleted")]
public virtual bool? Deleted { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Message
A received message.
Declaration
[JsonProperty("message")]
public virtual PubsubMessage Message { get; set; }
Property Value
Type | Description |
---|---|
PubsubMessage |
Subscription
The subscription that received the event.
Declaration
[JsonProperty("subscription")]
public virtual string Subscription { get; set; }
Property Value
Type | Description |
---|---|
string |
Truncated
Indicates that this subscription has been truncated.
Declaration
[JsonProperty("truncated")]
public virtual bool? Truncated { get; set; }
Property Value
Type | Description |
---|---|
bool? |