Class: Google::Apis::PagespeedonlineV5::I18n

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/pagespeedonline_v5/classes.rb,
lib/google/apis/pagespeedonline_v5/representations.rb,
lib/google/apis/pagespeedonline_v5/representations.rb

Overview

Message containing the i18n data for the LHR - Version 1.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ I18n

Returns a new instance of I18n.



254
255
256
# File 'lib/google/apis/pagespeedonline_v5/classes.rb', line 254

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#renderer_formatted_stringsGoogle::Apis::PagespeedonlineV5::RendererFormattedStrings

Message holding the formatted strings used in the renderer. Corresponds to the JSON property rendererFormattedStrings



252
253
254
# File 'lib/google/apis/pagespeedonline_v5/classes.rb', line 252

def renderer_formatted_strings
  @renderer_formatted_strings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



259
260
261
# File 'lib/google/apis/pagespeedonline_v5/classes.rb', line 259

def update!(**args)
  @renderer_formatted_strings = args[:renderer_formatted_strings] if args.key?(:renderer_formatted_strings)
end