Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationMetric
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationMetric
- 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
EvaluationMetric is a resource that represents a reusable metric configuration.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#display_name ⇒ String
Required.
-
#gcs_uri ⇒ String
Optional.
-
#labels ⇒ Hash<String,String>
Optional.
-
#metric ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Metric
The metric used for running evaluations.
-
#name ⇒ String
Identifier.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1EvaluationMetric
constructor
A new instance of GoogleCloudAiplatformV1beta1EvaluationMetric.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1EvaluationMetric
Returns a new instance of GoogleCloudAiplatformV1beta1EvaluationMetric.
16714 16715 16716 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16714 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The time when the EvaluationMetric was created.
Corresponds to the JSON property createTime
16676 16677 16678 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16676 def create_time @create_time end |
#description ⇒ String
Optional. A description of the EvaluationMetric.
Corresponds to the JSON property description
16681 16682 16683 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16681 def description @description end |
#display_name ⇒ String
Required. The user-friendly display name for the EvaluationMetric.
Corresponds to the JSON property displayName
16686 16687 16688 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16686 def display_name @display_name end |
#gcs_uri ⇒ String
Optional. The Google Cloud Storage URI that stores the metric specification..
Corresponds to the JSON property gcsUri
16691 16692 16693 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16691 def gcs_uri @gcs_uri end |
#labels ⇒ Hash<String,String>
Optional. Labels for the evaluation metric.
Corresponds to the JSON property labels
16696 16697 16698 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16696 def labels @labels end |
#metric ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Metric
The metric used for running evaluations.
Corresponds to the JSON property metric
16701 16702 16703 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16701 def metric @metric end |
#name ⇒ String
Identifier. The resource name of the EvaluationMetric. Format: projects/
project/locations/location/evaluationMetrics/evaluation_metric`
Corresponds to the JSON propertyname`
16707 16708 16709 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16707 def name @name end |
#update_time ⇒ String
Output only. The time when the EvaluationMetric was last updated.
Corresponds to the JSON property updateTime
16712 16713 16714 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16712 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16719 16720 16721 16722 16723 16724 16725 16726 16727 16728 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16719 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri) @labels = args[:labels] if args.key?(:labels) @metric = args[:metric] if args.key?(:metric) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) end |