Class: Google::Apis::PubsubV1beta1a::AcknowledgeRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PubsubV1beta1a::AcknowledgeRequest
 
- 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
Request for the Acknowledge method.
Instance Attribute Summary collapse
- 
  
    
      #ack_id  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The acknowledgment ID for the message being acknowledged. 
- 
  
    
      #subscription  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The subscription whose message is being acknowledged. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AcknowledgeRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of AcknowledgeRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AcknowledgeRequest
Returns a new instance of AcknowledgeRequest
| 40 41 42 | # File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 40 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#ack_id ⇒ Array<String>
The acknowledgment ID for the message being acknowledged. This was
returned by the Pub/Sub system in the Pull response.
Corresponds to the JSON property ackId
| 33 34 35 | # File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 33 def ack_id @ack_id end | 
#subscription ⇒ String
The subscription whose message is being acknowledged.
Corresponds to the JSON property subscription
| 38 39 40 | # File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 38 def subscription @subscription end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 45 46 47 48 | # File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 45 def update!(**args) @ack_id = args[:ack_id] if args.key?(:ack_id) @subscription = args[:subscription] if args.key?(:subscription) end |