public sealed class CreateTrialRequest : IMessage<CreateTrialRequest>, IEquatable<CreateTrialRequest>, IDeepCloneable<CreateTrialRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class CreateTrialRequest.
Request message for
[VizierService.CreateTrial][google.cloud.aiplatform.v1beta1.VizierService.CreateTrial].
[[["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\u003eThe \u003ccode\u003eCreateTrialRequest\u003c/code\u003e class is part of the Vertex AI v1beta1 API, specifically used within the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1\u003c/code\u003e namespace in .NET.\u003c/p\u003e\n"],["\u003cp\u003eThis class serves as the request message for the \u003ccode\u003eVizierService.CreateTrial\u003c/code\u003e method, which is used to initiate a new trial in a study.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateTrialRequest\u003c/code\u003e requires properties such as \u003ccode\u003eParent\u003c/code\u003e to specify the study and \u003ccode\u003eTrial\u003c/code\u003e to define the trial's details.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from the base \u003ccode\u003eobject\u003c/code\u003e class and 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.\u003c/p\u003e\n"],["\u003cp\u003eThere are two available versions of the \u003ccode\u003eCreateTrialRequest\u003c/code\u003e, version \u003ccode\u003e1.0.0-beta21\u003c/code\u003e being the latest, and version \u003ccode\u003e1.0.0-beta20\u003c/code\u003e also being accessible.\u003c/p\u003e\n"]]],[],null,["# Vertex AI v1beta1 API - Class CreateTrialRequest (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.CreateTrialRequest)\n- [1.0.0-beta46](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/1.0.0-beta46/Google.Cloud.AIPlatform.V1Beta1.CreateTrialRequest) \n\n public sealed class CreateTrialRequest : IMessage\u003cCreateTrialRequest\u003e, IEquatable\u003cCreateTrialRequest\u003e, IDeepCloneable\u003cCreateTrialRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Vertex AI v1beta1 API class CreateTrialRequest.\n\nRequest message for\n\\[VizierService.CreateTrial\\]\\[google.cloud.aiplatform.v1beta1.VizierService.CreateTrial\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateTrialRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateTrialRequest](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.CreateTrialRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateTrialRequest](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.CreateTrialRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateTrialRequest](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.CreateTrialRequest), [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### CreateTrialRequest()\n\n public CreateTrialRequest()\n\n### CreateTrialRequest(CreateTrialRequest)\n\n public CreateTrialRequest(CreateTrialRequest other)\n\nProperties\n----------\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The resource name of the Study to create the Trial in.\nFormat: `projects/{project}/locations/{location}/studies/{study}`\n\n### ParentAsStudyName\n\n public StudyName ParentAsStudyName { get; set; }\n\n[StudyName](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.StudyName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.CreateTrialRequest#Google_Cloud_AIPlatform_V1Beta1_CreateTrialRequest_Parent) resource name property.\n\n### Trial\n\n public Trial Trial { get; set; }\n\nRequired. The Trial to create."]]