Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrialParameter
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrialParameter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
A message representing a parameter to be tuned.
Instance Attribute Summary collapse
-
#parameter_id ⇒ String
Output only.
-
#value ⇒ Object
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1TrialParameter
constructor
A new instance of GoogleCloudAiplatformV1TrialParameter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1TrialParameter
Returns a new instance of GoogleCloudAiplatformV1TrialParameter.
33196 33197 33198 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 33196 def initialize(**args) update!(**args) end |
Instance Attribute Details
#parameter_id ⇒ String
Output only. The ID of the parameter. The parameter should be defined in
StudySpec's Parameters.
Corresponds to the JSON property parameterId
33186 33187 33188 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 33186 def parameter_id @parameter_id end |
#value ⇒ Object
Output only. The value of the parameter. number_value
will be set if a
parameter defined in StudySpec is in type 'INTEGER', 'DOUBLE' or 'DISCRETE'.
string_value
will be set if a parameter defined in StudySpec is in type '
CATEGORICAL'.
Corresponds to the JSON property value
33194 33195 33196 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 33194 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
33201 33202 33203 33204 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 33201 def update!(**args) @parameter_id = args[:parameter_id] if args.key?(:parameter_id) @value = args[:value] if args.key?(:value) end |