class Google::Apis::PubsubV1beta2::PublishRequest

Request for the Publish method.

Attributes

messages[RW]

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

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/pubsub_v1beta2/classes.rb, line 203
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 208
def update!(**args)
  @messages = args[:messages] unless args[:messages].nil?
end