View Source GoogleApi.ChromeUXReport.V1.Model.Record (google_api_chrome_ux_report v0.4.0)

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

Attributes

  • collectionPeriod (type: GoogleApi.ChromeUXReport.V1.Model.CollectionPeriod.t, default: nil) - The collection period indicates when the data reflected in this record was collected.
  • 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", "experimental_time_to_first_byte", "experimental_interaction_to_next_paint"]

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ChromeUXReport.V1.Model.Record{
  collectionPeriod:
    GoogleApi.ChromeUXReport.V1.Model.CollectionPeriod.t() | nil,
  key: GoogleApi.ChromeUXReport.V1.Model.Key.t() | nil,
  metrics:
    %{optional(String.t()) => GoogleApi.ChromeUXReport.V1.Model.Metric.t()}
    | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.