View Source GoogleApi.PageSpeedOnline.V5.Model.ConfigSettings (google_api_page_speed_online v0.17.0)

Message containing the configuration settings for the Lighthouse run.

Attributes

  • channel (type: String.t, default: nil) - How Lighthouse was run, e.g. from the Chrome extension or from the npm module.
  • emulatedFormFactor (type: String.t, default: nil) - The form factor the emulation should use. This field is deprecated, form_factor should be used instead.
  • formFactor (type: String.t, default: nil) - How Lighthouse should interpret this run in regards to scoring performance metrics and skipping mobile-only tests in desktop.
  • locale (type: String.t, default: nil) - The locale setting.
  • onlyCategories (type: any(), default: nil) - List of categories of audits the run should conduct.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.PageSpeedOnline.V5.Model.ConfigSettings{
  channel: String.t() | nil,
  emulatedFormFactor: String.t() | nil,
  formFactor: String.t() | nil,
  locale: String.t() | nil,
  onlyCategories: any() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.