Class: Google::Apis::PagespeedonlineV5::CategoryGroupV5
- Inherits:
-
Object
- Object
- Google::Apis::PagespeedonlineV5::CategoryGroupV5
- 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
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.
146 147 148 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 146 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
139 140 141 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 139 def description @description end |
#title ⇒ String
The human readable title of the group
Corresponds to the JSON property title
144 145 146 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 144 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
151 152 153 154 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 151 def update!(**args) @description = args[:description] if args.key?(:description) @title = args[:title] if args.key?(:title) end |