Discovery Engine v1 API - Class CreateDataStoreRequest (1.6.0)

public sealed class CreateDataStoreRequest : IMessage<CreateDataStoreRequest>, IEquatable<CreateDataStoreRequest>, IDeepCloneable<CreateDataStoreRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1 API class CreateDataStoreRequest.

Request for [DataStoreService.CreateDataStore][google.cloud.discoveryengine.v1.DataStoreService.CreateDataStore] method.

Inheritance

object > CreateDataStoreRequest

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

CreateDataStoreRequest()

public CreateDataStoreRequest()

CreateDataStoreRequest(CreateDataStoreRequest)

public CreateDataStoreRequest(CreateDataStoreRequest other)
Parameter
Name Description
other CreateDataStoreRequest

Properties

CreateAdvancedSiteSearch

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.

Property Value
Type Description
bool

DataStore

public DataStore DataStore { get; set; }

Required. The [DataStore][google.cloud.discoveryengine.v1.DataStore] to create.

Property Value
Type Description
DataStore

DataStoreId

public string DataStoreId { get; set; }

Required. The ID to use for the [DataStore][google.cloud.discoveryengine.v1.DataStore], which will become the final component of the [DataStore][google.cloud.discoveryengine.v1.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.

Property Value
Type Description
string

Parent

public string Parent { get; set; }

Required. The parent resource name, such as projects/{project}/locations/{location}/collections/{collection}.

Property Value
Type Description
string

ParentAsCollectionName

public CollectionName ParentAsCollectionName { get; set; }

CollectionName-typed view over the Parent resource name property.

Property Value
Type Description
CollectionName

SkipDefaultSchemaCreation

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.

Property Value
Type Description
bool