Class: Google::Apis::MlV1::GoogleCloudMlV1CompleteTrialRequest
- Inherits:
-
Object
- Object
- Google::Apis::MlV1::GoogleCloudMlV1CompleteTrialRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/ml_v1/classes.rb,
generated/google/apis/ml_v1/representations.rb,
generated/google/apis/ml_v1/representations.rb
Overview
The request message for the CompleteTrial service method.
Instance Attribute Summary collapse
-
#final_measurement ⇒ Google::Apis::MlV1::GoogleCloudMlV1Measurement
A message representing a measurement.
-
#infeasible_reason ⇒ String
Optional.
-
#trial_infeasible ⇒ Boolean
(also: #trial_infeasible?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudMlV1CompleteTrialRequest
constructor
A new instance of GoogleCloudMlV1CompleteTrialRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudMlV1CompleteTrialRequest
Returns a new instance of GoogleCloudMlV1CompleteTrialRequest.
776 777 778 |
# File 'generated/google/apis/ml_v1/classes.rb', line 776 def initialize(**args) update!(**args) end |
Instance Attribute Details
#final_measurement ⇒ Google::Apis::MlV1::GoogleCloudMlV1Measurement
A message representing a measurement.
Corresponds to the JSON property finalMeasurement
761 762 763 |
# File 'generated/google/apis/ml_v1/classes.rb', line 761 def final_measurement @final_measurement end |
#infeasible_reason ⇒ String
Optional. A human readable reason why the trial was infeasible. This should
only be provided if trial_infeasible
is true.
Corresponds to the JSON property infeasibleReason
767 768 769 |
# File 'generated/google/apis/ml_v1/classes.rb', line 767 def infeasible_reason @infeasible_reason end |
#trial_infeasible ⇒ Boolean Also known as: trial_infeasible?
Optional. True if the trial cannot be run with the given Parameter, and
final_measurement will be ignored.
Corresponds to the JSON property trialInfeasible
773 774 775 |
# File 'generated/google/apis/ml_v1/classes.rb', line 773 def trial_infeasible @trial_infeasible end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
781 782 783 784 785 |
# File 'generated/google/apis/ml_v1/classes.rb', line 781 def update!(**args) @final_measurement = args[:final_measurement] if args.key?(:final_measurement) @infeasible_reason = args[:infeasible_reason] if args.key?(:infeasible_reason) @trial_infeasible = args[:trial_infeasible] if args.key?(:trial_infeasible) end |