Class: Google::Apis::BigqueryV2::IntRange
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::IntRange
- 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 an int hyperparameter.
Instance Attribute Summary collapse
-
#max ⇒ Fixnum
Max value of the int parameter.
-
#min ⇒ Fixnum
Min value of the int parameter.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IntRange
constructor
A new instance of IntRange.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IntRange
Returns a new instance of IntRange.
4166 4167 4168 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4166 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max ⇒ Fixnum
Max value of the int parameter.
Corresponds to the JSON property max
4159 4160 4161 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4159 def max @max end |
#min ⇒ Fixnum
Min value of the int parameter.
Corresponds to the JSON property min
4164 4165 4166 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4164 def min @min end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4171 4172 4173 4174 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4171 def update!(**args) @max = args[:max] if args.key?(:max) @min = args[:min] if args.key?(:min) end |