public sealed class TrainCustomModelRequest : IMessage<TrainCustomModelRequest>, IEquatable<TrainCustomModelRequest>, IDeepCloneable<TrainCustomModelRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class TrainCustomModelRequest.
Request message for [SearchTuningService.TrainCustomModel][google.cloud.discoveryengine.v1.SearchTuningService.TrainCustomModel] method.
Implements
IMessageTrainCustomModelRequest, IEquatableTrainCustomModelRequest, IDeepCloneableTrainCustomModelRequest, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Constructors
TrainCustomModelRequest()
public TrainCustomModelRequest()
TrainCustomModelRequest(TrainCustomModelRequest)
public TrainCustomModelRequest(TrainCustomModelRequest other)
Parameter | |
---|---|
Name | Description |
other |
TrainCustomModelRequest |
Properties
DataStore
public string DataStore { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
DataStoreAsDataStoreName
public DataStoreName DataStoreAsDataStoreName { get; set; }
DataStoreName-typed view over the DataStore resource name property.
Property Value | |
---|---|
Type | Description |
DataStoreName |
ErrorConfig
public ImportErrorConfig ErrorConfig { get; set; }
The desired location of errors incurred during the data ingestion and training.
Property Value | |
---|---|
Type | Description |
ImportErrorConfig |
GcsTrainingInput
public TrainCustomModelRequest.Types.GcsTrainingInput GcsTrainingInput { get; set; }
Cloud Storage training input.
Property Value | |
---|---|
Type | Description |
TrainCustomModelRequestTypesGcsTrainingInput |
ModelId
public string ModelId { get; set; }
If not provided, a UUID will be generated.
Property Value | |
---|---|
Type | Description |
string |
ModelType
public string ModelType { get; set; }
Model to be trained. Supported values are:
- search-tuning: Fine tuning the search system based on data provided.
Property Value | |
---|---|
Type | Description |
string |
TrainingInputCase
public TrainCustomModelRequest.TrainingInputOneofCase TrainingInputCase { get; }
Property Value | |
---|---|
Type | Description |
TrainCustomModelRequestTrainingInputOneofCase |