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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/ml_v1/classes.rb,
lib/google/apis/ml_v1/representations.rb,
lib/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.



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

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)


727
728
729
# File 'lib/google/apis/ml_v1/classes.rb', line 727

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)


732
733
734
# File 'lib/google/apis/ml_v1/classes.rb', line 732

def should_stop
  @should_stop
end

#start_timeString

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

Returns:

  • (String)


738
739
740
# File 'lib/google/apis/ml_v1/classes.rb', line 738

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



745
746
747
748
749
# File 'lib/google/apis/ml_v1/classes.rb', line 745

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