Class DataStore (0.12.3)

DataStore(mapping=None, *, ignore_unknown_fields=False, **kwargs)

DataStore captures global settings and configs at the DataStore level.

Attributes

Name Description
name str
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.
display_name str
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 google.cloud.discoveryengine_v1alpha.types.IndustryVertical
Immutable. The industry vertical that the data store registers.
solution_types MutableSequence[google.cloud.discoveryengine_v1alpha.types.SolutionType]
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 str
Output only. The id of the default Schema asscociated to this data store.
content_config google.cloud.discoveryengine_v1alpha.types.DataStore.ContentConfig
Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp the DataStore was created at.
language_info google.cloud.discoveryengine_v1alpha.types.LanguageInfo
Language info for DataStore.
idp_config google.cloud.discoveryengine_v1alpha.types.IdpConfig
Output only. Data store level identity provider config.
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 google.cloud.discoveryengine_v1alpha.types.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 google.cloud.discoveryengine_v1alpha.types.DocumentProcessingConfig
Configuration for Document understanding and enrichment.
starting_schema google.cloud.discoveryengine_v1alpha.types.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

Classes

ContentConfig

ContentConfig(value)

Content config of the data store.