Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class TrainCustomModelRequest.
Request message for SearchTuningService.TrainCustomModel method.
Generated from protobuf message google.cloud.discoveryengine.v1.TrainCustomModelRequest
Namespace
Google \ Cloud \ DiscoveryEngine \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ gcs_training_input
↳ data_store
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.
↳ model_type
string
Model to be trained. Supported values are: * * search-tuning: Fine tuning the search system based on data provided.
↳ error_config
↳ model_id
string
If not provided, a UUID will be generated.
getGcsTrainingInput
Cloud Storage training input.
hasGcsTrainingInput
setGcsTrainingInput
Cloud Storage training input.
$this
getDataStore
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.
string
setDataStore
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.
var
string
$this
getModelType
Model to be trained. Supported values are:
- search-tuning: Fine tuning the search system based on data provided.
string
setModelType
Model to be trained. Supported values are:
- search-tuning: Fine tuning the search system based on data provided.
var
string
$this
getErrorConfig
The desired location of errors incurred during the data ingestion and training.
hasErrorConfig
clearErrorConfig
setErrorConfig
The desired location of errors incurred during the data ingestion and training.
$this
getModelId
If not provided, a UUID will be generated.
string
setModelId
If not provided, a UUID will be generated.
var
string
$this
getTrainingInput
string