Class: Google::Pubsub::V1::PublishRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/pubsub/v1/doc/google/pubsub/v1/pubsub.rb

Overview

Request for the Publish method.

Instance Attribute Summary collapse

Instance Attribute Details

#messagesArray<Google::Pubsub::V1::PubsubMessage>

Returns The messages to publish.

Returns:



91
# File 'lib/google/cloud/pubsub/v1/doc/google/pubsub/v1/pubsub.rb', line 91

class PublishRequest; end

#topicString

Returns The messages in the request will be published on this topic. Format is +projects/project/topics/#topic+.

Returns:

  • (String)

    The messages in the request will be published on this topic. Format is +projects/project/topics/#topic+.



91
# File 'lib/google/cloud/pubsub/v1/doc/google/pubsub/v1/pubsub.rb', line 91

class PublishRequest; end