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::PubsubMessage>]

Public Class Methods

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