Class: Google::Apis::PubsubV1beta2::PullResponse
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::PubsubV1beta2::PullResponse
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/pubsub_v1beta2/classes.rb,
generated/google/apis/pubsub_v1beta2/representations.rb,
generated/google/apis/pubsub_v1beta2/representations.rb 
Overview
Response for the Pull method.
Instance Attribute Summary collapse
- 
  
    
      #received_messages  ⇒ Array<Google::Apis::PubsubV1beta2::ReceivedMessage> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Received Pub/Sub messages.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ PullResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of PullResponse.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PullResponse
Returns a new instance of PullResponse
      499 500 501  | 
    
      # File 'generated/google/apis/pubsub_v1beta2/classes.rb', line 499 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#received_messages ⇒ Array<Google::Apis::PubsubV1beta2::ReceivedMessage>
Received Pub/Sub messages. The Pub/Sub system will return zero messages if
there are no more available in the backlog. The Pub/Sub system may return
fewer than the maxMessages requested even if there are more messages
available in the backlog.
Corresponds to the JSON property receivedMessages
      497 498 499  | 
    
      # File 'generated/google/apis/pubsub_v1beta2/classes.rb', line 497 def @received_messages end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      504 505 506  | 
    
      # File 'generated/google/apis/pubsub_v1beta2/classes.rb', line 504 def update!(**args) @received_messages = args[:received_messages] if args.key?(:received_messages) end  |