# Discovery Engine v1beta API - Class DataStore (1.0.0-beta23)

1.0.0-beta23 (latest) 1.0.0-beta22

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

Reference documentation and code samples for the Discovery Engine v1beta API class DataStore.

DataStore captures global settings and configs at the DataStore level.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> DataStore

## Implements

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

## Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

## Constructors

### DataStore()

    public DataStore()

### DataStore(DataStore)

    public DataStore(DataStore other)

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

## Properties

### BillingEstimation

    public DataStore.Types.BillingEstimation BillingEstimation { get; set; }

Output only. Data size estimation for billing.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStorehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.BillingEstimation` |   |

### ContentConfig

    public DataStore.Types.ContentConfig ContentConfig { get; set; }

Immutable. The content config of the data store. If this field is unset,
the server behavior defaults to
\[ContentConfig.NO_CONTENT\]\[google.cloud.discoveryengine.v1beta.DataStore.ContentConfig.NO_CONTENT\].

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStorehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.ContentConfig` |   |

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. Timestamp the
\[DataStore\]\[google.cloud.discoveryengine.v1beta.DataStore\] was created at.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### DataStoreName

    public DataStoreName DataStoreName { get; set; }

[DataStoreName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStoreName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStore#Google_Cloud_DiscoveryEngine_V1Beta_DataStore_Name) resource name property.

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

### DefaultSchemaId

    public string DefaultSchemaId { get; set; }

Output only. The id of the default
\[Schema\]\[google.cloud.discoveryengine.v1beta.Schema\] asscociated to this
data store.

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

### DisplayName

    public string DisplayName { get; set; }

Required. The data store display name.

This field must be a UTF-8 encoded string with a length limit of 128
characters. Otherwise, an INVALID_ARGUMENT error is returned.

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

### DocumentProcessingConfig

    public DocumentProcessingConfig DocumentProcessingConfig { get; set; }

Configuration for Document understanding and enrichment.

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

### IndustryVertical

    public IndustryVertical IndustryVertical { get; set; }

Immutable. The industry vertical that the data store registers.

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

### LanguageInfo

    public LanguageInfo LanguageInfo { get; set; }

Language info for DataStore.

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

### Name

    public string Name { get; set; }

Immutable. The full resource name of the data store.
Format:
`projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.

This field must be a UTF-8 encoded string with a length limit of 1024
characters.

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

### NaturalLanguageQueryUnderstandingConfig

    public NaturalLanguageQueryUnderstandingConfig NaturalLanguageQueryUnderstandingConfig { get; set; }

Optional. Configuration for Natural Language Query Understanding.

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

### ServingConfigDataStore

    public DataStore.Types.ServingConfigDataStore ServingConfigDataStore { get; set; }

Optional. Stores serving config at DataStore level.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStorehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DataStore.Types.ServingConfigDataStore` |   |

### SolutionTypes

    public RepeatedField<SolutionType> SolutionTypes { get; }

The solutions that the data store enrolls. Available solutions for each
\[industry_vertical\]\[google.cloud.discoveryengine.v1beta.DataStore.industry_vertical\]:

- `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`.
- `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SolutionType` |   |

### StartingSchema

    public Schema StartingSchema { get; set; }

The start schema to use for this
\[DataStore\]\[google.cloud.discoveryengine.v1beta.DataStore\] when
provisioning it. If unset, a default vertical specialized schema will be
used.

This field is only used by \[CreateDataStore\]\[\] API, and will be ignored if
used in other APIs. This field will be omitted from all API responses
including \[CreateDataStore\]\[\] API. To retrieve a schema of a
\[DataStore\]\[google.cloud.discoveryengine.v1beta.DataStore\], use
\[SchemaService.GetSchema\]\[google.cloud.discoveryengine.v1beta.SchemaService.GetSchema\]
API instead.

The provided schema will be validated against certain rules on schema.
Learn more from [this
doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema).

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

### WorkspaceConfig

    public WorkspaceConfig WorkspaceConfig { get; set; }

Config to store data store type configuration for workspace data. This
must be set when
\[DataStore.content_config\]\[google.cloud.discoveryengine.v1beta.DataStore.content_config\]
is set as
\[DataStore.ContentConfig.GOOGLE_WORKSPACE\]\[google.cloud.discoveryengine.v1beta.DataStore.ContentConfig.GOOGLE_WORKSPACE\].

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