Class: Google::Cloud::PubSub::V1::PublishRequest
- Inherits:
-
Object
- Object
- Google::Cloud::PubSub::V1::PublishRequest
- 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
-
#messages ⇒ ::Array<::Google::Cloud::PubSub::V1::PubsubMessage>
Required.
-
#topic ⇒ ::String
Required.
Instance Attribute Details
#messages ⇒ ::Array<::Google::Cloud::PubSub::V1::PubsubMessage>
Returns Required. The messages to publish.
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}
.
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 |