Class: Google::Apis::DiscoveryengineV1alpha::GoogleApiDistributionRange

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb

Overview

The range of the population values.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleApiDistributionRange

Returns a new instance of GoogleApiDistributionRange.



328
329
330
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 328

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

Instance Attribute Details

#maxFloat

The maximum of the population values. Corresponds to the JSON property max

Returns:

  • (Float)


321
322
323
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 321

def max
  @max
end

#minFloat

The minimum of the population values. Corresponds to the JSON property min

Returns:

  • (Float)


326
327
328
# File 'lib/google/apis/discoveryengine_v1alpha/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_v1alpha/classes.rb', line 333

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