Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::TrainCustomModelRequest (v0.14.1)

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

#error_config=

def error_config=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::ImportErrorConfig
Parameter
Returns

#gcs_training_input

def gcs_training_input() -> ::Google::Cloud::DiscoveryEngine::V1beta::TrainCustomModelRequest::GcsTrainingInput

#gcs_training_input=

def gcs_training_input=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::TrainCustomModelRequest::GcsTrainingInput

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