Class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1Progress
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DatastoreV1::GoogleDatastoreAdminV1Progress
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/datastore_v1/classes.rb,
 generated/google/apis/datastore_v1/representations.rb,
 generated/google/apis/datastore_v1/representations.rb
Overview
Measures the progress of a particular metric.
Instance Attribute Summary collapse
- 
  
    
      #work_completed  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The amount of work that has been completed. 
- 
  
    
      #work_estimated  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An estimate of how much work needs to be performed. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleDatastoreAdminV1Progress 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GoogleDatastoreAdminV1Progress. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleDatastoreAdminV1Progress
Returns a new instance of GoogleDatastoreAdminV1Progress
| 707 708 709 | # File 'generated/google/apis/datastore_v1/classes.rb', line 707 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#work_completed ⇒ Fixnum
The amount of work that has been completed. Note that this may be greater
than work_estimated.
Corresponds to the JSON property workCompleted
| 699 700 701 | # File 'generated/google/apis/datastore_v1/classes.rb', line 699 def work_completed @work_completed end | 
#work_estimated ⇒ Fixnum
An estimate of how much work needs to be performed. May be zero if the
work estimate is unavailable.
Corresponds to the JSON property workEstimated
| 705 706 707 | # File 'generated/google/apis/datastore_v1/classes.rb', line 705 def work_estimated @work_estimated end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 712 713 714 715 | # File 'generated/google/apis/datastore_v1/classes.rb', line 712 def update!(**args) @work_completed = args[:work_completed] if args.key?(:work_completed) @work_estimated = args[:work_estimated] if args.key?(:work_estimated) end |