Class: Google::Apis::CloudtasksV2beta2::TaskStatus
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::CloudtasksV2beta2::TaskStatus
 
 
- Defined in:
 - generated/google/apis/cloudtasks_v2beta2/classes.rb,
generated/google/apis/cloudtasks_v2beta2/representations.rb,
generated/google/apis/cloudtasks_v2beta2/representations.rb 
Overview
Status of the task.
Instance Attribute Summary collapse
- 
  
    
      #attempt_dispatch_count  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #attempt_response_count  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #first_attempt_status  ⇒ Google::Apis::CloudtasksV2beta2::AttemptStatus 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The status of a task attempt.
 - 
  
    
      #last_attempt_status  ⇒ Google::Apis::CloudtasksV2beta2::AttemptStatus 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The status of a task attempt.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ TaskStatus 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of TaskStatus.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ TaskStatus
Returns a new instance of TaskStatus
      1676 1677 1678  | 
    
      # File 'generated/google/apis/cloudtasks_v2beta2/classes.rb', line 1676 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#attempt_dispatch_count ⇒ Fixnum
Output only. The number of attempts dispatched.
This count includes tasks which have been dispatched but haven't
received a response.
Corresponds to the JSON property attemptDispatchCount
      1658 1659 1660  | 
    
      # File 'generated/google/apis/cloudtasks_v2beta2/classes.rb', line 1658 def attempt_dispatch_count @attempt_dispatch_count end  | 
  
#attempt_response_count ⇒ Fixnum
Output only. The number of attempts which have received a response.
This field is not calculated for pull tasks.
Corresponds to the JSON property attemptResponseCount
      1664 1665 1666  | 
    
      # File 'generated/google/apis/cloudtasks_v2beta2/classes.rb', line 1664 def attempt_response_count @attempt_response_count end  | 
  
#first_attempt_status ⇒ Google::Apis::CloudtasksV2beta2::AttemptStatus
The status of a task attempt.
Corresponds to the JSON property firstAttemptStatus
      1669 1670 1671  | 
    
      # File 'generated/google/apis/cloudtasks_v2beta2/classes.rb', line 1669 def first_attempt_status @first_attempt_status end  | 
  
#last_attempt_status ⇒ Google::Apis::CloudtasksV2beta2::AttemptStatus
The status of a task attempt.
Corresponds to the JSON property lastAttemptStatus
      1674 1675 1676  | 
    
      # File 'generated/google/apis/cloudtasks_v2beta2/classes.rb', line 1674 def last_attempt_status @last_attempt_status end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1681 1682 1683 1684 1685 1686  | 
    
      # File 'generated/google/apis/cloudtasks_v2beta2/classes.rb', line 1681 def update!(**args) @attempt_dispatch_count = args[:attempt_dispatch_count] if args.key?(:attempt_dispatch_count) @attempt_response_count = args[:attempt_response_count] if args.key?(:attempt_response_count) @first_attempt_status = args[:first_attempt_status] if args.key?(:first_attempt_status) @last_attempt_status = args[:last_attempt_status] if args.key?(:last_attempt_status) end  |