Class: Google::Apis::MlV1::GoogleCloudMlV1CheckTrialEarlyStoppingStateResponse

Inherits:
Object
  • Object
show all
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 message will be placed in the response field of a completed google. longrunning.Operation associated with a CheckTrialEarlyStoppingState request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudMlV1CheckTrialEarlyStoppingStateResponse

Returns a new instance of GoogleCloudMlV1CheckTrialEarlyStoppingStateResponse.



742
743
744
# File 'generated/google/apis/ml_v1/classes.rb', line 742

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

Instance Attribute Details

#end_timeString

The time at which operation processing completed. Corresponds to the JSON property endTime

Returns:

  • (String)


729
730
731
# File 'generated/google/apis/ml_v1/classes.rb', line 729

def end_time
  @end_time
end

#should_stopBoolean Also known as: should_stop?

True if the Trial should stop. Corresponds to the JSON property shouldStop

Returns:

  • (Boolean)


734
735
736
# File 'generated/google/apis/ml_v1/classes.rb', line 734

def should_stop
  @should_stop
end

#start_timeString

The time at which the operation was started. Corresponds to the JSON property startTime

Returns:

  • (String)


740
741
742
# File 'generated/google/apis/ml_v1/classes.rb', line 740

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



747
748
749
750
751
# File 'generated/google/apis/ml_v1/classes.rb', line 747

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