[[["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-28 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCometSpec\u003c/code\u003e class in the Vertex AI v1beta1 API provides specifications for Comet metrics, and it is part of the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCometSpec\u003c/code\u003e implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e, offering a set of functionalities related to message handling, equality checking, deep cloning and buffer message interactions.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default one and another that takes an existing \u003ccode\u003eCometSpec\u003c/code\u003e object for copying, allowing for object creation and duplication.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCometSpec\u003c/code\u003e includes properties like \u003ccode\u003eHasVersion\u003c/code\u003e to check if the version is set, and \u003ccode\u003eSourceLanguage\u003c/code\u003e and \u003ccode\u003eTargetLanguage\u003c/code\u003e to specify languages in BCP-47 format, in addition to the required \u003ccode\u003eVersion\u003c/code\u003e property that indicates the evaluation version.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of CometSpec is \u003ccode\u003e1.0.0-beta21\u003c/code\u003e, however the class is also available in version \u003ccode\u003e1.0.0-beta20\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Vertex AI v1beta1 API - Class CometSpec (1.0.0-beta47)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta47 (latest)](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.CometSpec)\n- [1.0.0-beta46](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/1.0.0-beta46/Google.Cloud.AIPlatform.V1Beta1.CometSpec) \n\n public sealed class CometSpec : IMessage\u003cCometSpec\u003e, IEquatable\u003cCometSpec\u003e, IDeepCloneable\u003cCometSpec\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Vertex AI v1beta1 API class CometSpec.\n\nSpec for Comet metric. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CometSpec \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CometSpec](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.CometSpec), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CometSpec](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.CometSpec), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CometSpec](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.CometSpec), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.AIPlatform.V1Beta1](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.AIPlatform.V1Beta1.dll\n\nConstructors\n------------\n\n### CometSpec()\n\n public CometSpec()\n\n### CometSpec(CometSpec)\n\n public CometSpec(CometSpec other)\n\nProperties\n----------\n\n### HasVersion\n\n public bool HasVersion { get; }\n\nGets whether the \"version\" field is set\n\n### SourceLanguage\n\n public string SourceLanguage { get; set; }\n\nOptional. Source language in BCP-47 format.\n\n### TargetLanguage\n\n public string TargetLanguage { get; set; }\n\nOptional. Target language in BCP-47 format. Covers both prediction and\nreference.\n\n### Version\n\n public CometSpec.Types.CometVersion Version { get; set; }\n\nRequired. Which version to use for evaluation."]]