# Google Cloud Discovery Engine V1 Client - Class DataStore (1.11.1)

1.11.1 (latest) 1.11.0 1.10.1 1.9.1 1.8.0 1.7.0 1.6.1 1.5.1 1.4.0 1.3.3 1.2.0 1.1.0 1.0.0 0.11.3 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class DataStore.

DataStore captures global settings and configs at the DataStore level.

Generated from protobuf message `google.cloud.discoveryengine.v1.DataStore`

## Namespace

Google \\ Cloud \\ DiscoveryEngine \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` 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. |
| `↳ display_name` | `string` 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. |
| `↳ industry_vertical` | `int` Immutable. The industry vertical that the data store registers. |
| `↳ solution_types` | `int[]` The solutions that the data store enrolls. Available solutions for each [industry_vertical](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore#_Google_Cloud_DiscoveryEngine_V1_DataStore__getIndustryVertical__): \* \* `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. \* \* `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled. |
| `↳ default_schema_id` | `string` Output only. The id of the default [Schema](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Schema) associated to this data store. |
| `↳ content_config` | `int` Immutable. The content config of the data store. If this field is unset, the server behavior defaults to [ContentConfig.NO_CONTENT](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore.ContentConfig#_Google_Cloud_DiscoveryEngine_V1_DataStore_ContentConfig__NO_CONTENT). |
| `↳ create_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. Timestamp the [DataStore](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore) was created at. |
| `↳ advanced_site_search_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.AdvancedSiteSearchConfig` Optional. Configuration for advanced site search. |
| `↳ natural_language_query_understanding_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.NaturalLanguageQueryUnderstandingConfig` Optional. Configuration for Natural Language Query Understanding. |
| `↳ kms_key_name` | `string` 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. |
| `↳ cmek_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.CmekConfig` Output only. CMEK-related information for the DataStore. |
| `↳ billing_estimation` | `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore.BillingEstimation` Output only. Data size estimation for billing. |
| `↳ acl_enabled` | `bool` Immutable. Whether data in the [DataStore](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/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](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Client.DocumentServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_DocumentServiceClient__importDocuments__) methods. When ACL is enabled for the [DataStore](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore), [Document](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Document) can't be accessed by calling [DocumentService.GetDocument](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Client.DocumentServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_DocumentServiceClient__getDocument__) or [DocumentService.ListDocuments](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Client.DocumentServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_DocumentServiceClient__listDocuments__). Currently ACL is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` content config. |
| `↳ workspace_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.WorkspaceConfig` Config to store data store type configuration for workspace data. This must be set when [DataStore.content_config](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore#_Google_Cloud_DiscoveryEngine_V1_DataStore__getContentConfig__) is set as [DataStore.ContentConfig.GOOGLE_WORKSPACE](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore.ContentConfig#_Google_Cloud_DiscoveryEngine_V1_DataStore_ContentConfig__GOOGLE_WORKSPACE). |
| `↳ document_processing_config` | `DocumentProcessingConfig` Configuration for Document understanding and enrichment. |
| `↳ starting_schema` | `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Schema` The start schema to use for this [DataStore](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore) when provisioning it. If unset, a default vertical specialized schema will be used. This field is only used by [CreateDataStore](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Client.DataStoreServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_DataStoreServiceClient__createDataStore__) API, and will be ignored if used in other APIs. This field will be omitted from all API responses including [CreateDataStore](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Client.DataStoreServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_DataStoreServiceClient__createDataStore__) API. To retrieve a schema of a [DataStore](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore), use [SchemaService.GetSchema](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Client.SchemaServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_SchemaServiceClient__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). |
| `↳ healthcare_fhir_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.HealthcareFhirConfig` Optional. Configuration for `HEALTHCARE_FHIR` vertical. |
| `↳ identity_mapping_store` | `string` Immutable. The fully qualified resource name of the associated [IdentityMappingStore](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/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}`. |

### getName

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDisplayName

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDisplayName

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getIndustryVertical

Immutable. The industry vertical that the data store registers.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [IndustryVertical](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.IndustryVertical). |

### setIndustryVertical

Immutable. The industry vertical that the data store registers.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [IndustryVertical](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.IndustryVertical). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSolutionTypes

The solutions that the data store enrolls. Available solutions for each
[industry_vertical](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore#_Google_Cloud_DiscoveryEngine_V1_DataStore__getIndustryVertical__):

- `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<int>` |   |

### setSolutionTypes

The solutions that the data store enrolls. Available solutions for each
[industry_vertical](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore#_Google_Cloud_DiscoveryEngine_V1_DataStore__getIndustryVertical__):

- `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`.

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDefaultSchemaId

Output only. The id of the default
[Schema](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Schema) associated to this data
store.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDefaultSchemaId

Output only. The id of the default
[Schema](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Schema) associated to this data
store.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getContentConfig

Immutable. The content config of the data store. If this field is unset,
the server behavior defaults to
[ContentConfig.NO_CONTENT](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore.ContentConfig#_Google_Cloud_DiscoveryEngine_V1_DataStore_ContentConfig__NO_CONTENT).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [ContentConfig](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore.ContentConfig). |

### setContentConfig

Immutable. The content config of the data store. If this field is unset,
the server behavior defaults to
[ContentConfig.NO_CONTENT](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore.ContentConfig#_Google_Cloud_DiscoveryEngine_V1_DataStore_ContentConfig__NO_CONTENT).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [ContentConfig](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore.ContentConfig). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCreateTime

Output only. Timestamp the
[DataStore](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore) was created at.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasCreateTime

### clearCreateTime

### setCreateTime

Output only. Timestamp the
[DataStore](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore) was created at.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAdvancedSiteSearchConfig

Optional. Configuration for advanced site search.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.AdvancedSiteSearchConfig|null` |   |

### hasAdvancedSiteSearchConfig

### clearAdvancedSiteSearchConfig

### setAdvancedSiteSearchConfig

Optional. Configuration for advanced site search.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.AdvancedSiteSearchConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getNaturalLanguageQueryUnderstandingConfig

Optional. Configuration for Natural Language Query Understanding.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.NaturalLanguageQueryUnderstandingConfig|null` |   |

### hasNaturalLanguageQueryUnderstandingConfig

### clearNaturalLanguageQueryUnderstandingConfig

### setNaturalLanguageQueryUnderstandingConfig

Optional. Configuration for Natural Language Query Understanding.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.NaturalLanguageQueryUnderstandingConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getKmsKeyName

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setKmsKeyName

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCmekConfig

Output only. CMEK-related information for the DataStore.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.CmekConfig|null` |   |

### hasCmekConfig

### clearCmekConfig

### setCmekConfig

Output only. CMEK-related information for the DataStore.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.CmekConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getBillingEstimation

Output only. Data size estimation for billing.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore.BillingEstimation|null` |   |

### hasBillingEstimation

### clearBillingEstimation

### setBillingEstimation

Output only. Data size estimation for billing.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore.BillingEstimation` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAclEnabled

Immutable. Whether data in the
[DataStore](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/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](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Client.DocumentServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_DocumentServiceClient__importDocuments__)
methods.
When ACL is enabled for the
[DataStore](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore),
[Document](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Document) can't be accessed by
calling
[DocumentService.GetDocument](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Client.DocumentServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_DocumentServiceClient__getDocument__)
or
[DocumentService.ListDocuments](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Client.DocumentServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_DocumentServiceClient__listDocuments__).
Currently ACL is only supported in `GENERIC` industry vertical with
non-`PUBLIC_WEBSITE` content config.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setAclEnabled

Immutable. Whether data in the
[DataStore](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/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](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Client.DocumentServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_DocumentServiceClient__importDocuments__)
methods.
When ACL is enabled for the
[DataStore](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore),
[Document](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Document) can't be accessed by
calling
[DocumentService.GetDocument](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Client.DocumentServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_DocumentServiceClient__getDocument__)
or
[DocumentService.ListDocuments](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Client.DocumentServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_DocumentServiceClient__listDocuments__).
Currently ACL is only supported in `GENERIC` industry vertical with
non-`PUBLIC_WEBSITE` content config.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getWorkspaceConfig

Config to store data store type configuration for workspace data. This
must be set when
[DataStore.content_config](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore#_Google_Cloud_DiscoveryEngine_V1_DataStore__getContentConfig__)
is set as
[DataStore.ContentConfig.GOOGLE_WORKSPACE](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore.ContentConfig#_Google_Cloud_DiscoveryEngine_V1_DataStore_ContentConfig__GOOGLE_WORKSPACE).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.WorkspaceConfig|null` |   |

### hasWorkspaceConfig

### clearWorkspaceConfig

### setWorkspaceConfig

Config to store data store type configuration for workspace data. This
must be set when
[DataStore.content_config](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore#_Google_Cloud_DiscoveryEngine_V1_DataStore__getContentConfig__)
is set as
[DataStore.ContentConfig.GOOGLE_WORKSPACE](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore.ContentConfig#_Google_Cloud_DiscoveryEngine_V1_DataStore_ContentConfig__GOOGLE_WORKSPACE).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.WorkspaceConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDocumentProcessingConfig

Configuration for Document understanding and enrichment.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `DocumentProcessingConfig|null` |   |

### hasDocumentProcessingConfig

### clearDocumentProcessingConfig

### setDocumentProcessingConfig

Configuration for Document understanding and enrichment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `DocumentProcessingConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getStartingSchema

The start schema to use for this
[DataStore](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore) when provisioning
it. If unset, a default vertical specialized schema will be used.

This field is only used by
[CreateDataStore](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Client.DataStoreServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_DataStoreServiceClient__createDataStore__)
API, and will be ignored if used in other APIs. This field will be omitted
from all API responses including
[CreateDataStore](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Client.DataStoreServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_DataStoreServiceClient__createDataStore__)
API. To retrieve a schema of a
[DataStore](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore), use
[SchemaService.GetSchema](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Client.SchemaServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_SchemaServiceClient__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).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Schema|null` |   |

### hasStartingSchema

### clearStartingSchema

### setStartingSchema

The start schema to use for this
[DataStore](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore) when provisioning
it. If unset, a default vertical specialized schema will be used.

This field is only used by
[CreateDataStore](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Client.DataStoreServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_DataStoreServiceClient__createDataStore__)
API, and will be ignored if used in other APIs. This field will be omitted
from all API responses including
[CreateDataStore](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Client.DataStoreServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_DataStoreServiceClient__createDataStore__)
API. To retrieve a schema of a
[DataStore](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore), use
[SchemaService.GetSchema](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Client.SchemaServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_SchemaServiceClient__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).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Schema` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getHealthcareFhirConfig

Optional. Configuration for `HEALTHCARE_FHIR` vertical.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.HealthcareFhirConfig|null` |   |

### hasHealthcareFhirConfig

### clearHealthcareFhirConfig

### setHealthcareFhirConfig

Optional. Configuration for `HEALTHCARE_FHIR` vertical.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.HealthcareFhirConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getIdentityMappingStore

Immutable. The fully qualified resource name of the associated
[IdentityMappingStore](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/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}`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setIdentityMappingStore

Immutable. The fully qualified resource name of the associated
[IdentityMappingStore](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/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}`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |