public sealed class Metric : IMessage<Measurement.Types.Metric>, IEquatable<Measurement.Types.Metric>, IDeepCloneable<Measurement.Types.Metric>, IBufferMessage, IMessage
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-20 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eMetric\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1\u003c/code\u003e namespace, specifically relating to different versions of this class.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eMetric\u003c/code\u003e class is 3.22.0, with a range of historical versions available, going as far back as 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMetric\u003c/code\u003e class, found in the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1.dll\u003c/code\u003e assembly, represents a metric in a measurement and inherits from \u003ccode\u003eObject\u003c/code\u003e while implementing several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eMetric\u003c/code\u003e class include \u003ccode\u003eMetricId\u003c/code\u003e (a string) and \u003ccode\u003eValue\u003c/code\u003e (a double), both of which are output-only and provide the ID and the value for a given metric.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors, a default one \u003ccode\u003eMetric()\u003c/code\u003e and one that accepts another \u003ccode\u003eMetric\u003c/code\u003e object as a parameter \u003ccode\u003eMetric(Measurement.Types.Metric other)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]