public sealed class Measurement.Types.Metric : IMessage<Measurement.Types.Metric>, IEquatable<Measurement.Types.Metric>, IDeepCloneable<Measurement.Types.Metric>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class Measurement.Types.Metric.
A message representing a metric in the measurement.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eMeasurement.Types.Metric\u003c/code\u003e class within the Vertex AI v1beta1 API, specifically for .NET developers.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMeasurement.Types.Metric\u003c/code\u003e class is a message type that represents a metric within a measurement and is part of the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, ensuring compatibility with other parts of the API and relevant data structures.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMetric\u003c/code\u003e class has two properties: \u003ccode\u003eMetricId\u003c/code\u003e, a string representing the ID of the metric defined in StudySpec's Metrics, and \u003ccode\u003eValue\u003c/code\u003e, a double representing the output value of this metric.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for the \u003ccode\u003eMetric\u003c/code\u003e class: a default constructor \u003ccode\u003eMetric()\u003c/code\u003e, and an overload \u003ccode\u003eMetric(Measurement.Types.Metric other)\u003c/code\u003e which takes another metric object as a parameter.\u003c/p\u003e\n"]]],[],null,[]]