Class: Google::Apis::BigqueryV2::DoubleRange
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::DoubleRange
- 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
-
#max ⇒ Float
Max value of the double parameter.
-
#min ⇒ Float
Min value of the double parameter.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DoubleRange
constructor
A new instance of DoubleRange.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DoubleRange
Returns a new instance of DoubleRange.
2153 2154 2155 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2153 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max ⇒ Float
Max value of the double parameter.
Corresponds to the JSON property max
2146 2147 2148 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2146 def max @max end |
#min ⇒ Float
Min value of the double parameter.
Corresponds to the JSON property min
2151 2152 2153 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2151 def min @min end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2158 2159 2160 2161 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2158 def update!(**args) @max = args[:max] if args.key?(:max) @min = args[:min] if args.key?(:min) end |