Class: Google::Cloud::DiscoveryEngine::V1::DataStore
- Inherits:
-
Object
- Object
- Google::Cloud::DiscoveryEngine::V1::DataStore
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/discoveryengine/v1/data_store.rb
Overview
DataStore captures global settings and configs at the DataStore level.
Defined Under Namespace
Modules: ContentConfig
Instance Attribute Summary collapse
-
#content_config ⇒ ::Google::Cloud::DiscoveryEngine::V1::DataStore::ContentConfig
Immutable.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#default_schema_id ⇒ ::String
readonly
Output only.
-
#display_name ⇒ ::String
Required.
-
#industry_vertical ⇒ ::Google::Cloud::DiscoveryEngine::V1::IndustryVertical
Immutable.
-
#name ⇒ ::String
Immutable.
-
#solution_types ⇒ ::Array<::Google::Cloud::DiscoveryEngine::V1::SolutionType>
The solutions that the data store enrolls.
Instance Attribute Details
#content_config ⇒ ::Google::Cloud::DiscoveryEngine::V1::DataStore::ContentConfig
Returns Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'proto_docs/google/cloud/discoveryengine/v1/data_store.rb', line 64 class DataStore include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Content config of the data store. module ContentConfig # Default value. CONTENT_CONFIG_UNSPECIFIED = 0 # Only contains documents without any # {::Google::Cloud::DiscoveryEngine::V1::Document#content Document.content}. NO_CONTENT = 1 # Only contains documents with # {::Google::Cloud::DiscoveryEngine::V1::Document#content Document.content}. CONTENT_REQUIRED = 2 # The data store is used for public website search. PUBLIC_WEBSITE = 3 end end |
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Timestamp the DataStore was created at.
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'proto_docs/google/cloud/discoveryengine/v1/data_store.rb', line 64 class DataStore include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Content config of the data store. module ContentConfig # Default value. CONTENT_CONFIG_UNSPECIFIED = 0 # Only contains documents without any # {::Google::Cloud::DiscoveryEngine::V1::Document#content Document.content}. NO_CONTENT = 1 # Only contains documents with # {::Google::Cloud::DiscoveryEngine::V1::Document#content Document.content}. CONTENT_REQUIRED = 2 # The data store is used for public website search. PUBLIC_WEBSITE = 3 end end |
#default_schema_id ⇒ ::String (readonly)
Returns Output only. The id of the default Schema asscociated to this data store.
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'proto_docs/google/cloud/discoveryengine/v1/data_store.rb', line 64 class DataStore include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Content config of the data store. module ContentConfig # Default value. CONTENT_CONFIG_UNSPECIFIED = 0 # Only contains documents without any # {::Google::Cloud::DiscoveryEngine::V1::Document#content Document.content}. NO_CONTENT = 1 # Only contains documents with # {::Google::Cloud::DiscoveryEngine::V1::Document#content Document.content}. CONTENT_REQUIRED = 2 # The data store is used for public website search. PUBLIC_WEBSITE = 3 end end |
#display_name ⇒ ::String
Returns 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.
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'proto_docs/google/cloud/discoveryengine/v1/data_store.rb', line 64 class DataStore include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Content config of the data store. module ContentConfig # Default value. CONTENT_CONFIG_UNSPECIFIED = 0 # Only contains documents without any # {::Google::Cloud::DiscoveryEngine::V1::Document#content Document.content}. NO_CONTENT = 1 # Only contains documents with # {::Google::Cloud::DiscoveryEngine::V1::Document#content Document.content}. CONTENT_REQUIRED = 2 # The data store is used for public website search. PUBLIC_WEBSITE = 3 end end |
#industry_vertical ⇒ ::Google::Cloud::DiscoveryEngine::V1::IndustryVertical
Returns Immutable. The industry vertical that the data store registers.
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'proto_docs/google/cloud/discoveryengine/v1/data_store.rb', line 64 class DataStore include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Content config of the data store. module ContentConfig # Default value. CONTENT_CONFIG_UNSPECIFIED = 0 # Only contains documents without any # {::Google::Cloud::DiscoveryEngine::V1::Document#content Document.content}. NO_CONTENT = 1 # Only contains documents with # {::Google::Cloud::DiscoveryEngine::V1::Document#content Document.content}. CONTENT_REQUIRED = 2 # The data store is used for public website search. PUBLIC_WEBSITE = 3 end end |
#name ⇒ ::String
Returns 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.
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'proto_docs/google/cloud/discoveryengine/v1/data_store.rb', line 64 class DataStore include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Content config of the data store. module ContentConfig # Default value. CONTENT_CONFIG_UNSPECIFIED = 0 # Only contains documents without any # {::Google::Cloud::DiscoveryEngine::V1::Document#content Document.content}. NO_CONTENT = 1 # Only contains documents with # {::Google::Cloud::DiscoveryEngine::V1::Document#content Document.content}. CONTENT_REQUIRED = 2 # The data store is used for public website search. PUBLIC_WEBSITE = 3 end end |
#solution_types ⇒ ::Array<::Google::Cloud::DiscoveryEngine::V1::SolutionType>
Returns 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.
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'proto_docs/google/cloud/discoveryengine/v1/data_store.rb', line 64 class DataStore include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Content config of the data store. module ContentConfig # Default value. CONTENT_CONFIG_UNSPECIFIED = 0 # Only contains documents without any # {::Google::Cloud::DiscoveryEngine::V1::Document#content Document.content}. NO_CONTENT = 1 # Only contains documents with # {::Google::Cloud::DiscoveryEngine::V1::Document#content Document.content}. CONTENT_REQUIRED = 2 # The data store is used for public website search. PUBLIC_WEBSITE = 3 end end |