Class: Google::Cloud::PubSub::V1::PublishRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/pubsub/v1/pubsub.rb

Overview

Request for the Publish method.

Instance Attribute Summary collapse

Instance Attribute Details

#messages::Array<::Google::Cloud::PubSub::V1::PubsubMessage>

Returns Required. The messages to publish.

Returns:



491
492
493
494
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 491

class PublishRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#topic::String

Returns Required. The messages in the request will be published on this topic. Format is projects/{project}/topics/{topic}.

Returns:

  • (::String)

    Required. The messages in the request will be published on this topic. Format is projects/{project}/topics/{topic}.



491
492
493
494
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 491

class PublishRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end