class Google::Apis::PubsubV1beta2::PublishResponse

Response for the `Publish` method.

Attributes

message_ids[RW]

The server-assigned ID of each published message, in the same order as the messages in the request. IDs are guaranteed to be unique within the topic. Corresponds to the JSON property `messageIds` @return [Array<String>]

Public Class Methods

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