Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::TrainCustomModelRequest (v1.1.0)

Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::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::V1::ImportErrorConfig
Returns

#error_config=

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

#gcs_training_input

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

#gcs_training_input=

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

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