Class: Google::Apis::TestingV1::Distribution
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::TestingV1::Distribution
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/testing_v1/classes.rb,
 generated/google/apis/testing_v1/representations.rb,
 generated/google/apis/testing_v1/representations.rb
Overview
Data about the relative number of devices running a given configuration of the Android platform.
Instance Attribute Summary collapse
- 
  
    
      #market_share  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The estimated fraction (0-1) of the total market with this configuration. 
- 
  
    
      #measurement_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The time this distribution was measured. 
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
| 866 867 868 | # File 'generated/google/apis/testing_v1/classes.rb', line 866 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#market_share ⇒ Float
The estimated fraction (0-1) of the total market with this configuration.
Corresponds to the JSON property marketShare
| 858 859 860 | # File 'generated/google/apis/testing_v1/classes.rb', line 858 def market_share @market_share end | 
#measurement_time ⇒ String
The time this distribution was measured.
Corresponds to the JSON property measurementTime
| 864 865 866 | # File 'generated/google/apis/testing_v1/classes.rb', line 864 def measurement_time @measurement_time end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 871 872 873 874 | # File 'generated/google/apis/testing_v1/classes.rb', line 871 def update!(**args) @market_share = args[:market_share] if args.key?(:market_share) @measurement_time = args[:measurement_time] if args.key?(:measurement_time) end |