public sealed class CreateDataStoreRequest : IMessage<CreateDataStoreRequest>, IEquatable<CreateDataStoreRequest>, IDeepCloneable<CreateDataStoreRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class CreateDataStoreRequest.
Request for
[DataStoreService.CreateDataStore][google.cloud.discoveryengine.v1beta.DataStoreService.CreateDataStore]
method.
public bool CreateAdvancedSiteSearch { get; set; }
A boolean flag indicating whether user want to directly create an advanced
data store for site search.
If the data store is not configured as site
search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will
be ignored.
Required. The ID to use for the
[DataStore][google.cloud.discoveryengine.v1beta.DataStore], which will
become the final component of the
[DataStore][google.cloud.discoveryengine.v1beta.DataStore]'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.
public bool SkipDefaultSchemaCreation { get; set; }
A boolean flag indicating whether to skip the default schema creation for
the data store. Only enable this flag if you are certain that the default
schema is incompatible with your use case.
If set to true, you must manually create a schema for the data store before
any documents can be ingested.
This flag cannot be specified if data_store.starting_schema is specified.
[[["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-07 UTC."],[[["\u003cp\u003e\u003ccode\u003eCreateDataStoreRequest\u003c/code\u003e is a class within the Discovery Engine v1beta API, used to make requests for the \u003ccode\u003eDataStoreService.CreateDataStore\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces such as \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\u003eThe \u003ccode\u003eCreateDataStoreRequest\u003c/code\u003e class has properties such as \u003ccode\u003eCreateAdvancedSiteSearch\u003c/code\u003e, \u003ccode\u003eDataStore\u003c/code\u003e, \u003ccode\u003eDataStoreId\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eParentAsCollectionName\u003c/code\u003e, and \u003ccode\u003eSkipDefaultSchemaCreation\u003c/code\u003e to configure data store creation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDataStoreId\u003c/code\u003e property is mandatory and must follow the RFC-1034 standard with a length of no more than 63 characters.\u003c/p\u003e\n"],["\u003cp\u003eThe property \u003ccode\u003eSkipDefaultSchemaCreation\u003c/code\u003e allows the user to skip the default schema, in which case a manual creation of the schema is needed.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class CreateDataStoreRequest (1.0.0-beta19)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta19 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CreateDataStoreRequest)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.CreateDataStoreRequest) \n\n public sealed class CreateDataStoreRequest : IMessage\u003cCreateDataStoreRequest\u003e, IEquatable\u003cCreateDataStoreRequest\u003e, IDeepCloneable\u003cCreateDataStoreRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1beta API class CreateDataStoreRequest.\n\nRequest for\n\\[DataStoreService.CreateDataStore\\]\\[google.cloud.discoveryengine.v1beta.DataStoreService.CreateDataStore\\]\nmethod. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateDataStoreRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateDataStoreRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CreateDataStoreRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateDataStoreRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CreateDataStoreRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateDataStoreRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CreateDataStoreRequest), [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.V1Beta](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1Beta.dll\n\nConstructors\n------------\n\n### CreateDataStoreRequest()\n\n public CreateDataStoreRequest()\n\n### CreateDataStoreRequest(CreateDataStoreRequest)\n\n public CreateDataStoreRequest(CreateDataStoreRequest other)\n\nProperties\n----------\n\n### CreateAdvancedSiteSearch\n\n public bool CreateAdvancedSiteSearch { get; set; }\n\nA boolean flag indicating whether user want to directly create an advanced\ndata store for site search.\nIf the data store is not configured as site\nsearch (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will\nbe ignored.\n\n### DataStore\n\n public DataStore DataStore { get; set; }\n\nRequired. The \\[DataStore\\]\\[google.cloud.discoveryengine.v1beta.DataStore\\] to\ncreate.\n\n### DataStoreId\n\n public string DataStoreId { get; set; }\n\nRequired. The ID to use for the\n\\[DataStore\\]\\[google.cloud.discoveryengine.v1beta.DataStore\\], which will\nbecome the final component of the\n\\[DataStore\\]\\[google.cloud.discoveryengine.v1beta.DataStore\\]'s resource 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.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CollectionName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CreateDataStoreRequest#Google_Cloud_DiscoveryEngine_V1Beta_CreateDataStoreRequest_Parent) resource name property.\n\n### SkipDefaultSchemaCreation\n\n public bool SkipDefaultSchemaCreation { get; set; }\n\nA boolean flag indicating whether to skip the default schema creation for\nthe data store. Only enable this flag if you are certain that the default\nschema is incompatible with your use case.\n\nIf set to true, you must manually create a schema for the data store before\nany documents can be ingested.\n\nThis flag cannot be specified if `data_store.starting_schema` is specified."]]