Class: Google::Apis::PagespeedonlineV4::PagespeedApiPagespeedResponseV4::FormattedResults::RuleResult::UrlBlock::Url
- Inherits:
-
Object
- Object
- Google::Apis::PagespeedonlineV4::PagespeedApiPagespeedResponseV4::FormattedResults::RuleResult::UrlBlock::Url
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/pagespeedonline_v4/classes.rb,
generated/google/apis/pagespeedonline_v4/representations.rb,
generated/google/apis/pagespeedonline_v4/representations.rb
Instance Attribute Summary collapse
-
#details ⇒ Array<Google::Apis::PagespeedonlineV4::PagespeedApiFormatStringV4>
List of entries that provide additional details about a single URL.
-
#result ⇒ Google::Apis::PagespeedonlineV4::PagespeedApiFormatStringV4
A format string that gives information about the URL, and a list of arguments for that format string.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Url
constructor
A new instance of Url.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Url
Returns a new instance of Url
483 484 485 |
# File 'generated/google/apis/pagespeedonline_v4/classes.rb', line 483 def initialize(**args) update!(**args) end |
Instance Attribute Details
#details ⇒ Array<Google::Apis::PagespeedonlineV4::PagespeedApiFormatStringV4>
List of entries that provide additional details about a single URL. Optional.
Corresponds to the JSON property details
475 476 477 |
# File 'generated/google/apis/pagespeedonline_v4/classes.rb', line 475 def details @details end |
#result ⇒ Google::Apis::PagespeedonlineV4::PagespeedApiFormatStringV4
A format string that gives information about the URL, and a list of arguments
for that format string.
Corresponds to the JSON property result
481 482 483 |
# File 'generated/google/apis/pagespeedonline_v4/classes.rb', line 481 def result @result end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
488 489 490 491 |
# File 'generated/google/apis/pagespeedonline_v4/classes.rb', line 488 def update!(**args) @details = args[:details] if args.key?(:details) @result = args[:result] if args.key?(:result) end |