google_api_chrome_ux_report v0.2.0 GoogleApi.ChromeUXReport.V1.Model.Record View Source

Record is a single Chrome UX report data record. It contains use experience statistics for a single url pattern and set of dimensions.

Attributes

  • key (type: GoogleApi.ChromeUXReport.V1.Model.Key.t, default: nil) - Key defines all of the unique querying parameters needed to look up a user experience record.
  • metrics (type: %{optional(String.t) => GoogleApi.ChromeUXReport.V1.Model.Metric.t}, default: nil) - Metrics is the map of user experience data available for the record defined in the key field. Metrics are keyed on the metric name. Allowed key values: ["first_contentful_paint", "first_input_delay", "largest_contentful_paint", "cumulative_layout_shift"]

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.ChromeUXReport.V1.Model.Record{
  key: GoogleApi.ChromeUXReport.V1.Model.Key.t(),
  metrics: %{
    optional(String.t()) => GoogleApi.ChromeUXReport.V1.Model.Metric.t()
  }
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.