View Source GoogleApi.PageSpeedOnline.V5.Model.Environment (google_api_page_speed_online v0.16.1)

Message containing environment configuration for a Lighthouse run.

Attributes

  • benchmarkIndex (type: float(), default: nil) - The benchmark index number that indicates rough device class.
  • credits (type: map(), default: nil) - The version of libraries with which these results were generated. Ex: axe-core.
  • hostUserAgent (type: String.t, default: nil) - The user agent string of the version of Chrome used.
  • networkUserAgent (type: String.t, default: nil) - The user agent string that was sent over the network.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.PageSpeedOnline.V5.Model.Environment{
  benchmarkIndex: float() | nil,
  credits: map() | nil,
  hostUserAgent: String.t() | nil,
  networkUserAgent: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.