Class: Google::Apis::PagespeedonlineV5::LighthouseResultV5::CategoryGroup
- Inherits:
-
Object
- Object
- Google::Apis::PagespeedonlineV5::LighthouseResultV5::CategoryGroup
- 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
A grouping contained in a category that groups similar audits together.
Instance Attribute Summary collapse
-
#description ⇒ String
An optional human readable description of the category group.
-
#title ⇒ String
The title of the category group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CategoryGroup
constructor
A new instance of CategoryGroup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CategoryGroup
Returns a new instance of CategoryGroup
339 340 341 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 339 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
An optional human readable description of the category group.
Corresponds to the JSON property description
332 333 334 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 332 def description @description end |
#title ⇒ String
The title of the category group.
Corresponds to the JSON property title
337 338 339 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 337 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
344 345 346 347 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 344 def update!(**args) @description = args[:description] if args.key?(:description) @title = args[:title] if args.key?(:title) end |