Class: Google::Apis::TranscoderV1beta1::Progress
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1beta1::Progress
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/transcoder_v1beta1/classes.rb,
lib/google/apis/transcoder_v1beta1/representations.rb,
lib/google/apis/transcoder_v1beta1/representations.rb
Overview
Estimated fractional progress for each step, from 0 to 1.
Instance Attribute Summary collapse
-
#analyzed ⇒ Float
Estimated fractional progress for
analyzingstep. -
#encoded ⇒ Float
Estimated fractional progress for
encodingstep. -
#notified ⇒ Float
Estimated fractional progress for
notifyingstep. -
#uploaded ⇒ Float
Estimated fractional progress for
uploadingstep.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Progress
constructor
A new instance of Progress.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Progress
Returns a new instance of Progress.
1368 1369 1370 |
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1368 def initialize(**args) update!(**args) end |
Instance Attribute Details
#analyzed ⇒ Float
Estimated fractional progress for analyzing step.
Corresponds to the JSON property analyzed
1351 1352 1353 |
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1351 def analyzed @analyzed end |
#encoded ⇒ Float
Estimated fractional progress for encoding step.
Corresponds to the JSON property encoded
1356 1357 1358 |
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1356 def encoded @encoded end |
#notified ⇒ Float
Estimated fractional progress for notifying step.
Corresponds to the JSON property notified
1361 1362 1363 |
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1361 def notified @notified end |
#uploaded ⇒ Float
Estimated fractional progress for uploading step.
Corresponds to the JSON property uploaded
1366 1367 1368 |
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1366 def uploaded @uploaded end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1373 1374 1375 1376 1377 1378 |
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1373 def update!(**args) @analyzed = args[:analyzed] if args.key?(:analyzed) @encoded = args[:encoded] if args.key?(:encoded) @notified = args[:notified] if args.key?(:notified) @uploaded = args[:uploaded] if args.key?(:uploaded) end |