Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NasTrial

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

Overview

Represents a uCAIP NasJob trial.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1NasTrial

Returns a new instance of GoogleCloudAiplatformV1NasTrial.



14124
14125
14126
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14124

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

Instance Attribute Details

#end_timeString

Output only. Time when the NasTrial's status changed to SUCCEEDED or INFEASIBLE. Corresponds to the JSON property endTime

Returns:

  • (String)


14101
14102
14103
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14101

def end_time
  @end_time
end

#final_measurementGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1Measurement

A message representing a Measurement of a Trial. A Measurement contains the Metrics got by executing a Trial using suggested hyperparameter values. Corresponds to the JSON property finalMeasurement



14107
14108
14109
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14107

def final_measurement
  @final_measurement
end

#idString

Output only. The identifier of the NasTrial assigned by the service. Corresponds to the JSON property id

Returns:

  • (String)


14112
14113
14114
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14112

def id
  @id
end

#start_timeString

Output only. Time when the NasTrial was started. Corresponds to the JSON property startTime

Returns:

  • (String)


14117
14118
14119
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14117

def start_time
  @start_time
end

#stateString

Output only. The detailed state of the NasTrial. Corresponds to the JSON property state

Returns:

  • (String)


14122
14123
14124
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14122

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14129
14130
14131
14132
14133
14134
14135
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14129

def update!(**args)
  @end_time = args[:end_time] if args.key?(:end_time)
  @final_measurement = args[:final_measurement] if args.key?(:final_measurement)
  @id = args[:id] if args.key?(:id)
  @start_time = args[:start_time] if args.key?(:start_time)
  @state = args[:state] if args.key?(:state)
end