class Google::Apis::DatastoreV1::GoogleDatastoreAdminV1Progress
Measures the progress of a particular metric.
Attributes
work_completed[RW]
The amount of work that has been completed. Note that this may be greater than work_estimated. Corresponds to the JSON property `workCompleted` @return [Fixnum]
work_estimated[RW]
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` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/datastore_v1/classes.rb, line 778 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/datastore_v1/classes.rb, line 783 def update!(**args) @work_completed = args[:work_completed] if args.key?(:work_completed) @work_estimated = args[:work_estimated] if args.key?(:work_estimated) end