class Google::Apis::PagespeedonlineV2::Result::RuleGroup

The name of this rule group: one of “SPEED” or “USABILITY”.

Attributes

score[RW]

The score (0-100) for this rule group, which indicates how much better a page could be in that category (e.g. how much faster, or how much more usable). A high score indicates little room for improvement, while a lower score indicates more room for improvement. Corresponds to the JSON property `score` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/pagespeedonline_v2/classes.rb, line 577
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 582
def update!(**args)
  @score = args[:score] if args.key?(:score)
end