Class: Google::Apis::PagespeedonlineV5::LighthouseCategoryV5
- Inherits:
-
Object
- Object
- Google::Apis::PagespeedonlineV5::LighthouseCategoryV5
- 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
Defined Under Namespace
Classes: AuditRef
Instance Attribute Summary collapse
-
#audit_refs ⇒ Array<Google::Apis::PagespeedonlineV5::LighthouseCategoryV5::AuditRef>
An array of references to all the audit members of this category.
-
#description ⇒ String
A more detailed description of the category and its importance.
-
#id ⇒ String
The string identifier of the category.
-
#manual_description ⇒ String
A description for the manual audits in the category.
-
#score ⇒ Object
Corresponds to the JSON property
score
. -
#title ⇒ String
The human-friendly name of the category.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LighthouseCategoryV5
constructor
A new instance of LighthouseCategoryV5.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LighthouseCategoryV5
Returns a new instance of LighthouseCategoryV5
132 133 134 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 132 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audit_refs ⇒ Array<Google::Apis::PagespeedonlineV5::LighthouseCategoryV5::AuditRef>
An array of references to all the audit members of this category.
Corresponds to the JSON property auditRefs
105 106 107 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 105 def audit_refs @audit_refs end |
#description ⇒ String
A more detailed description of the category and its importance.
Corresponds to the JSON property description
110 111 112 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 110 def description @description end |
#id ⇒ String
The string identifier of the category.
Corresponds to the JSON property id
115 116 117 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 115 def id @id end |
#manual_description ⇒ String
A description for the manual audits in the category.
Corresponds to the JSON property manualDescription
120 121 122 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 120 def manual_description @manual_description end |
#score ⇒ Object
Corresponds to the JSON property score
125 126 127 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 125 def score @score end |
#title ⇒ String
The human-friendly name of the category.
Corresponds to the JSON property title
130 131 132 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 130 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
137 138 139 140 141 142 143 144 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 137 def update!(**args) @audit_refs = args[:audit_refs] if args.key?(:audit_refs) @description = args[:description] if args.key?(:description) @id = args[:id] if args.key?(:id) @manual_description = args[:manual_description] if args.key?(:manual_description) @score = args[:score] if args.key?(:score) @title = args[:title] if args.key?(:title) end |