Class: Google::Apis::PagespeedonlineV4::PagespeedApiPagespeedResponseV4::LoadingExperience::Metric::Distribution
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::PagespeedonlineV4::PagespeedApiPagespeedResponseV4::LoadingExperience::Metric::Distribution
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/pagespeedonline_v4/classes.rb,
generated/google/apis/pagespeedonline_v4/representations.rb,
generated/google/apis/pagespeedonline_v4/representations.rb 
Instance Attribute Summary collapse
- 
  
    
      #max  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
max. - 
  
    
      #min  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
min. - 
  
    
      #proportion  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
proportion. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Distribution 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Distribution.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Distribution
Returns a new instance of Distribution
      582 583 584  | 
    
      # File 'generated/google/apis/pagespeedonline_v4/classes.rb', line 582 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#max ⇒ Fixnum
Corresponds to the JSON property max
      570 571 572  | 
    
      # File 'generated/google/apis/pagespeedonline_v4/classes.rb', line 570 def max @max end  | 
  
#min ⇒ Fixnum
Corresponds to the JSON property min
      575 576 577  | 
    
      # File 'generated/google/apis/pagespeedonline_v4/classes.rb', line 575 def min @min end  | 
  
#proportion ⇒ Float
Corresponds to the JSON property proportion
      580 581 582  | 
    
      # File 'generated/google/apis/pagespeedonline_v4/classes.rb', line 580 def proportion @proportion end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      587 588 589 590 591  | 
    
      # File 'generated/google/apis/pagespeedonline_v4/classes.rb', line 587 def update!(**args) @max = args[:max] if args.key?(:max) @min = args[:min] if args.key?(:min) @proportion = args[:proportion] if args.key?(:proportion) end  |