StreamingPullResponse

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)

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

acknowledgeConfirmation

object (AcknowledgeConfirmation)

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

modifyAckDeadlineConfirmation

object (ModifyAckDeadlineConfirmation)

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

subscriptionProperties

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

string

Optional. Successfully processed acknowledgement IDs.

invalidAckIds[]

string

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

unorderedAckIds[]

string

Optional. List of acknowledgement IDs that were out of order.

temporaryFailedAckIds[]

string

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

string

Optional. Successfully processed acknowledgement IDs.

invalidAckIds[]

string

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

temporaryFailedAckIds[]

string

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

boolean

Optional. True iff exactly once delivery is enabled for this subscription.

messageOrderingEnabled

boolean

Optional. True iff message ordering is enabled for this subscription.