Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelBaseModelSource
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelBaseModelSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/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::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenieSource
Contains information about the source of the models generated from Generative AI Studio.
-
#model_garden_source ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelGardenSource
Contains information about the source of the models generated from Model Garden.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelBaseModelSource
constructor
A new instance of GoogleCloudAiplatformV1beta1ModelBaseModelSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelBaseModelSource
Returns a new instance of GoogleCloudAiplatformV1beta1ModelBaseModelSource.
15532 15533 15534 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15532 def initialize(**args) update!(**args) end |
Instance Attribute Details
#genie_source ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenieSource
Contains information about the source of the models generated from Generative
AI Studio.
Corresponds to the JSON property genieSource
15524 15525 15526 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15524 def genie_source @genie_source end |
#model_garden_source ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelGardenSource
Contains information about the source of the models generated from Model
Garden.
Corresponds to the JSON property modelGardenSource
15530 15531 15532 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15530 def model_garden_source @model_garden_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15537 15538 15539 15540 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15537 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 |