Class StreamingPullResponse (2.18.4)

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

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

Attributes

NameDescription
received_messages MutableSequence[google.pubsub_v1.types.ReceivedMessage]
Received Pub/Sub messages. This will not be empty.
acknowledge_confirmation google.pubsub_v1.types.StreamingPullResponse.AcknowledgeConfirmation
This field will only be set if enable_exactly_once_delivery is set to true.
modify_ack_deadline_confirmation google.pubsub_v1.types.StreamingPullResponse.ModifyAckDeadlineConfirmation
This field will only be set if enable_exactly_once_delivery is set to true.
subscription_properties google.pubsub_v1.types.StreamingPullResponse.SubscriptionProperties
Properties associated with this subscription.

Classes

AcknowledgeConfirmation

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

Acknowledgement IDs sent in one or more previous requests to acknowledge a previously received message.

ModifyAckDeadlineConfirmation

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

Acknowledgement IDs sent in one or more previous requests to modify the deadline for a specific message.

SubscriptionProperties

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

Subscription properties sent as part of the response.