Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::TrainCustomModelRequest.
Request message for SearchTuningService.TrainCustomModel method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#data_store
def data_store() -> ::String
Returns
-
(::String) — Required. The resource name of the Data Store, such as
projects/*/locations/global/collections/default_collection/dataStores/default_data_store
. This field is used to identify the data store where to train the models.
#data_store=
def data_store=(value) -> ::String
Parameter
-
value (::String) — Required. The resource name of the Data Store, such as
projects/*/locations/global/collections/default_collection/dataStores/default_data_store
. This field is used to identify the data store where to train the models.
Returns
-
(::String) — Required. The resource name of the Data Store, such as
projects/*/locations/global/collections/default_collection/dataStores/default_data_store
. This field is used to identify the data store where to train the models.
#error_config
def error_config() -> ::Google::Cloud::DiscoveryEngine::V1beta::ImportErrorConfig
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::ImportErrorConfig) — The desired location of errors incurred during the data ingestion and training.
#error_config=
def error_config=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::ImportErrorConfig
Parameter
- value (::Google::Cloud::DiscoveryEngine::V1beta::ImportErrorConfig) — The desired location of errors incurred during the data ingestion and training.
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::ImportErrorConfig) — The desired location of errors incurred during the data ingestion and training.
#gcs_training_input
def gcs_training_input() -> ::Google::Cloud::DiscoveryEngine::V1beta::TrainCustomModelRequest::GcsTrainingInput
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::TrainCustomModelRequest::GcsTrainingInput) — Cloud Storage training input.
#gcs_training_input=
def gcs_training_input=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::TrainCustomModelRequest::GcsTrainingInput
Parameter
- value (::Google::Cloud::DiscoveryEngine::V1beta::TrainCustomModelRequest::GcsTrainingInput) — Cloud Storage training input.
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::TrainCustomModelRequest::GcsTrainingInput) — Cloud Storage training input.
#model_id
def model_id() -> ::String
Returns
- (::String) — If not provided, a UUID will be generated.
#model_id=
def model_id=(value) -> ::String
Parameter
- value (::String) — If not provided, a UUID will be generated.
Returns
- (::String) — If not provided, a UUID will be generated.
#model_type
def model_type() -> ::String
Returns
-
(::String) —
Model to be trained. Supported values are:
- search-tuning: Fine tuning the search system based on data provided.
#model_type=
def model_type=(value) -> ::String
Parameter
-
value (::String) —
Model to be trained. Supported values are:
- search-tuning: Fine tuning the search system based on data provided.
Returns
-
(::String) —
Model to be trained. Supported values are:
- search-tuning: Fine tuning the search system based on data provided.