class Google::Apis::PubsubV1beta1a::PullBatchResponse

Response for the PullBatch method.

Attributes

pull_responses[RW]

Received Pub/Sub messages or status events. The Pub/Sub system will return zero messages if there are no more messages available in the backlog. The Pub/ Sub system may return fewer than the max_events requested even if there are more messages available in the backlog. Corresponds to the JSON property `pullResponses` @return [Array<Google::Apis::PubsubV1beta1a::PullResponse>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/pubsub_v1beta1a/classes.rb, line 434
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_v1beta1a/classes.rb, line 439
def update!(**args)
  @pull_responses = args[:pull_responses] if args.key?(:pull_responses)
end