Class: Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Url::Detail
- Inherits:
-
Object
- Object
- Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Url::Detail
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/pagespeedonline_v1/classes.rb,
generated/google/apis/pagespeedonline_v1/representations.rb,
generated/google/apis/pagespeedonline_v1/representations.rb
Defined Under Namespace
Classes: Arg
Instance Attribute Summary collapse
-
#args ⇒ Array<Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Url::Detail::Arg>
List of arguments for the format string.
-
#format ⇒ String
A localized format string with $N placeholders, where N is the 1-indexed argument number, e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Detail
constructor
A new instance of Detail.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Detail
Returns a new instance of Detail
291 292 293 |
# File 'generated/google/apis/pagespeedonline_v1/classes.rb', line 291 def initialize(**args) update!(**args) end |
Instance Attribute Details
#args ⇒ Array<Google::Apis::PagespeedonlineV1::Result::FormattedResults::RuleResult::UrlBlock::Url::Detail::Arg>
List of arguments for the format string.
Corresponds to the JSON property args
282 283 284 |
# File 'generated/google/apis/pagespeedonline_v1/classes.rb', line 282 def args @args end |
#format ⇒ String
A localized format string with $N placeholders, where N is the 1-indexed
argument number, e.g. 'Unnecessary metadata for this resource adds an
additional $1 bytes to its download size'.
Corresponds to the JSON property format
289 290 291 |
# File 'generated/google/apis/pagespeedonline_v1/classes.rb', line 289 def format @format end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
296 297 298 299 |
# File 'generated/google/apis/pagespeedonline_v1/classes.rb', line 296 def update!(**args) @args = args[:args] if args.key?(:args) @format = args[:format] if args.key?(:format) end |