Class PullResponse (2.21.1)

PullResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Response for the Pull method.


received_messages :noindex: MutableSequence[google.pubsub_v1.types.ReceivedMessage]
Optional. Received Pub/Sub messages. The list will be empty if there are no more messages available in the backlog, or if no messages could be returned before the request timeout. For JSON, the response can be entirely empty. The Pub/Sub system may return fewer than the maxMessages requested even if there are more messages available in the backlog.