Class: Google::Apis::MlV1::GoogleCloudMlV1SuggestTrialsResponse

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 response field of a completed google.longrunning.Operation associated with a SuggestTrials 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) ⇒ GoogleCloudMlV1SuggestTrialsResponse

Returns a new instance of GoogleCloudMlV1SuggestTrialsResponse.



2282
2283
2284
# File 'generated/google/apis/ml_v1/classes.rb', line 2282

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

Instance Attribute Details

#end_timeString

The time operation processing completed. Corresponds to the JSON property endTime

Returns:

  • (String)


2265
2266
2267
# File 'generated/google/apis/ml_v1/classes.rb', line 2265

def end_time
  @end_time
end

#start_timeString

The time operation was started. Corresponds to the JSON property startTime

Returns:

  • (String)


2270
2271
2272
# File 'generated/google/apis/ml_v1/classes.rb', line 2270

def start_time
  @start_time
end

#study_stateString

The state of the study. Corresponds to the JSON property studyState

Returns:

  • (String)


2275
2276
2277
# File 'generated/google/apis/ml_v1/classes.rb', line 2275

def study_state
  @study_state
end

#trialsArray<Google::Apis::MlV1::GoogleCloudMlV1Trial>

A list of Trials. Corresponds to the JSON property trials



2280
2281
2282
# File 'generated/google/apis/ml_v1/classes.rb', line 2280

def trials
  @trials
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2287
2288
2289
2290
2291
2292
# File 'generated/google/apis/ml_v1/classes.rb', line 2287

def update!(**args)
  @end_time = args[:end_time] if args.key?(:end_time)
  @start_time = args[:start_time] if args.key?(:start_time)
  @study_state = args[:study_state] if args.key?(:study_state)
  @trials = args[:trials] if args.key?(:trials)
end