class Google::Apis::PubsubV1::PullResponse
Response for the `Pull` method.
Attributes
received_messages[RW]
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. Corresponds to the JSON property `receivedMessages` @return [Array<Google::Apis::PubsubV1::ReceivedMessage>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/pubsub_v1/classes.rb, line 855 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/pubsub_v1/classes.rb, line 860 def update!(**args) @received_messages = args[:received_messages] if args.key?(:received_messages) end