Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AddTrialMeasurementRequest

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

Request message for VizierService.AddTrialMeasurement.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1AddTrialMeasurementRequest

Returns a new instance of GoogleCloudAiplatformV1AddTrialMeasurementRequest.



709
710
711
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 709

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

Instance Attribute Details

#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 measurement



707
708
709
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 707

def measurement
  @measurement
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



714
715
716
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 714

def update!(**args)
  @measurement = args[:measurement] if args.key?(:measurement)
end