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 operation processing completed.
-
#should_stop ⇒ Boolean
(also: #should_stop?)
True if the Trial should stop.
-
#start_time ⇒ String
The time operation was started.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudMlV1CheckTrialEarlyStoppingStateResponse
constructor
A new instance of GoogleCloudMlV1CheckTrialEarlyStoppingStateResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudMlV1CheckTrialEarlyStoppingStateResponse
Returns a new instance of GoogleCloudMlV1CheckTrialEarlyStoppingStateResponse.
767 768 769 |
# File 'generated/google/apis/ml_v1/classes.rb', line 767 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
The time operation processing completed.
Corresponds to the JSON property endTime
754 755 756 |
# File 'generated/google/apis/ml_v1/classes.rb', line 754 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
759 760 761 |
# File 'generated/google/apis/ml_v1/classes.rb', line 759 def should_stop @should_stop end |
#start_time ⇒ String
The time operation was started.
Corresponds to the JSON property startTime
765 766 767 |
# File 'generated/google/apis/ml_v1/classes.rb', line 765 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
772 773 774 775 776 |
# File 'generated/google/apis/ml_v1/classes.rb', line 772 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 |