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. |
Classes
ContentConfig
ContentConfig(value)
Content config of the data store.
Values: CONTENT_CONFIG_UNSPECIFIED (0): Default value. NO_CONTENT (1): Only contains documents without any Document.content. CONTENT_REQUIRED (2): Only contains documents with Document.content. PUBLIC_WEBSITE (3): The data store is used for public website search.