Class PullResponse (2.6.1)

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

Response for the Pull method.

Attribute

NameDescription
received_messages Sequence[google.pubsub_v1.types.ReceivedMessage]
Received Pub/Sub messages. The list will be empty if there are no more messages available in the backlog. 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.