Class: Google::Apis::PagespeedonlineV5::PagespeedVersion
- Inherits:
-
Object
- Object
- Google::Apis::PagespeedonlineV5::PagespeedVersion
- 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
The Pagespeed Version object.
Instance Attribute Summary collapse
-
#major ⇒ String
The major version number of PageSpeed used to generate these results.
-
#minor ⇒ String
The minor version number of PageSpeed used to generate these results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PagespeedVersion
constructor
A new instance of PagespeedVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PagespeedVersion
Returns a new instance of PagespeedVersion.
598 599 600 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 598 def initialize(**args) update!(**args) end |
Instance Attribute Details
#major ⇒ String
The major version number of PageSpeed used to generate these results.
Corresponds to the JSON property major
591 592 593 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 591 def major @major end |
#minor ⇒ String
The minor version number of PageSpeed used to generate these results.
Corresponds to the JSON property minor
596 597 598 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 596 def minor @minor end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
603 604 605 606 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 603 def update!(**args) @major = args[:major] if args.key?(:major) @minor = args[:minor] if args.key?(:minor) end |