Either a
PubsubMessage
or a truncation event. One of these two must be populated.
| JSON representation |
|---|
{
"ackId": string,
"pubsubEvent": {
object ( |
| Fields | |
|---|---|
ack |
This ID must be used to acknowledge the received event or message. |
pubsub |
A pubsub message or truncation event. |
PubsubEvent
An event indicating a received message or truncation event.
| JSON representation |
|---|
{ "subscription": string, // Union field |
| Fields | |
|---|---|
subscription |
The subscription that received the event. |
Union field
|
|
message |
A received message. |
truncated |
Indicates that this subscription has been truncated. |
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.) |