Class: Google::Apis::TranscoderV1beta1::Progress
- Inherits:
-
Object
- Object
- Google::Apis::TranscoderV1beta1::Progress
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/transcoder_v1beta1/classes.rb,
generated/google/apis/transcoder_v1beta1/representations.rb,
generated/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
analyzing
step. -
#encoded ⇒ Float
Estimated fractional progress for
encoding
step. -
#notified ⇒ Float
Estimated fractional progress for
notifying
step. -
#uploaded ⇒ Float
Estimated fractional progress for
uploading
step.
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.
1262 1263 1264 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 1262 def initialize(**args) update!(**args) end |
Instance Attribute Details
#analyzed ⇒ Float
Estimated fractional progress for analyzing
step.
Corresponds to the JSON property analyzed
1245 1246 1247 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 1245 def analyzed @analyzed end |
#encoded ⇒ Float
Estimated fractional progress for encoding
step.
Corresponds to the JSON property encoded
1250 1251 1252 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 1250 def encoded @encoded end |
#notified ⇒ Float
Estimated fractional progress for notifying
step.
Corresponds to the JSON property notified
1255 1256 1257 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 1255 def notified @notified end |
#uploaded ⇒ Float
Estimated fractional progress for uploading
step.
Corresponds to the JSON property uploaded
1260 1261 1262 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 1260 def uploaded @uploaded end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1267 1268 1269 1270 1271 1272 |
# File 'generated/google/apis/transcoder_v1beta1/classes.rb', line 1267 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 |