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