public sealed class CreateEngineRequest : IMessage<CreateEngineRequest>, IEquatable<CreateEngineRequest>, IDeepCloneable<CreateEngineRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class CreateEngineRequest.
Request for
[EngineService.CreateEngine][google.cloud.discoveryengine.v1.EngineService.CreateEngine]
method.
Required. The ID to use for the
[Engine][google.cloud.discoveryengine.v1.Engine], which will become the
final component of the [Engine][google.cloud.discoveryengine.v1.Engine]'s
resource name.
This field must conform to RFC-1034
standard with a length limit of 63 characters. Otherwise, an
INVALID_ARGUMENT error is returned.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCreateEngineRequest\u003c/code\u003e class is part of the Google Cloud Discovery Engine v1 API, used for creating a new engine via the \u003ccode\u003eEngineService.CreateEngine\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThis 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 capabilities for message handling, equality checks, deep cloning, and buffered operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateEngineRequest\u003c/code\u003e class has a constructor and properties for setting the \u003ccode\u003eEngine\u003c/code\u003e to be created, the desired \u003ccode\u003eEngineId\u003c/code\u003e, and the \u003ccode\u003eParent\u003c/code\u003e resource name where the engine will reside.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the \u003ccode\u003eCreateEngineRequest\u003c/code\u003e class, with version 1.6.0 being the latest, which can be accessed via the links provided for each version, and it provides direct access to the \u003ccode\u003eCollectionName\u003c/code\u003e for the parent.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEngineId\u003c/code\u003e must comply with RFC-1034 standards, having a length limit of 63 characters, otherwise an \u003ccode\u003eINVALID_ARGUMENT\u003c/code\u003e error will be produced.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class CreateEngineRequest (1.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CreateEngineRequest)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.CreateEngineRequest)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.CreateEngineRequest)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.CreateEngineRequest)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.CreateEngineRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.CreateEngineRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.CreateEngineRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.CreateEngineRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.CreateEngineRequest)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.CreateEngineRequest) \n\n public sealed class CreateEngineRequest : IMessage\u003cCreateEngineRequest\u003e, IEquatable\u003cCreateEngineRequest\u003e, IDeepCloneable\u003cCreateEngineRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1 API class CreateEngineRequest.\n\nRequest for\n\\[EngineService.CreateEngine\\]\\[google.cloud.discoveryengine.v1.EngineService.CreateEngine\\]\nmethod. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateEngineRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateEngineRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CreateEngineRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateEngineRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CreateEngineRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateEngineRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CreateEngineRequest), [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.DiscoveryEngine.V1](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1.dll\n\nConstructors\n------------\n\n### CreateEngineRequest()\n\n public CreateEngineRequest()\n\n### CreateEngineRequest(CreateEngineRequest)\n\n public CreateEngineRequest(CreateEngineRequest other)\n\nProperties\n----------\n\n### Engine\n\n public Engine Engine { get; set; }\n\nRequired. The \\[Engine\\]\\[google.cloud.discoveryengine.v1.Engine\\] to create.\n\n### EngineId\n\n public string EngineId { get; set; }\n\nRequired. The ID to use for the\n\\[Engine\\]\\[google.cloud.discoveryengine.v1.Engine\\], which will become the\nfinal component of the \\[Engine\\]\\[google.cloud.discoveryengine.v1.Engine\\]'s\nresource name.\n\nThis field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034)\nstandard with a length limit of 63 characters. Otherwise, an\nINVALID_ARGUMENT error is returned.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The parent resource name, such as\n`projects/{project}/locations/{location}/collections/{collection}`.\n\n### ParentAsCollectionName\n\n public CollectionName ParentAsCollectionName { get; set; }\n\n[CollectionName](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CollectionName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CreateEngineRequest#Google_Cloud_DiscoveryEngine_V1_CreateEngineRequest_Parent) resource name property."]]