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 \ V1Methods
__construct
Constructor.
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
array
The solutions that the data store enrolls. Available solutions for each industry_vertical
: * * MEDIA
: SOLUTION_TYPE_RECOMMENDATION
and SOLUTION_TYPE_SEARCH
. * * SITE_SEARCH
: SOLUTION_TYPE_SEARCH
is automatically enrolled. Other solutions cannot be enrolled.
↳ default_schema_id
↳ content_config
int
Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT .
↳ create_time
↳ advanced_site_search_config
↳ 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
↳ billing_estimation
↳ acl_enabled
bool
Immutable. Whether data in the 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
methods. When ACL is enabled for the DataStore
, Document
can't be accessed by calling DocumentService.GetDocument
or DocumentService.ListDocuments
. Currently ACL is only supported in GENERIC
industry vertical with non- PUBLIC_WEBSITE
content config.
↳ workspace_config
WorkspaceConfig
Config to store data store type configuration for workspace data. This must be set when DataStore.content_config is set as DataStore.ContentConfig.GOOGLE_WORKSPACE .
↳ document_processing_config
↳ starting_schema
Schema
The start schema to use for this 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 , use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from this doc .
↳ healthcare_fhir_config
↳ identity_mapping_store
string
Immutable. The fully qualified resource name of the associated 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.
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.
var
string
$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.
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.
var
string
$this
getIndustryVertical
Immutable. The industry vertical that the data store registers.
int
setIndustryVertical
Immutable. The industry vertical that the data store registers.
var
int
$this
getSolutionTypes
The solutions that the data store enrolls. Available solutions for each industry_vertical :
-
MEDIA
:SOLUTION_TYPE_RECOMMENDATION
andSOLUTION_TYPE_SEARCH
. -
SITE_SEARCH
:SOLUTION_TYPE_SEARCH
is automatically enrolled. Other solutions cannot be enrolled.
setSolutionTypes
The solutions that the data store enrolls. Available solutions for each industry_vertical :
-
MEDIA
:SOLUTION_TYPE_RECOMMENDATION
andSOLUTION_TYPE_SEARCH
. -
SITE_SEARCH
:SOLUTION_TYPE_SEARCH
is automatically enrolled. Other solutions cannot be enrolled.
var
int[]
$this
getDefaultSchemaId
Output only. The id of the default Schema associated to this data store.
string
setDefaultSchemaId
Output only. The id of the default Schema associated to this data store.
var
string
$this
getContentConfig
Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT .
int
setContentConfig
Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT .
var
int
$this
getCreateTime
Output only. Timestamp the DataStore was created at.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Timestamp the DataStore was created at.
$this
getAdvancedSiteSearchConfig
Optional. Configuration for advanced site search.
hasAdvancedSiteSearchConfig
clearAdvancedSiteSearchConfig
setAdvancedSiteSearchConfig
Optional. Configuration for advanced site search.
$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.
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.
var
string
$this
getCmekConfig
Output only. CMEK-related information for the DataStore.
hasCmekConfig
clearCmekConfig
setCmekConfig
Output only. CMEK-related information for the DataStore.
$this
getBillingEstimation
Output only. Data size estimation for billing.
hasBillingEstimation
clearBillingEstimation
setBillingEstimation
Output only. Data size estimation for billing.
$this
getAclEnabled
Immutable. Whether data in the 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
methods.
When ACL is enabled for the DataStore
, Document
can't be accessed by
calling DocumentService.GetDocument
or DocumentService.ListDocuments
.
Currently ACL is only supported in GENERIC
industry vertical with
non- PUBLIC_WEBSITE
content config.
bool
setAclEnabled
Immutable. Whether data in the 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
methods.
When ACL is enabled for the DataStore
, Document
can't be accessed by
calling DocumentService.GetDocument
or DocumentService.ListDocuments
.
Currently ACL is only supported in GENERIC
industry vertical with
non- PUBLIC_WEBSITE
content config.
var
bool
$this
getWorkspaceConfig
Config to store data store type configuration for workspace data. This must be set when DataStore.content_config is set as DataStore.ContentConfig.GOOGLE_WORKSPACE .
hasWorkspaceConfig
clearWorkspaceConfig
setWorkspaceConfig
Config to store data store type configuration for workspace data. This must be set when DataStore.content_config is set as DataStore.ContentConfig.GOOGLE_WORKSPACE .
$this
getDocumentProcessingConfig
Configuration for Document understanding and enrichment.
hasDocumentProcessingConfig
clearDocumentProcessingConfig
setDocumentProcessingConfig
Configuration for Document understanding and enrichment.
$this
getStartingSchema
The start schema to use for this 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 , use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from this doc .
hasStartingSchema
clearStartingSchema
setStartingSchema
The start schema to use for this 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 , use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from this doc .
$this
getHealthcareFhirConfig
Optional. Configuration for HEALTHCARE_FHIR
vertical.
hasHealthcareFhirConfig
clearHealthcareFhirConfig
setHealthcareFhirConfig
Optional. Configuration for HEALTHCARE_FHIR
vertical.
$this
getIdentityMappingStore
Immutable. The fully qualified resource name of the associated 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}
.
string
setIdentityMappingStore
Immutable. The fully qualified resource name of the associated 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}
.
var
string
$this