class Google::Apis::PubsubV1beta2::PullResponse
Response for the `Pull` method.
Attributes
received_messages[RW]
Received Pub/Sub messages. The Pub/Sub system will return zero messages if there are no more available in the backlog. 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::PubsubV1beta2::ReceivedMessage>]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/pubsub_v1beta2/classes.rb, line 564 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/pubsub_v1beta2/classes.rb, line 569 def update!(**args) @received_messages = args[:received_messages] unless args[:received_messages].nil? end