Class: Google::Apis::MlV1::GoogleCloudMlV1CheckTrialEarlyStoppingStateMetatdata

Inherits:
Object
  • Object
show all
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

This message will be placed in the metadata field of a google.longrunning.Operation associated with a CheckTrialEarlyStoppingState request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudMlV1CheckTrialEarlyStoppingStateMetatdata

Returns a new instance of GoogleCloudMlV1CheckTrialEarlyStoppingStateMetatdata.



720
721
722
# File 'generated/google/apis/ml_v1/classes.rb', line 720

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

Instance Attribute Details

#create_timeString

The time operation was submitted. Corresponds to the JSON property createTime

Returns:

  • (String)


708
709
710
# File 'generated/google/apis/ml_v1/classes.rb', line 708

def create_time
  @create_time
end

#studyString

The name of the study that the trial belongs to. Corresponds to the JSON property study

Returns:

  • (String)


713
714
715
# File 'generated/google/apis/ml_v1/classes.rb', line 713

def study
  @study
end

#trialString

The Trial name. Corresponds to the JSON property trial

Returns:

  • (String)


718
719
720
# File 'generated/google/apis/ml_v1/classes.rb', line 718

def trial
  @trial
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



725
726
727
728
729
# File 'generated/google/apis/ml_v1/classes.rb', line 725

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