Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::Measurement::Metric (v1.40.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::Measurement::Metric.
A message representing a metric in the measurement.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#metric_id
defmetric_id()->::String
Returns
(::String) — Output only. The ID of the Metric. The Metric should be defined in
[StudySpec's Metrics][google.cloud.aiplatform.v1.StudySpec.metrics].
#value
defvalue()->::Float
Returns
(::Float) — Output only. The value for this metric.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-04-03 UTC."],[],[]]