class Google::Apis::HealthcareV1::ProgressCounter

ProgressCounter provides counters to describe an operation's progress.

Attributes

failure[RW]

The number of units that failed in the operation. Corresponds to the JSON property `failure` @return [Fixnum]

pending[RW]

The number of units that are pending in the operation. Corresponds to the JSON property `pending` @return [Fixnum]

success[RW]

The number of units that succeeded in the operation. Corresponds to the JSON property `success` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/healthcare_v1/classes.rb, line 3363
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/healthcare_v1/classes.rb, line 3368
def update!(**args)
  @failure = args[:failure] if args.key?(:failure)
  @pending = args[:pending] if args.key?(:pending)
  @success = args[:success] if args.key?(:success)
end