Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MeasurementMetric
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MeasurementMetric
- 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
A message representing a metric in the measurement.
Instance Attribute Summary collapse
-
#metric_id ⇒ String
Output only.
-
#value ⇒ Float
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1MeasurementMetric
constructor
A new instance of GoogleCloudAiplatformV1beta1MeasurementMetric.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1MeasurementMetric
Returns a new instance of GoogleCloudAiplatformV1beta1MeasurementMetric.
10859 10860 10861 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10859 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metric_id ⇒ String
Output only. The ID of the Metric. The Metric should be defined in StudySpec's
Metrics.
Corresponds to the JSON property metricId
10852 10853 10854 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10852 def metric_id @metric_id end |
#value ⇒ Float
Output only. The value for this metric.
Corresponds to the JSON property value
10857 10858 10859 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10857 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10864 10865 10866 10867 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10864 def update!(**args) @metric_id = args[:metric_id] if args.key?(:metric_id) @value = args[:value] if args.key?(:value) end |