Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RebaseTunedModelRequest
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RebaseTunedModelRequest
- 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
Request message for GenAiTuningService.RebaseTunedModel.
Instance Attribute Summary collapse
-
#artifact_destination ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination
The Google Cloud Storage location where the output is to be written to.
-
#deploy_to_same_endpoint ⇒ Boolean
(also: #deploy_to_same_endpoint?)
Optional.
-
#tuned_model_ref ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TunedModelRef
TunedModel Reference for legacy model migration.
-
#tuning_job ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TuningJob
Represents a TuningJob that runs with Google owned models.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1RebaseTunedModelRequest
constructor
A new instance of GoogleCloudAiplatformV1RebaseTunedModelRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1RebaseTunedModelRequest
Returns a new instance of GoogleCloudAiplatformV1RebaseTunedModelRequest.
21218 21219 21220 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21218 def initialize(**args) update!(**args) end |
Instance Attribute Details
#artifact_destination ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination
The Google Cloud Storage location where the output is to be written to.
Corresponds to the JSON property artifactDestination
21198 21199 21200 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21198 def artifact_destination @artifact_destination end |
#deploy_to_same_endpoint ⇒ Boolean Also known as: deploy_to_same_endpoint?
Optional. By default, bison to gemini migration will always create new model/
endpoint, but for gemini-1.0 to gemini-1.5 migration, we default deploy to the
same endpoint. See details in this Section.
Corresponds to the JSON property deployToSameEndpoint
21205 21206 21207 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21205 def deploy_to_same_endpoint @deploy_to_same_endpoint end |
#tuned_model_ref ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TunedModelRef
TunedModel Reference for legacy model migration.
Corresponds to the JSON property tunedModelRef
21211 21212 21213 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21211 def tuned_model_ref @tuned_model_ref end |
#tuning_job ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TuningJob
Represents a TuningJob that runs with Google owned models.
Corresponds to the JSON property tuningJob
21216 21217 21218 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21216 def tuning_job @tuning_job end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21223 21224 21225 21226 21227 21228 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 21223 def update!(**args) @artifact_destination = args[:artifact_destination] if args.key?(:artifact_destination) @deploy_to_same_endpoint = args[:deploy_to_same_endpoint] if args.key?(:deploy_to_same_endpoint) @tuned_model_ref = args[:tuned_model_ref] if args.key?(:tuned_model_ref) @tuning_job = args[:tuning_job] if args.key?(:tuning_job) end |