Class: Google::Apis::BigqueryV2::IntCandidates
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::IntCandidates
- 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
Discrete candidates of an int hyperparameter.
Instance Attribute Summary collapse
-
#candidates ⇒ Array<Fixnum>
Candidates for the int parameter in increasing order.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IntCandidates
constructor
A new instance of IntCandidates.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IntCandidates
Returns a new instance of IntCandidates.
3408 3409 3410 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3408 def initialize(**args) update!(**args) end |
Instance Attribute Details
#candidates ⇒ Array<Fixnum>
Candidates for the int parameter in increasing order.
Corresponds to the JSON property candidates
3406 3407 3408 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3406 def candidates @candidates end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3413 3414 3415 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 3413 def update!(**args) @candidates = args[:candidates] if args.key?(:candidates) end |