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.
15503 15504 15505 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15503 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
15495 15496 15497 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15495 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
15501 15502 15503 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15501 def model_garden_source @model_garden_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15508 15509 15510 15511 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15508 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 |