Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MetricSource
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MetricSource
- 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
The metric source used for evaluation.
Instance Attribute Summary collapse
-
#metric ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Metric
The metric used for running evaluations.
-
#metric_resource_name ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1MetricSource
constructor
A new instance of GoogleCloudAiplatformV1beta1MetricSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1MetricSource
Returns a new instance of GoogleCloudAiplatformV1beta1MetricSource.
34996 34997 34998 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34996 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metric ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Metric
The metric used for running evaluations.
Corresponds to the JSON property metric
34989 34990 34991 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34989 def metric @metric end |
#metric_resource_name ⇒ String
Optional. Resource name for registered metric.
Corresponds to the JSON property metricResourceName
34994 34995 34996 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34994 def metric_resource_name @metric_resource_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
35001 35002 35003 35004 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35001 def update!(**args) @metric = args[:metric] if args.key?(:metric) @metric_resource_name = args[:metric_resource_name] if args.key?(:metric_resource_name) end |