Class: Google::Cloud::PubSub::V1::PullResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/pubsub/v1/pubsub.rb

Overview

Response for the Pull method.

Instance Attribute Summary collapse

Instance Attribute Details

#received_messages::Array<::Google::Cloud::PubSub::V1::ReceivedMessage>

Returns 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.

Returns:

  • (::Array<::Google::Cloud::PubSub::V1::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.



747
748
749
750
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 747

class PullResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end