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

A CrUX metric object for a single metric and form factor.

Attributes

  • category (type: String.t, default: nil) - The category of the specific time metric.
  • distributions (type: list(GoogleApi.PageSpeedOnline.V5.Model.Bucket.t), default: nil) - Metric distributions. Proportions should sum up to 1.
  • formFactor (type: String.t, default: nil) - Identifies the form factor of the metric being collected.
  • median (type: integer(), default: nil) - The median number of the metric, in millisecond.
  • metricId (type: String.t, default: nil) - Identifies the type of the metric.
  • percentile (type: integer(), default: nil) - We use this field to store certain percentile value for this metric. For v4, this field contains pc50. For v5, this field contains pc90.

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.UserPageLoadMetricV5{
  category: String.t(),
  distributions: [GoogleApi.PageSpeedOnline.V5.Model.Bucket.t()],
  formFactor: String.t(),
  median: integer(),
  metricId: String.t(),
  percentile: integer()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.