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 DataStore : IMessage<DataStore>, IEquatable<DataStore>, IDeepCloneable<DataStore>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1 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.V1/latest/Google.Cloud.DiscoveryEngine.V1.DataStore), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DataStore](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.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.V1/latest/Google.Cloud.DiscoveryEngine.V1.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.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

### DataStore()

    public DataStore()

### DataStore(DataStore)

    public DataStore(DataStore other)

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

## Properties

### AclEnabled

    public bool AclEnabled { get; set; }

Immutable. Whether data in the
\[DataStore\]\[google.cloud.discoveryengine.v1.DataStore\] has ACL information.
If set to `true`, the source data must have ACL. ACL will be ingested when
data is ingested by
\[DocumentService.ImportDocuments\]\[google.cloud.discoveryengine.v1.DocumentService.ImportDocuments\]
methods.

When ACL is enabled for the
\[DataStore\]\[google.cloud.discoveryengine.v1.DataStore\],
\[Document\]\[google.cloud.discoveryengine.v1.Document\] can't be accessed by
calling
\[DocumentService.GetDocument\]\[google.cloud.discoveryengine.v1.DocumentService.GetDocument\]
or
\[DocumentService.ListDocuments\]\[google.cloud.discoveryengine.v1.DocumentService.ListDocuments\].

Currently ACL is only supported in `GENERIC` industry vertical with
non-`PUBLIC_WEBSITE` content config.

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

### AdvancedSiteSearchConfig

    public AdvancedSiteSearchConfig AdvancedSiteSearchConfig { get; set; }

Optional. Configuration for advanced site search.

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

### 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.V1/latest/Google.Cloud.DiscoveryEngine.V1.DataStorehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DataStore.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DataStore.Types.BillingEstimation` |   |

### CmekConfig

    public CmekConfig CmekConfig { get; set; }

Output only. CMEK-related information for the DataStore.

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

### 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.v1.DataStore.ContentConfig.NO_CONTENT\].

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

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. Timestamp the
\[DataStore\]\[google.cloud.discoveryengine.v1.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.V1/latest/Google.Cloud.DiscoveryEngine.V1.DataStoreName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DataStore#Google_Cloud_DiscoveryEngine_V1_DataStore_Name) resource name property.

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

### DefaultSchemaId

    public string DefaultSchemaId { get; set; }

Output only. The id of the default
\[Schema\]\[google.cloud.discoveryengine.v1.Schema\] associated 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.V1/latest/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfig` |   |

### HealthcareFhirConfig

    public HealthcareFhirConfig HealthcareFhirConfig { get; set; }

Optional. Configuration for `HEALTHCARE_FHIR` vertical.

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

### IdentityMappingStore

    public string IdentityMappingStore { get; set; }

Immutable. The fully qualified resource name of the associated
\[IdentityMappingStore\]\[google.cloud.discoveryengine.v1.IdentityMappingStore\].
This field can only be set for acl_enabled DataStores with `THIRD_PARTY` or
`GSUITE` IdP. Format:
`projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`.

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

### IdentityMappingStoreAsIdentityMappingStoreName

    public IdentityMappingStoreName IdentityMappingStoreAsIdentityMappingStoreName { get; set; }

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

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

### 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.V1/latest/Google.Cloud.DiscoveryEngine.V1.IndustryVertical` |   |

### KmsKeyName

    public string KmsKeyName { get; set; }

Input only. The KMS key to be used to protect this DataStore at creation
time.

Must be set for requests that need to comply with CMEK Org Policy
protections.

If this field is set and processed successfully, the DataStore will be
protected by the KMS key, as indicated in the cmek_config field.

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

### Name

    public string Name { get; set; }

Immutable. Identifier. 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.V1/latest/Google.Cloud.DiscoveryEngine.V1.NaturalLanguageQueryUnderstandingConfig` |   |

### SolutionTypes

    public RepeatedField<SolutionType> SolutionTypes { get; }

The solutions that the data store enrolls. Available solutions for each
\[industry_vertical\]\[google.cloud.discoveryengine.v1.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.V1/latest/Google.Cloud.DiscoveryEngine.V1.SolutionType` |   |

### StartingSchema

    public Schema StartingSchema { get; set; }

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

This field is only used by
\[CreateDataStore\]\[google.cloud.discoveryengine.v1.DataStoreService.CreateDataStore\]
API, and will be ignored if used in other APIs. This field will be omitted
from all API responses including
\[CreateDataStore\]\[google.cloud.discoveryengine.v1.DataStoreService.CreateDataStore\]
API. To retrieve a schema of a
\[DataStore\]\[google.cloud.discoveryengine.v1.DataStore\], use
\[SchemaService.GetSchema\]\[google.cloud.discoveryengine.v1.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.V1/latest/Google.Cloud.DiscoveryEngine.V1.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.v1.DataStore.content_config\]
is set as
\[DataStore.ContentConfig.GOOGLE_WORKSPACE\]\[google.cloud.discoveryengine.v1.DataStore.ContentConfig.GOOGLE_WORKSPACE\].

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