public sealed class CompleteTrialRequest : IMessage<CompleteTrialRequest>, IEquatable<CompleteTrialRequest>, IDeepCloneable<CompleteTrialRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class CompleteTrialRequest.
Request message for
[VizierService.CompleteTrial][google.cloud.aiplatform.v1beta1.VizierService.CompleteTrial].
Optional. If provided, it will be used as the completed Trial's
final_measurement; Otherwise, the service will auto-select a
previously reported measurement as the final-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 documentation details the \u003ccode\u003eCompleteTrialRequest\u003c/code\u003e class, which is part of the Google Cloud Vertex AI v1beta1 API and is used for requesting the completion of a trial.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCompleteTrialRequest\u003c/code\u003e class 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, indicating its role in message handling and data management within the API.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eCompleteTrialRequest\u003c/code\u003e include \u003ccode\u003eFinalMeasurement\u003c/code\u003e (for specifying the trial's final measurement), \u003ccode\u003eInfeasibleReason\u003c/code\u003e (for explaining why a trial is infeasible), \u003ccode\u003eName\u003c/code\u003e (the trial's name), \u003ccode\u003eTrialInfeasible\u003c/code\u003e (a flag indicating trial feasibility), and \u003ccode\u003eTrialName\u003c/code\u003e (a typed view of the trial's resource name).\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eCompleteTrialRequest\u003c/code\u003e is v1.0.0-beta21.\u003c/p\u003e\n"],["\u003cp\u003eThis is utilized in \u003ccode\u003eVizierService.CompleteTrial\u003c/code\u003e, within the Google Cloud AIPlatform v1beta1 API.\u003c/p\u003e\n"]]],[],null,["# Vertex AI v1beta1 API - Class CompleteTrialRequest (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.CompleteTrialRequest)\n- [1.0.0-beta46](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/1.0.0-beta46/Google.Cloud.AIPlatform.V1Beta1.CompleteTrialRequest) \n\n public sealed class CompleteTrialRequest : IMessage\u003cCompleteTrialRequest\u003e, IEquatable\u003cCompleteTrialRequest\u003e, IDeepCloneable\u003cCompleteTrialRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Vertex AI v1beta1 API class CompleteTrialRequest.\n\nRequest message for\n\\[VizierService.CompleteTrial\\]\\[google.cloud.aiplatform.v1beta1.VizierService.CompleteTrial\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CompleteTrialRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CompleteTrialRequest](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.CompleteTrialRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CompleteTrialRequest](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.CompleteTrialRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CompleteTrialRequest](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.CompleteTrialRequest), [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### CompleteTrialRequest()\n\n public CompleteTrialRequest()\n\n### CompleteTrialRequest(CompleteTrialRequest)\n\n public CompleteTrialRequest(CompleteTrialRequest other)\n\nProperties\n----------\n\n### FinalMeasurement\n\n public Measurement FinalMeasurement { get; set; }\n\nOptional. If provided, it will be used as the completed Trial's\nfinal_measurement; Otherwise, the service will auto-select a\npreviously reported measurement as the final-measurement\n\n### InfeasibleReason\n\n public string InfeasibleReason { get; set; }\n\nOptional. A human readable reason why the trial was infeasible. This should\nonly be provided if `trial_infeasible` is true.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The Trial's name.\nFormat:\n`projects/{project}/locations/{location}/studies/{study}/trials/{trial}`\n\n### TrialInfeasible\n\n public bool TrialInfeasible { get; set; }\n\nOptional. True if the Trial cannot be run with the given Parameter, and\nfinal_measurement will be ignored.\n\n### TrialName\n\n public TrialName TrialName { get; set; }\n\n[TrialName](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.TrialName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.CompleteTrialRequest#Google_Cloud_AIPlatform_V1Beta1_CompleteTrialRequest_Name) resource name property."]]