class Google::Apis::PagespeedonlineV2::Result::FormattedResults
Localized PageSpeed results. Contains a ruleResults entry for each PageSpeed rule instantiated and run by the server.
Attributes
locale[RW]
The locale of the formattedResults, e.g. “en_US”. Corresponds to the JSON property `locale` @return [String]
rule_results[RW]
Dictionary of formatted rule results, with one entry for each PageSpeed rule instantiated and run by the server. Corresponds to the JSON property `ruleResults` @return [Hash<String,Google::Apis::PagespeedonlineV2::Result::FormattedResults::RuleResult>]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/pagespeedonline_v2/classes.rb, line 356 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/pagespeedonline_v2/classes.rb, line 361 def update!(**args) @locale = args[:locale] if args.key?(:locale) @rule_results = args[:rule_results] if args.key?(:rule_results) end