Class: Google::Apis::ChromeuxreportV1::QueryResponse
- Inherits:
-
Object
- Object
- Google::Apis::ChromeuxreportV1::QueryResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/chromeuxreport_v1/classes.rb,
generated/google/apis/chromeuxreport_v1/representations.rb,
generated/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 QueryRequest
. The
returned response will have a 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::Record
Record is a single Chrome UX report data record.
-
#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) ⇒ QueryResponse
constructor
A new instance of QueryResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ QueryResponse
Returns a new instance of QueryResponse.
238 239 240 |
# File 'generated/google/apis/chromeuxreport_v1/classes.rb', line 238 def initialize(**args) update!(**args) end |
Instance Attribute Details
#record ⇒ 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.
Corresponds to the JSON property record
228 229 230 |
# File 'generated/google/apis/chromeuxreport_v1/classes.rb', line 228 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
236 237 238 |
# File 'generated/google/apis/chromeuxreport_v1/classes.rb', line 236 def url_normalization_details @url_normalization_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
243 244 245 246 |
# File 'generated/google/apis/chromeuxreport_v1/classes.rb', line 243 def update!(**args) @record = args[:record] if args.key?(:record) @url_normalization_details = args[:url_normalization_details] if args.key?(:url_normalization_details) end |