Class Google::Cloud::PubSub::V1::PublishRequest (v0.7.1)

Request for the Publish method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#messages

def messages() -> ::Array<::Google::Cloud::PubSub::V1::PubsubMessage>
Returns

#messages=

def messages=(value) -> ::Array<::Google::Cloud::PubSub::V1::PubsubMessage>
Parameter
Returns

#topic

def topic() -> ::String
Returns
  • (::String) — Required. The messages in the request will be published on this topic. Format is projects/{project}/topics/{topic}.

#topic=

def topic=(value) -> ::String
Parameter
  • value (::String) — 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}.