Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::DataStore.
DataStore captures global settings and configs at the DataStore level.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#advanced_site_search_config
def advanced_site_search_config() -> ::Google::Cloud::DiscoveryEngine::V1::AdvancedSiteSearchConfig
- (::Google::Cloud::DiscoveryEngine::V1::AdvancedSiteSearchConfig) — Optional. Configuration for advanced site search.
#advanced_site_search_config=
def advanced_site_search_config=(value) -> ::Google::Cloud::DiscoveryEngine::V1::AdvancedSiteSearchConfig
- value (::Google::Cloud::DiscoveryEngine::V1::AdvancedSiteSearchConfig) — Optional. Configuration for advanced site search.
- (::Google::Cloud::DiscoveryEngine::V1::AdvancedSiteSearchConfig) — Optional. Configuration for advanced site search.
#billing_estimation
def billing_estimation() -> ::Google::Cloud::DiscoveryEngine::V1::DataStore::BillingEstimation
- (::Google::Cloud::DiscoveryEngine::V1::DataStore::BillingEstimation) — Output only. Data size estimation for billing.
#content_config
def content_config() -> ::Google::Cloud::DiscoveryEngine::V1::DataStore::ContentConfig
- (::Google::Cloud::DiscoveryEngine::V1::DataStore::ContentConfig) — Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.
#content_config=
def content_config=(value) -> ::Google::Cloud::DiscoveryEngine::V1::DataStore::ContentConfig
- value (::Google::Cloud::DiscoveryEngine::V1::DataStore::ContentConfig) — 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) — Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. Timestamp the DataStore was created at.
#default_schema_id
def default_schema_id() -> ::String
- (::String) — Output only. The id of the default Schema associated to this data store.
#display_name
def display_name() -> ::String
-
(::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.
#display_name=
def display_name=(value) -> ::String
-
value (::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.
-
(::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.
#document_processing_config
def document_processing_config() -> ::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig
- (::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig) — Configuration for Document understanding and enrichment.
#document_processing_config=
def document_processing_config=(value) -> ::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig
- value (::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig) — Configuration for Document understanding and enrichment.
- (::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig) — Configuration for Document understanding and enrichment.
#industry_vertical
def industry_vertical() -> ::Google::Cloud::DiscoveryEngine::V1::IndustryVertical
- (::Google::Cloud::DiscoveryEngine::V1::IndustryVertical) — Immutable. The industry vertical that the data store registers.
#industry_vertical=
def industry_vertical=(value) -> ::Google::Cloud::DiscoveryEngine::V1::IndustryVertical
- value (::Google::Cloud::DiscoveryEngine::V1::IndustryVertical) — Immutable. The industry vertical that the data store registers.
- (::Google::Cloud::DiscoveryEngine::V1::IndustryVertical) — Immutable. The industry vertical that the data store registers.
#name
def name() -> ::String
-
(::String) — 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.
#name=
def name=(value) -> ::String
-
value (::String) — 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.
-
(::String) — 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.
#solution_types
def solution_types() -> ::Array<::Google::Cloud::DiscoveryEngine::V1::SolutionType>
-
(::Array<::Google::Cloud::DiscoveryEngine::V1::SolutionType>) —
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.
#solution_types=
def solution_types=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1::SolutionType>
-
value (::Array<::Google::Cloud::DiscoveryEngine::V1::SolutionType>) —
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.
-
(::Array<::Google::Cloud::DiscoveryEngine::V1::SolutionType>) —
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.
#starting_schema
def starting_schema() -> ::Google::Cloud::DiscoveryEngine::V1::Schema
-
(::Google::Cloud::DiscoveryEngine::V1::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.
#starting_schema=
def starting_schema=(value) -> ::Google::Cloud::DiscoveryEngine::V1::Schema
-
value (::Google::Cloud::DiscoveryEngine::V1::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.
-
(::Google::Cloud::DiscoveryEngine::V1::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.
#workspace_config
def workspace_config() -> ::Google::Cloud::DiscoveryEngine::V1::WorkspaceConfig
- (::Google::Cloud::DiscoveryEngine::V1::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.
#workspace_config=
def workspace_config=(value) -> ::Google::Cloud::DiscoveryEngine::V1::WorkspaceConfig
- value (::Google::Cloud::DiscoveryEngine::V1::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.
- (::Google::Cloud::DiscoveryEngine::V1::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.