Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::DataStore.
DataStore captures global settings and configs at the DataStore level.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#billing_estimation
def billing_estimation() -> ::Google::Cloud::DiscoveryEngine::V1beta::DataStore::BillingEstimation
- (::Google::Cloud::DiscoveryEngine::V1beta::DataStore::BillingEstimation) — Output only. Data size estimation for billing.
#content_config
def content_config() -> ::Google::Cloud::DiscoveryEngine::V1beta::DataStore::ContentConfig
- (::Google::Cloud::DiscoveryEngine::V1beta::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::V1beta::DataStore::ContentConfig
- value (::Google::Cloud::DiscoveryEngine::V1beta::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::V1beta::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 asscociated 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::V1beta::DocumentProcessingConfig
- (::Google::Cloud::DiscoveryEngine::V1beta::DocumentProcessingConfig) — Configuration for Document understanding and enrichment.
#document_processing_config=
def document_processing_config=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::DocumentProcessingConfig
- value (::Google::Cloud::DiscoveryEngine::V1beta::DocumentProcessingConfig) — Configuration for Document understanding and enrichment.
- (::Google::Cloud::DiscoveryEngine::V1beta::DocumentProcessingConfig) — Configuration for Document understanding and enrichment.
#industry_vertical
def industry_vertical() -> ::Google::Cloud::DiscoveryEngine::V1beta::IndustryVertical
- (::Google::Cloud::DiscoveryEngine::V1beta::IndustryVertical) — Immutable. The industry vertical that the data store registers.
#industry_vertical=
def industry_vertical=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::IndustryVertical
- value (::Google::Cloud::DiscoveryEngine::V1beta::IndustryVertical) — Immutable. The industry vertical that the data store registers.
- (::Google::Cloud::DiscoveryEngine::V1beta::IndustryVertical) — Immutable. The industry vertical that the data store registers.
#language_info
def language_info() -> ::Google::Cloud::DiscoveryEngine::V1beta::LanguageInfo
- (::Google::Cloud::DiscoveryEngine::V1beta::LanguageInfo) — Language info for DataStore.
#language_info=
def language_info=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::LanguageInfo
- value (::Google::Cloud::DiscoveryEngine::V1beta::LanguageInfo) — Language info for DataStore.
- (::Google::Cloud::DiscoveryEngine::V1beta::LanguageInfo) — Language info for DataStore.
#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.
#natural_language_query_understanding_config
def natural_language_query_understanding_config() -> ::Google::Cloud::DiscoveryEngine::V1beta::NaturalLanguageQueryUnderstandingConfig
- (::Google::Cloud::DiscoveryEngine::V1beta::NaturalLanguageQueryUnderstandingConfig) — Optional. Configuration for Natural Language Query Understanding.
#natural_language_query_understanding_config=
def natural_language_query_understanding_config=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::NaturalLanguageQueryUnderstandingConfig
- value (::Google::Cloud::DiscoveryEngine::V1beta::NaturalLanguageQueryUnderstandingConfig) — Optional. Configuration for Natural Language Query Understanding.
- (::Google::Cloud::DiscoveryEngine::V1beta::NaturalLanguageQueryUnderstandingConfig) — Optional. Configuration for Natural Language Query Understanding.
#serving_config_data_store
def serving_config_data_store() -> ::Google::Cloud::DiscoveryEngine::V1beta::DataStore::ServingConfigDataStore
- (::Google::Cloud::DiscoveryEngine::V1beta::DataStore::ServingConfigDataStore) — Optional. Stores serving config at DataStore level.
#serving_config_data_store=
def serving_config_data_store=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::DataStore::ServingConfigDataStore
- value (::Google::Cloud::DiscoveryEngine::V1beta::DataStore::ServingConfigDataStore) — Optional. Stores serving config at DataStore level.
- (::Google::Cloud::DiscoveryEngine::V1beta::DataStore::ServingConfigDataStore) — Optional. Stores serving config at DataStore level.
#solution_types
def solution_types() -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::SolutionType>
-
(::Array<::Google::Cloud::DiscoveryEngine::V1beta::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::V1beta::SolutionType>
-
value (::Array<::Google::Cloud::DiscoveryEngine::V1beta::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::V1beta::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::V1beta::Schema
-
(::Google::Cloud::DiscoveryEngine::V1beta::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::V1beta::Schema
-
value (::Google::Cloud::DiscoveryEngine::V1beta::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::V1beta::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::V1beta::WorkspaceConfig
- (::Google::Cloud::DiscoveryEngine::V1beta::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::V1beta::WorkspaceConfig
- value (::Google::Cloud::DiscoveryEngine::V1beta::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::V1beta::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.