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

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



971
972
973
974
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 971

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