1.15.0 (latest) 1.14.0 1.13.0 1.12.0 1.11.0 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0-beta06

    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](https://learn.microsoft.com/dotnet/api/system.object) \> CreateDataStoreRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateDataStoreRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CreateDataStoreRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateDataStoreRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CreateDataStoreRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateDataStoreRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DiscoveryEngine.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1)

## Assembly

Google.Cloud.DiscoveryEngine.V1.dll

## Constructors

### CreateDataStoreRequest()

    public CreateDataStoreRequest()

### CreateDataStoreRequest(CreateDataStoreRequest)

    public CreateDataStoreRequest(CreateDataStoreRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CreateDataStoreRequest` |

## Properties

### CmekConfigName

    public string CmekConfigName { get; set; }

Resource name of the CmekConfig to use for protecting this DataStore.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### CmekConfigNameAsCmekConfigName

    public CmekConfigName CmekConfigNameAsCmekConfigName { get; set; }

[CmekConfigName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CmekConfigName)-typed view over the [CmekConfigName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CreateDataStoreRequest#Google_Cloud_DiscoveryEngine_V1_CreateDataStoreRequest_CmekConfigName) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CmekConfigName` |   |

### CmekOptionsCase

    public CreateDataStoreRequest.CmekOptionsOneofCase CmekOptionsCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CreateDataStoreRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CreateDataStoreRequest.CmekOptionsOneofCase` |   |

### 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** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### DataStore

    public DataStore DataStore { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.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](https://tools.ietf.org/html/rfc1034)
standard with a length limit of 63 characters. Otherwise, an
INVALID_ARGUMENT error is returned.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### DisableCmek

    public bool DisableCmek { get; set; }

DataStore without CMEK protections. If a default CmekConfig is set for
the project, setting this field will override the default CmekConfig as
well.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasCmekConfigName

    public bool HasCmekConfigName { get; }

Gets whether the "cmek_config_name" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasDisableCmek

    public bool HasDisableCmek { get; }

Gets whether the "disable_cmek" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### Parent

    public string Parent { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ParentAsCollectionName

    public CollectionName ParentAsCollectionName { get; set; }

[CollectionName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CollectionName)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CreateDataStoreRequest#Google_Cloud_DiscoveryEngine_V1_CreateDataStoreRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.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** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |