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
#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.
#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.
#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::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.