Class: Google::Apis::ChromeuxreportV1::QueryHistoryResponse
- Inherits:
-
Object
- Object
- Google::Apis::ChromeuxreportV1::QueryHistoryResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chromeuxreport_v1/classes.rb,
lib/google/apis/chromeuxreport_v1/representations.rb,
lib/google/apis/chromeuxreport_v1/representations.rb
Overview
Response payload sent back to a physical web client. This response contains
the record found based on the identiers present in a QueryHistoryRequest
.
The returned response will have a history record, and sometimes details on
normalization actions taken on the request that were necessary to make the
request successful.
Instance Attribute Summary collapse
-
#record ⇒ Google::Apis::ChromeuxreportV1::HistoryRecord
HistoryRecord is a timeseries of Chrome UX Report data.
-
#url_normalization_details ⇒ Google::Apis::ChromeuxreportV1::UrlNormalization
Object representing the normalization actions taken to normalize a url to achieve a higher chance of successful lookup.
Instance Method Summary collapse
-
#initialize(**args) ⇒ QueryHistoryResponse
constructor
A new instance of QueryHistoryResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ QueryHistoryResponse
Returns a new instance of QueryHistoryResponse.
451 452 453 |
# File 'lib/google/apis/chromeuxreport_v1/classes.rb', line 451 def initialize(**args) update!(**args) end |
Instance Attribute Details
#record ⇒ Google::Apis::ChromeuxreportV1::HistoryRecord
HistoryRecord is a timeseries of Chrome UX Report data. It contains user
experience statistics for a single url pattern and a set of dimensions.
Corresponds to the JSON property record
441 442 443 |
# File 'lib/google/apis/chromeuxreport_v1/classes.rb', line 441 def record @record end |
#url_normalization_details ⇒ Google::Apis::ChromeuxreportV1::UrlNormalization
Object representing the normalization actions taken to normalize a url to
achieve a higher chance of successful lookup. These are simple automated
changes that are taken when looking up the provided url_patten
would be
known to fail. Complex actions like following redirects are not handled.
Corresponds to the JSON property urlNormalizationDetails
449 450 451 |
# File 'lib/google/apis/chromeuxreport_v1/classes.rb', line 449 def url_normalization_details @url_normalization_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
456 457 458 459 |
# File 'lib/google/apis/chromeuxreport_v1/classes.rb', line 456 def update!(**args) @record = args[:record] if args.key?(:record) @url_normalization_details = args[:url_normalization_details] if args.key?(:url_normalization_details) end |