Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MetricSource
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MetricSource
- 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
The metric source used for evaluation.
Instance Attribute Summary collapse
-
#metric ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Metric
The metric used for running evaluations.
-
#metric_resource_name ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1MetricSource
constructor
A new instance of GoogleCloudAiplatformV1MetricSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1MetricSource
Returns a new instance of GoogleCloudAiplatformV1MetricSource.
24808 24809 24810 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 24808 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metric ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Metric
The metric used for running evaluations.
Corresponds to the JSON property metric
24801 24802 24803 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 24801 def metric @metric end |
#metric_resource_name ⇒ String
Optional. Resource name for registered metric.
Corresponds to the JSON property metricResourceName
24806 24807 24808 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 24806 def metric_resource_name @metric_resource_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
24813 24814 24815 24816 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 24813 def update!(**args) @metric = args[:metric] if args.key?(:metric) @metric_resource_name = args[:metric_resource_name] if args.key?(:metric_resource_name) end |