Class: Google::Apis::BigqueryV2::IntCandidates

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

Discrete candidates of an int hyperparameter.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IntCandidates

Returns a new instance of IntCandidates.



4068
4069
4070
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4068

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

Instance Attribute Details

#candidatesArray<Fixnum>

Candidates for the int parameter in increasing order. Corresponds to the JSON property candidates

Returns:

  • (Array<Fixnum>)


4066
4067
4068
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4066

def candidates
  @candidates
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4073
4074
4075
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4073

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