Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Overview

Response message for VizierService.CheckTrialEarlyStoppingState.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateResponse

Returns a new instance of GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateResponse.



2648
2649
2650
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2648

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

Instance Attribute Details

#should_stopBoolean Also known as: should_stop?

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

Returns:

  • (Boolean)


2645
2646
2647
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2645

def should_stop
  @should_stop
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2653
2654
2655
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2653

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