Class: Google::Apis::PagespeedonlineV5::LighthouseResultV5::I18n
- Inherits:
-
Object
- Object
- Google::Apis::PagespeedonlineV5::LighthouseResultV5::I18n
- 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
The internationalization strings that are required to render the LHR.
Defined Under Namespace
Classes: RendererFormattedStrings
Instance Attribute Summary collapse
-
#renderer_formatted_strings ⇒ Google::Apis::PagespeedonlineV5::LighthouseResultV5::I18n::RendererFormattedStrings
Internationalized strings that are formatted to the locale in configSettings.
Instance Method Summary collapse
-
#initialize(**args) ⇒ I18n
constructor
A new instance of I18n.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ I18n
Returns a new instance of I18n
415 416 417 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 415 def initialize(**args) update!(**args) end |
Instance Attribute Details
#renderer_formatted_strings ⇒ Google::Apis::PagespeedonlineV5::LighthouseResultV5::I18n::RendererFormattedStrings
Internationalized strings that are formatted to the locale in configSettings.
Corresponds to the JSON property rendererFormattedStrings
413 414 415 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 413 def renderer_formatted_strings @renderer_formatted_strings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
420 421 422 |
# File 'generated/google/apis/pagespeedonline_v5/classes.rb', line 420 def update!(**args) @renderer_formatted_strings = args[:renderer_formatted_strings] if args.key?(:renderer_formatted_strings) end |