Response for the StreamingPull
method. This response is used to stream messages from the server to the client.
JSON representation |
---|
{ "receivedMessages": [ { object ( |
Fields | |
---|---|
receivedMessages[] |
Received Pub/Sub messages. This will not be empty. |
acknowledgeConfirmation |
This field will only be set if |
modifyAckDeadlineConfirmation |
This field will only be set if |
subscriptionProperties |
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 | |
---|---|
ackIds[] |
Successfully processed acknowledgement IDs. |
invalidAckIds[] |
List of acknowledgement IDs that were malformed or whose acknowledgement deadline has expired. |
unorderedAckIds[] |
List of acknowledgement IDs that were out of order. |
temporaryFailedAckIds[] |
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 | |
---|---|
ackIds[] |
Successfully processed acknowledgement IDs. |
invalidAckIds[] |
List of acknowledgement IDs that were malformed or whose acknowledgement deadline has expired. |
temporaryFailedAckIds[] |
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 | |
---|---|
exactlyOnceDeliveryEnabled |
True iff exactly once delivery is enabled for this subscription. |
messageOrderingEnabled |
True iff message ordering is enabled for this subscription. |