Class: Google::Apis::PagespeedonlineV5::PagespeedApiLoadingExperienceV5
- Inherits:
-
Object
- Object
- Google::Apis::PagespeedonlineV5::PagespeedApiLoadingExperienceV5
- 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
Defined Under Namespace
Classes: Metric
Instance Attribute Summary collapse
-
#id ⇒ String
The url, pattern or origin which the metrics are on.
-
#initial_url ⇒ String
Corresponds to the JSON property
initial_url
. -
#metrics ⇒ Hash<String,Google::Apis::PagespeedonlineV5::PagespeedApiLoadingExperienceV5::Metric>
Corresponds to the JSON property
metrics
. -
#overall_category ⇒ String
Corresponds to the JSON property
overall_category
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PagespeedApiLoadingExperienceV5
constructor
A new instance of PagespeedApiLoadingExperienceV5.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PagespeedApiLoadingExperienceV5
Returns a new instance of PagespeedApiLoadingExperienceV5
605 606 607 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 605 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
The url, pattern or origin which the metrics are on.
Corresponds to the JSON property id
588 589 590 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 588 def id @id end |
#initial_url ⇒ String
Corresponds to the JSON property initial_url
593 594 595 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 593 def initial_url @initial_url end |
#metrics ⇒ Hash<String,Google::Apis::PagespeedonlineV5::PagespeedApiLoadingExperienceV5::Metric>
Corresponds to the JSON property metrics
598 599 600 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 598 def metrics @metrics end |
#overall_category ⇒ String
Corresponds to the JSON property overall_category
603 604 605 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 603 def overall_category @overall_category end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
610 611 612 613 614 615 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 610 def update!(**args) @id = args[:id] if args.key?(:id) @initial_url = args[:initial_url] if args.key?(:initial_url) @metrics = args[:metrics] if args.key?(:metrics) @overall_category = args[:overall_category] if args.key?(:overall_category) end |