Class: Google::Apis::PagespeedonlineV4::PagespeedApiPagespeedResponseV4::FormattedResults::RuleResult::UrlBlock
- Inherits:
-
Object
- Object
- Google::Apis::PagespeedonlineV4::PagespeedApiPagespeedResponseV4::FormattedResults::RuleResult::UrlBlock
- 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
Defined Under Namespace
Classes: Url
Instance Attribute Summary collapse
-
#header ⇒ Google::Apis::PagespeedonlineV4::PagespeedApiFormatStringV4
Heading to be displayed with the list of URLs.
-
#urls ⇒ Array<Google::Apis::PagespeedonlineV4::PagespeedApiPagespeedResponseV4::FormattedResults::RuleResult::UrlBlock::Url>
List of entries that provide information about URLs in the url block.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UrlBlock
constructor
A new instance of UrlBlock.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UrlBlock
Returns a new instance of UrlBlock
458 459 460 |
# File 'generated/google/apis/pagespeedonline_v4/classes.rb', line 458 def initialize(**args) update!(**args) end |
Instance Attribute Details
#header ⇒ Google::Apis::PagespeedonlineV4::PagespeedApiFormatStringV4
Heading to be displayed with the list of URLs.
Corresponds to the JSON property header
451 452 453 |
# File 'generated/google/apis/pagespeedonline_v4/classes.rb', line 451 def header @header end |
#urls ⇒ Array<Google::Apis::PagespeedonlineV4::PagespeedApiPagespeedResponseV4::FormattedResults::RuleResult::UrlBlock::Url>
List of entries that provide information about URLs in the url block. Optional.
Corresponds to the JSON property urls
456 457 458 |
# File 'generated/google/apis/pagespeedonline_v4/classes.rb', line 456 def urls @urls end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
463 464 465 466 |
# File 'generated/google/apis/pagespeedonline_v4/classes.rb', line 463 def update!(**args) @header = args[:header] if args.key?(:header) @urls = args[:urls] if args.key?(:urls) end |