google_api_page_speed_online v0.10.1 GoogleApi.PageSpeedOnline.V5.Model.PagespeedApiLoadingExperienceV5 View Source

The CrUX loading experience object that contains CrUX data breakdowns.

Attributes

  • id (type: String.t, default: nil) - The url, pattern or origin which the metrics are on.
  • initial_url (type: String.t, default: nil) - The requested URL, which may differ from the resolved "id".
  • metrics (type: %{optional(String.t) => GoogleApi.PageSpeedOnline.V5.Model.UserPageLoadMetricV5.t}, default: nil) - The map of .
  • origin_fallback (type: boolean(), default: nil) - True if the result is an origin fallback from a page, false otherwise.
  • overall_category (type: String.t, default: nil) - The human readable speed "category" of the id.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.PageSpeedOnline.V5.Model.PagespeedApiLoadingExperienceV5{
  id: String.t(),
  initial_url: String.t(),
  metrics: %{
    optional(String.t()) =>
      GoogleApi.PageSpeedOnline.V5.Model.UserPageLoadMetricV5.t()
  },
  origin_fallback: boolean(),
  overall_category: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.