Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CheckTrialEarlyStoppingStateResponse

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

Overview

Response message for VizierService.CheckTrialEarlyStoppingState.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1CheckTrialEarlyStoppingStateResponse

Returns a new instance of GoogleCloudAiplatformV1beta1CheckTrialEarlyStoppingStateResponse.



3517
3518
3519
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3517

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)


3514
3515
3516
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3514

def should_stop
  @should_stop
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3522
3523
3524
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3522

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