class Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Progress
Measures the progress of a particular metric.
Attributes
work_completed[RW]
An estimate of how much work 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. Zero if the work estimate is unavailable. May change as work progresses. Corresponds to the JSON property `workEstimated` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/firestore_v1beta1/classes.rb, line 1144 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/firestore_v1beta1/classes.rb, line 1149 def update!(**args) @work_completed = args[:work_completed] if args.key?(:work_completed) @work_estimated = args[:work_estimated] if args.key?(:work_estimated) end