Class: Google::Cloud::DiscoveryEngine::V1beta::CustomTuningModel
- Inherits:
-
Object
- Object
- Google::Cloud::DiscoveryEngine::V1beta::CustomTuningModel
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/discoveryengine/v1beta/custom_tuning_model.rb
Overview
Metadata that describes a custom tuned model.
Defined Under Namespace
Modules: ModelState
Instance Attribute Summary collapse
-
#create_time ⇒ ::Google::Protobuf::Timestamp
Timestamp the Model was created at.
-
#display_name ⇒ ::String
The display name of the model.
-
#model_state ⇒ ::Google::Cloud::DiscoveryEngine::V1beta::CustomTuningModel::ModelState
The state that the model is in (e.g.
TRAININGorTRAINING_FAILED). -
#model_version ⇒ ::Integer
The version of the model.
-
#name ⇒ ::String
Required.
-
#training_start_time ⇒ ::Google::Protobuf::Timestamp
Timestamp the model training was initiated.
Instance Attribute Details
#create_time ⇒ ::Google::Protobuf::Timestamp
Returns Timestamp the Model was created at.
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'proto_docs/google/cloud/discoveryengine/v1beta/custom_tuning_model.rb', line 47 class CustomTuningModel include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The state of the model. module ModelState # Default value. MODEL_STATE_UNSPECIFIED = 0 # The model is in a paused training state. TRAINING_PAUSED = 1 # The model is currently training. TRAINING = 2 # The model has successfully completed training. TRAINING_COMPLETE = 3 # The model is ready for serving. READY_FOR_SERVING = 4 # The model training failed. TRAINING_FAILED = 5 end end |
#display_name ⇒ ::String
Returns The display name of the model.
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'proto_docs/google/cloud/discoveryengine/v1beta/custom_tuning_model.rb', line 47 class CustomTuningModel include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The state of the model. module ModelState # Default value. MODEL_STATE_UNSPECIFIED = 0 # The model is in a paused training state. TRAINING_PAUSED = 1 # The model is currently training. TRAINING = 2 # The model has successfully completed training. TRAINING_COMPLETE = 3 # The model is ready for serving. READY_FOR_SERVING = 4 # The model training failed. TRAINING_FAILED = 5 end end |
#model_state ⇒ ::Google::Cloud::DiscoveryEngine::V1beta::CustomTuningModel::ModelState
Returns The state that the model is in (e.g.TRAINING or TRAINING_FAILED).
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'proto_docs/google/cloud/discoveryengine/v1beta/custom_tuning_model.rb', line 47 class CustomTuningModel include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The state of the model. module ModelState # Default value. MODEL_STATE_UNSPECIFIED = 0 # The model is in a paused training state. TRAINING_PAUSED = 1 # The model is currently training. TRAINING = 2 # The model has successfully completed training. TRAINING_COMPLETE = 3 # The model is ready for serving. READY_FOR_SERVING = 4 # The model training failed. TRAINING_FAILED = 5 end end |
#model_version ⇒ ::Integer
Returns The version of the model.
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'proto_docs/google/cloud/discoveryengine/v1beta/custom_tuning_model.rb', line 47 class CustomTuningModel include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The state of the model. module ModelState # Default value. MODEL_STATE_UNSPECIFIED = 0 # The model is in a paused training state. TRAINING_PAUSED = 1 # The model is currently training. TRAINING = 2 # The model has successfully completed training. TRAINING_COMPLETE = 3 # The model is ready for serving. READY_FOR_SERVING = 4 # The model training failed. TRAINING_FAILED = 5 end end |
#name ⇒ ::String
Returns Required. The fully qualified resource name of the model.
Format:
projects/{project_number}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}
model must be an alpha-numerical string with limit of 40 characters.
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'proto_docs/google/cloud/discoveryengine/v1beta/custom_tuning_model.rb', line 47 class CustomTuningModel include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The state of the model. module ModelState # Default value. MODEL_STATE_UNSPECIFIED = 0 # The model is in a paused training state. TRAINING_PAUSED = 1 # The model is currently training. TRAINING = 2 # The model has successfully completed training. TRAINING_COMPLETE = 3 # The model is ready for serving. READY_FOR_SERVING = 4 # The model training failed. TRAINING_FAILED = 5 end end |
#training_start_time ⇒ ::Google::Protobuf::Timestamp
Returns Timestamp the model training was initiated.
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'proto_docs/google/cloud/discoveryengine/v1beta/custom_tuning_model.rb', line 47 class CustomTuningModel include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The state of the model. module ModelState # Default value. MODEL_STATE_UNSPECIFIED = 0 # The model is in a paused training state. TRAINING_PAUSED = 1 # The model is currently training. TRAINING = 2 # The model has successfully completed training. TRAINING_COMPLETE = 3 # The model is ready for serving. READY_FOR_SERVING = 4 # The model training failed. TRAINING_FAILED = 5 end end |