class Google::Apis::ChromeuxreportV1::Record
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[RW]
Key
defines all the dimensions that identify this record as unique. Corresponds to the JSON property `key` @return [Google::Apis::ChromeuxreportV1::Key]
metrics[RW]
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”] Corresponds to the JSON property `metrics` @return [Hash<String,Google::Apis::ChromeuxreportV1::Metric>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/chromeuxreport_v1/classes.rb, line 267 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/chromeuxreport_v1/classes.rb, line 272 def update!(**args) @key = args[:key] if args.key?(:key) @metrics = args[:metrics] if args.key?(:metrics) end