Class: Google::Apis::BigqueryV2::DoubleRange

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

Overview

Range of a double hyperparameter.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DoubleRange

Returns a new instance of DoubleRange.



2494
2495
2496
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2494

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

Instance Attribute Details

#maxFloat

Max value of the double parameter. Corresponds to the JSON property max

Returns:

  • (Float)


2487
2488
2489
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2487

def max
  @max
end

#minFloat

Min value of the double parameter. Corresponds to the JSON property min

Returns:

  • (Float)


2492
2493
2494
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2492

def min
  @min
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2499
2500
2501
2502
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2499

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