Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequest
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Request message for SearchTuningService.TrainCustomModel method.
Instance Attribute Summary collapse
-
#error_config ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportErrorConfig
Configuration of destination for Import related errors.
-
#gcs_training_input ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequestGcsTrainingInput
Cloud Storage training data input.
-
#model_id ⇒ String
If not provided, a UUID will be generated.
-
#model_type ⇒ String
Model to be trained.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequest
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequest
Returns a new instance of GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequest.
9999 10000 10001 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9999 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_config ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportErrorConfig
Configuration of destination for Import related errors.
Corresponds to the JSON property errorConfig
9981 9982 9983 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9981 def error_config @error_config end |
#gcs_training_input ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaTrainCustomModelRequestGcsTrainingInput
Cloud Storage training data input.
Corresponds to the JSON property gcsTrainingInput
9986 9987 9988 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9986 def gcs_training_input @gcs_training_input end |
#model_id ⇒ String
If not provided, a UUID will be generated.
Corresponds to the JSON property modelId
9991 9992 9993 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9991 def model_id @model_id 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
9997 9998 9999 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 9997 def model_type @model_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10004 10005 10006 10007 10008 10009 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10004 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_id = args[:model_id] if args.key?(:model_id) @model_type = args[:model_type] if args.key?(:model_type) end |