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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_stringsGoogle::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