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.



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

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



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

def renderer_formatted_strings
  @renderer_formatted_strings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



265
266
267
# File 'lib/google/apis/pagespeedonline_v5/classes.rb', line 265

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