Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AddTrialMeasurementRequest

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

Request message for VizierService.AddTrialMeasurement.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AddTrialMeasurementRequest

Returns a new instance of GoogleCloudAiplatformV1beta1AddTrialMeasurementRequest.



645
646
647
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 645

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

Instance Attribute Details

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



643
644
645
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 643

def measurement
  @measurement
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



650
651
652
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 650

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