Class: Google::Apis::PagespeedonlineV5::LighthouseResultV5::Timing
- Inherits:
-
Object
- Object
- Google::Apis::PagespeedonlineV5::LighthouseResultV5::Timing
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/pagespeedonline_v5/classes.rb,
generated/google/apis/pagespeedonline_v5/representations.rb,
generated/google/apis/pagespeedonline_v5/representations.rb
Overview
Timing information for this LHR.
Instance Attribute Summary collapse
-
#total ⇒ Float
The total duration of Lighthouse's run.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Timing
constructor
A new instance of Timing.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Timing
Returns a new instance of Timing
570 571 572 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 570 def initialize(**args) update!(**args) end |
Instance Attribute Details
#total ⇒ Float
The total duration of Lighthouse's run.
Corresponds to the JSON property total
568 569 570 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 568 def total @total end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
575 576 577 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 575 def update!(**args) @total = args[:total] if args.key?(:total) end |