Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelBaseModelSource
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelBaseModelSource
- 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
User input field to specify the base model source. Currently it only supports specifing the Model Garden models and Genie models.
Instance Attribute Summary collapse
-
#genie_source ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenieSource
Contains information about the source of the models generated from Generative AI Studio.
-
#model_garden_source ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelGardenSource
Contains information about the source of the models generated from Model Garden.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1ModelBaseModelSource
constructor
A new instance of GoogleCloudAiplatformV1ModelBaseModelSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1ModelBaseModelSource
Returns a new instance of GoogleCloudAiplatformV1ModelBaseModelSource.
14461 14462 14463 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14461 def initialize(**args) update!(**args) end |
Instance Attribute Details
#genie_source ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenieSource
Contains information about the source of the models generated from Generative
AI Studio.
Corresponds to the JSON property genieSource
14453 14454 14455 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14453 def genie_source @genie_source end |
#model_garden_source ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelGardenSource
Contains information about the source of the models generated from Model
Garden.
Corresponds to the JSON property modelGardenSource
14459 14460 14461 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14459 def model_garden_source @model_garden_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14466 14467 14468 14469 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14466 def update!(**args) @genie_source = args[:genie_source] if args.key?(:genie_source) @model_garden_source = args[:model_garden_source] if args.key?(:model_garden_source) end |