Class: Google::Pubsub::V1::PublishRequest
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Pubsub::V1::PublishRequest
 
 
- Defined in:
 - lib/google/cloud/pubsub/v1/doc/google/pubsub/v1/pubsub.rb
 
Overview
Request for the Publish method.
Instance Attribute Summary collapse
- 
  
    
      #messages  ⇒ Array<Google::Pubsub::V1::PubsubMessage> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The messages to publish.
 - 
  
    
      #topic  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The messages in the request will be published on this topic.
 
Instance Attribute Details
#messages ⇒ Array<Google::Pubsub::V1::PubsubMessage>
Returns The messages to publish.
      99  | 
    
      # File 'lib/google/cloud/pubsub/v1/doc/google/pubsub/v1/pubsub.rb', line 99 class PublishRequest; end  | 
  
#topic ⇒ String
Returns 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  |