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

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.