Class: Google::Apis::PagespeedonlineV5::CategoryGroupV5
- Inherits:
-
Object
- Object
- Google::Apis::PagespeedonlineV5::CategoryGroupV5
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/pagespeedonline_v5/classes.rb,
lib/google/apis/pagespeedonline_v5/representations.rb,
lib/google/apis/pagespeedonline_v5/representations.rb
Overview
Message containing a category
Instance Attribute Summary collapse
-
#description ⇒ String
The description of what the category is grouping Corresponds to the JSON property
description
. -
#title ⇒ String
The human readable title of the group Corresponds to the JSON property
title
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CategoryGroupV5
constructor
A new instance of CategoryGroupV5.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CategoryGroupV5
Returns a new instance of CategoryGroupV5.
158 159 160 |
# File 'lib/google/apis/pagespeedonline_v5/classes.rb', line 158 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
The description of what the category is grouping
Corresponds to the JSON property description
151 152 153 |
# File 'lib/google/apis/pagespeedonline_v5/classes.rb', line 151 def description @description end |
#title ⇒ String
The human readable title of the group
Corresponds to the JSON property title
156 157 158 |
# File 'lib/google/apis/pagespeedonline_v5/classes.rb', line 156 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
163 164 165 166 |
# File 'lib/google/apis/pagespeedonline_v5/classes.rb', line 163 def update!(**args) @description = args[:description] if args.key?(:description) @title = args[:title] if args.key?(:title) end |