Class: Google::Apis::DiscoveryengineV1::GoogleApiDistributionRange
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleApiDistributionRange
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb
Overview
The range of the population values.
Instance Attribute Summary collapse
-
#max ⇒ Float
The maximum of the population values.
-
#min ⇒ Float
The minimum of the population values.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleApiDistributionRange
constructor
A new instance of GoogleApiDistributionRange.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleApiDistributionRange
Returns a new instance of GoogleApiDistributionRange.
328 329 330 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 328 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max ⇒ Float
The maximum of the population values.
Corresponds to the JSON property max
321 322 323 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 321 def max @max end |
#min ⇒ Float
The minimum of the population values.
Corresponds to the JSON property min
326 327 328 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 326 def min @min end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
333 334 335 336 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 333 def update!(**args) @max = args[:max] if args.key?(:max) @min = args[:min] if args.key?(:min) end |