Response for the StreamingPull
method. This response is used to stream messages from the server to the client.
JSON representation |
---|
{ "receivedMessages": [ { object ( |
Fields | |
---|---|
received |
Optional. Received Pub/Sub messages. This will not be empty. |
acknowledge |
Optional. This field will only be set if |
modify |
Optional. This field will only be set if |
subscription |
Optional. Properties associated with this subscription. |
AcknowledgeConfirmation
Acknowledgement IDs sent in one or more previous requests to acknowledge a previously received message.
JSON representation |
---|
{ "ackIds": [ string ], "invalidAckIds": [ string ], "unorderedAckIds": [ string ], "temporaryFailedAckIds": [ string ] } |
Fields | |
---|---|
ack |
Optional. Successfully processed acknowledgement IDs. |
invalid |
Optional. List of acknowledgement IDs that were malformed or whose acknowledgement deadline has expired. |
unordered |
Optional. List of acknowledgement IDs that were out of order. |
temporary |
Optional. List of acknowledgement IDs that failed processing with temporary issues. |
ModifyAckDeadlineConfirmation
Acknowledgement IDs sent in one or more previous requests to modify the deadline for a specific message.
JSON representation |
---|
{ "ackIds": [ string ], "invalidAckIds": [ string ], "temporaryFailedAckIds": [ string ] } |
Fields | |
---|---|
ack |
Optional. Successfully processed acknowledgement IDs. |
invalid |
Optional. List of acknowledgement IDs that were malformed or whose acknowledgement deadline has expired. |
temporary |
Optional. List of acknowledgement IDs that failed processing with temporary issues. |
SubscriptionProperties
Subscription properties sent as part of the response.
JSON representation |
---|
{ "exactlyOnceDeliveryEnabled": boolean, "messageOrderingEnabled": boolean } |
Fields | |
---|---|
exactly |
Optional. True iff exactly once delivery is enabled for this subscription. |
message |
Optional. True iff message ordering is enabled for this subscription. |