class Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress

Describes the progress of the operation. Unit of work is generic and must be interpreted based on where Progress is used.

Attributes

completed_work[RW]

The amount of work completed. Corresponds to the JSON property `completedWork` @return [Fixnum]

estimated_work[RW]

The amount of work estimated. Corresponds to the JSON property `estimatedWork` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/firestore_v1beta2/classes.rb, line 626
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_v1beta2/classes.rb, line 631
def update!(**args)
  @completed_work = args[:completed_work] if args.key?(:completed_work)
  @estimated_work = args[:estimated_work] if args.key?(:estimated_work)
end