Class: Google::Apis::ChromeuxreportV1::Percentiles

Inherits:
Object
  • Object
show all
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

Percentiles contains synthetic values of a metric at a given statistical percentile. These are used for estimating a metric's value as experienced by a percentage of users out of the total number of users.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Percentiles

Returns a new instance of Percentiles.


150
151
152
# File 'generated/google/apis/chromeuxreport_v1/classes.rb', line 150

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#p75Object

75% of users experienced the given metric at or below this value. Corresponds to the JSON property p75

Returns:

  • (Object)

148
149
150
# File 'generated/google/apis/chromeuxreport_v1/classes.rb', line 148

def p75
  @p75
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


155
156
157
# File 'generated/google/apis/chromeuxreport_v1/classes.rb', line 155

def update!(**args)
  @p75 = args[:p75] if args.key?(:p75)
end