Class: Google::Apis::PubsubV1beta1a::PullBatchResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PubsubV1beta1a::PullBatchResponse
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/pubsub_v1beta1a/classes.rb,
 generated/google/apis/pubsub_v1beta1a/representations.rb,
 generated/google/apis/pubsub_v1beta1a/representations.rb
Overview
Response for the PullBatch method.
Instance Attribute Summary collapse
- 
  
    
      #pull_responses  ⇒ Array<Google::Apis::PubsubV1beta1a::PullResponse> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Received Pub/Sub messages or status events. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ PullBatchResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of PullBatchResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PullBatchResponse
Returns a new instance of PullBatchResponse
| 446 447 448 | # File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 446 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#pull_responses ⇒ Array<Google::Apis::PubsubV1beta1a::PullResponse>
Received Pub/Sub messages or status events. The Pub/Sub system will return
zero messages if there are no more messages available in the backlog. The
Pub/Sub system may return fewer than the max_events requested even if
there are more messages available in the backlog.
Corresponds to the JSON property pullResponses
| 444 445 446 | # File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 444 def pull_responses @pull_responses end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 451 452 453 | # File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 451 def update!(**args) @pull_responses = args[:pull_responses] if args.key?(:pull_responses) end |