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:



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

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}+.



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

class PublishRequest; end