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.



653
654
655
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 653

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



651
652
653
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 651

def measurement
  @measurement
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



658
659
660
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 658

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