class Google::Apis::PubsubV1beta1a::PublishBatchRequest

Request for the PublishBatch method.

Attributes

messages[RW]

The messages to publish. Corresponds to the JSON property `messages` @return [Array<Google::Apis::PubsubV1beta1a::PubsubMessage>]

topic[RW]

The messages in the request will be published on this topic. Corresponds to the JSON property `topic` @return [String]

Public Class Methods

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