Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
Request message for SearchTuningService.TrainCustomModel method.
Instance Attribute Summary collapse
-
#error_config ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaImportErrorConfig
Configuration of destination for Import related errors.
-
#gcs_training_input ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaTrainCustomModelRequestGcsTrainingInput
Cloud Storage training data input.
-
#model_type ⇒ String
Model to be trained.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest
constructor
A new instance of GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest
Returns a new instance of GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest.
9081 9082 9083 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9081 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_config ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaImportErrorConfig
Configuration of destination for Import related errors.
Corresponds to the JSON property errorConfig
9068 9069 9070 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9068 def error_config @error_config end |
#gcs_training_input ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaTrainCustomModelRequestGcsTrainingInput
Cloud Storage training data input.
Corresponds to the JSON property gcsTrainingInput
9073 9074 9075 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9073 def gcs_training_input @gcs_training_input end |
#model_type ⇒ String
Model to be trained. Supported values are: * search-tuning: Fine tuning
the search system based on data provided.
Corresponds to the JSON property modelType
9079 9080 9081 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9079 def model_type @model_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9086 9087 9088 9089 9090 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9086 def update!(**args) @error_config = args[:error_config] if args.key?(:error_config) @gcs_training_input = args[:gcs_training_input] if args.key?(:gcs_training_input) @model_type = args[:model_type] if args.key?(:model_type) end |