Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NasTrial

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

Overview

Represents a uCAIP NasJob trial.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1NasTrial

Returns a new instance of GoogleCloudAiplatformV1beta1NasTrial.



17492
17493
17494
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17492

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)


17469
17470
17471
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17469

def end_time
  @end_time
end

#final_measurementGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Measurement

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



17475
17476
17477
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17475

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)


17480
17481
17482
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17480

def id
  @id
end

#start_timeString

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

Returns:

  • (String)


17485
17486
17487
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17485

def start_time
  @start_time
end

#stateString

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

Returns:

  • (String)


17490
17491
17492
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17490

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17497
17498
17499
17500
17501
17502
17503
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17497

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