Class: Google::Apis::ChromeuxreportV1::Key
- Inherits:
-
Object
- Object
- Google::Apis::ChromeuxreportV1::Key
- 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
Key defines all the dimensions that identify this record as unique.
Instance Attribute Summary collapse
-
#effective_connection_type ⇒ String
The effective connection type is the general connection class that all users experienced for this record.
-
#form_factor ⇒ String
The form factor is the device class that all users used to access the site for this record.
-
#origin ⇒ String
Origin specifies the origin that this record is for.
-
#url ⇒ String
Url specifies a specific url that this record is for.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Key
constructor
A new instance of Key.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Key
Returns a new instance of Key.
96 97 98 |
# File 'generated/google/apis/chromeuxreport_v1/classes.rb', line 96 def initialize(**args) update!(**args) end |
Instance Attribute Details
#effective_connection_type ⇒ String
The effective connection type is the general connection class that all users
experienced for this record. This field uses the values ["offline", "slow-2G",
"2G", "3G", "4G"] as specified in: https://wicg.github.io/netinfo/#effective-
connection-types If the effective connection type is unspecified, then
aggregated data over all effective connection types will be returned.
Corresponds to the JSON property effectiveConnectionType
74 75 76 |
# File 'generated/google/apis/chromeuxreport_v1/classes.rb', line 74 def effective_connection_type @effective_connection_type end |
#form_factor ⇒ String
The form factor is the device class that all users used to access the site for
this record. If the form factor is unspecified, then aggregated data over all
form factors will be returned.
Corresponds to the JSON property formFactor
81 82 83 |
# File 'generated/google/apis/chromeuxreport_v1/classes.rb', line 81 def form_factor @form_factor end |
#origin ⇒ String
Origin specifies the origin that this record is for. Note: When specifying an
origin, data for loads under this origin over all pages are aggregated into
origin level user experience data.
Corresponds to the JSON property origin
88 89 90 |
# File 'generated/google/apis/chromeuxreport_v1/classes.rb', line 88 def origin @origin end |
#url ⇒ String
Url specifies a specific url that this record is for. Note: When specifying a "
url" only data for that specific url will be aggregated.
Corresponds to the JSON property url
94 95 96 |
# File 'generated/google/apis/chromeuxreport_v1/classes.rb', line 94 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
101 102 103 104 105 106 |
# File 'generated/google/apis/chromeuxreport_v1/classes.rb', line 101 def update!(**args) @effective_connection_type = args[:effective_connection_type] if args.key?(:effective_connection_type) @form_factor = args[:form_factor] if args.key?(:form_factor) @origin = args[:origin] if args.key?(:origin) @url = args[:url] if args.key?(:url) end |