Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TunedModelRef
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TunedModelRef
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
TunedModel Reference for legacy model migration.
Instance Attribute Summary collapse
-
#pipeline_job ⇒ String
Support migration from tuning job list page, from bison model to gemini model.
-
#tuned_model ⇒ String
Support migration from model registry.
-
#tuning_job ⇒ String
Support migration from tuning job list page, from gemini-1.0-pro-002 to 1.5 and above.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1TunedModelRef
constructor
A new instance of GoogleCloudAiplatformV1TunedModelRef.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1TunedModelRef
Returns a new instance of GoogleCloudAiplatformV1TunedModelRef.
33255 33256 33257 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 33255 def initialize(**args) update!(**args) end |
Instance Attribute Details
#pipeline_job ⇒ String
Support migration from tuning job list page, from bison model to gemini model.
Corresponds to the JSON property pipelineJob
33242 33243 33244 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 33242 def pipeline_job @pipeline_job end |
#tuned_model ⇒ String
Support migration from model registry.
Corresponds to the JSON property tunedModel
33247 33248 33249 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 33247 def tuned_model @tuned_model end |
#tuning_job ⇒ String
Support migration from tuning job list page, from gemini-1.0-pro-002 to 1.5
and above.
Corresponds to the JSON property tuningJob
33253 33254 33255 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 33253 def tuning_job @tuning_job end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
33260 33261 33262 33263 33264 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 33260 def update!(**args) @pipeline_job = args[:pipeline_job] if args.key?(:pipeline_job) @tuned_model = args[:tuned_model] if args.key?(:tuned_model) @tuning_job = args[:tuning_job] if args.key?(:tuning_job) end |