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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/ml_v1/classes.rb,
lib/google/apis/ml_v1/representations.rb,
lib/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.



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

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)


682
683
684
# File 'lib/google/apis/ml_v1/classes.rb', line 682

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)


687
688
689
# File 'lib/google/apis/ml_v1/classes.rb', line 687

def study
  @study
end

#trialString

The trial name. Corresponds to the JSON property trial

Returns:

  • (String)


692
693
694
# File 'lib/google/apis/ml_v1/classes.rb', line 692

def trial
  @trial
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



699
700
701
702
703
# File 'lib/google/apis/ml_v1/classes.rb', line 699

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