Class: Google::Apis::MlV1::GoogleCloudMlV1CheckTrialEarlyStoppingStateResponse
- Inherits:
-
Object
- Object
- Google::Apis::MlV1::GoogleCloudMlV1CheckTrialEarlyStoppingStateResponse
- 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
-
#end_time ⇒ String
The time at which operation processing completed.
-
#should_stop ⇒ Boolean
(also: #should_stop?)
True if the Trial should stop.
-
#start_time ⇒ String
The time at which the operation was started.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudMlV1CheckTrialEarlyStoppingStateResponse
constructor
A new instance of GoogleCloudMlV1CheckTrialEarlyStoppingStateResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_time ⇒ String
The time at which operation processing completed.
Corresponds to the JSON property endTime
729 730 731 |
# File 'generated/google/apis/ml_v1/classes.rb', line 729 def end_time @end_time end |
#should_stop ⇒ Boolean Also known as: should_stop?
True if the Trial should stop.
Corresponds to the JSON property shouldStop
734 735 736 |
# File 'generated/google/apis/ml_v1/classes.rb', line 734 def should_stop @should_stop end |
#start_time ⇒ String
The time at which the operation was started.
Corresponds to the JSON property startTime
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 |