StreamingPullResponse

Stay organized with collections Save and categorize content based on your preferences.

Response for the StreamingPull method. This response is used to stream messages from the server to the client.

JSON representation
{
  "receivedMessages": [
    {
      object (ReceivedMessage)
    }
  ],
  "acknowledgeConfirmation": {
    object (AcknowledgeConfirmation)
  },
  "modifyAckDeadlineConfirmation": {
    object (ModifyAckDeadlineConfirmation)
  },
  "subscriptionProperties": {
    object (SubscriptionProperties)
  }
}
Fields
receivedMessages[]

object (ReceivedMessage)

Received Pub/Sub messages. This will not be empty.

acknowledgeConfirmation

object (AcknowledgeConfirmation)

This field will only be set if enableExactlyOnceDelivery is set to true.

modifyAckDeadlineConfirmation

object (ModifyAckDeadlineConfirmation)

This field will only be set if enableExactlyOnceDelivery is set to true.

subscriptionProperties

object (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[]

string

Successfully processed acknowledgement IDs.

invalidAckIds[]

string

List of acknowledgement IDs that were malformed or whose acknowledgement deadline has expired.

unorderedAckIds[]

string

List of acknowledgement IDs that were out of order.

temporaryFailedAckIds[]

string

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[]

string

Successfully processed acknowledgement IDs.

invalidAckIds[]

string

List of acknowledgement IDs that were malformed or whose acknowledgement deadline has expired.

temporaryFailedAckIds[]

string

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

boolean

True iff exactly once delivery is enabled for this subscription.

messageOrderingEnabled

boolean

True iff message ordering is enabled for this subscription.