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

Constructor Details

#initialize(**args) ⇒ GoogleCloudMlV1CheckTrialEarlyStoppingStateMetatdata

Returns a new instance of GoogleCloudMlV1CheckTrialEarlyStoppingStateMetatdata.



696
697
698
# File 'generated/google/apis/ml_v1/classes.rb', line 696

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

Instance Attribute Details

#create_timeString

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

Returns:

  • (String)


684
685
686
# File 'generated/google/apis/ml_v1/classes.rb', line 684

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)


689
690
691
# File 'generated/google/apis/ml_v1/classes.rb', line 689

def study
  @study
end

#trialString

The trial name. Corresponds to the JSON property trial

Returns:

  • (String)


694
695
696
# File 'generated/google/apis/ml_v1/classes.rb', line 694

def trial
  @trial
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



701
702
703
704
705
# File 'generated/google/apis/ml_v1/classes.rb', line 701

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