public sealed class ToolNameMatchInstance : IMessage<ToolNameMatchInstance>, IEquatable<ToolNameMatchInstance>, IDeepCloneable<ToolNameMatchInstance>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class ToolNameMatchInstance.
[[["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\u003eThis documentation covers the \u003ccode\u003eToolNameMatchInstance\u003c/code\u003e class within the Google Cloud Vertex AI v1beta1 API, specifically focusing on version 1.0.0-beta21 (latest).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eToolNameMatchInstance\u003c/code\u003e is a class that 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, and is used for specifying tool name match instances.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and includes constructors for creating a new instance or copying an existing one, plus contains the inherited members \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eToolNameMatchInstance\u003c/code\u003e class has properties \u003ccode\u003eHasPrediction\u003c/code\u003e and \u003ccode\u003eHasReference\u003c/code\u003e of type boolean to check if the "prediction" and "reference" field is set, and \u003ccode\u003ePrediction\u003c/code\u003e and \u003ccode\u003eReference\u003c/code\u003e of type string to set the output of the model, and ground truth of the prediction, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThis class resides in the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1\u003c/code\u003e namespace and is located within the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Vertex AI v1beta1 API - Class ToolNameMatchInstance (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.ToolNameMatchInstance)\n- [1.0.0-beta46](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/1.0.0-beta46/Google.Cloud.AIPlatform.V1Beta1.ToolNameMatchInstance) \n\n public sealed class ToolNameMatchInstance : IMessage\u003cToolNameMatchInstance\u003e, IEquatable\u003cToolNameMatchInstance\u003e, IDeepCloneable\u003cToolNameMatchInstance\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Vertex AI v1beta1 API class ToolNameMatchInstance.\n\nSpec for tool name match instance. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ToolNameMatchInstance \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ToolNameMatchInstance](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ToolNameMatchInstance), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ToolNameMatchInstance](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ToolNameMatchInstance), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ToolNameMatchInstance](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ToolNameMatchInstance), [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### ToolNameMatchInstance()\n\n public ToolNameMatchInstance()\n\n### ToolNameMatchInstance(ToolNameMatchInstance)\n\n public ToolNameMatchInstance(ToolNameMatchInstance other)\n\nProperties\n----------\n\n### HasPrediction\n\n public bool HasPrediction { get; }\n\nGets whether the \"prediction\" field is set\n\n### HasReference\n\n public bool HasReference { get; }\n\nGets whether the \"reference\" field is set\n\n### Prediction\n\n public string Prediction { get; set; }\n\nRequired. Output of the evaluated model.\n\n### Reference\n\n public string Reference { get; set; }\n\nRequired. Ground truth used to compare against the prediction."]]