class Google::Apis::MlV1::GoogleCloudMlV1CompleteTrialRequest

The request message for the CompleteTrial service method.

Attributes

final_measurement[RW]

A message representing a measurement. Corresponds to the JSON property `finalMeasurement` @return [Google::Apis::MlV1::GoogleCloudMlV1Measurement]

infeasible_reason[RW]

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` @return [String]

trial_infeasible[RW]

Optional. True if the trial cannot be run with the given Parameter, and final_measurement will be ignored. Corresponds to the JSON property `trialInfeasible` @return [Boolean]

trial_infeasible?[RW]

Optional. True if the trial cannot be run with the given Parameter, and final_measurement will be ignored. Corresponds to the JSON property `trialInfeasible` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/ml_v1/classes.rb, line 774
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/ml_v1/classes.rb, line 779
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