Class: Google::Apis::TranscoderV1beta1::Progress

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Progress

Returns a new instance of Progress.



1309
1310
1311
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1309

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#analyzedFloat

Estimated fractional progress for analyzing step. Corresponds to the JSON property analyzed

Returns:

  • (Float)


1292
1293
1294
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1292

def analyzed
  @analyzed
end

#encodedFloat

Estimated fractional progress for encoding step. Corresponds to the JSON property encoded

Returns:

  • (Float)


1297
1298
1299
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1297

def encoded
  @encoded
end

#notifiedFloat

Estimated fractional progress for notifying step. Corresponds to the JSON property notified

Returns:

  • (Float)


1302
1303
1304
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1302

def notified
  @notified
end

#uploadedFloat

Estimated fractional progress for uploading step. Corresponds to the JSON property uploaded

Returns:

  • (Float)


1307
1308
1309
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1307

def uploaded
  @uploaded
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1314
1315
1316
1317
1318
1319
# File 'lib/google/apis/transcoder_v1beta1/classes.rb', line 1314

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