Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelBaseModelSource

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1ModelBaseModelSource

Returns a new instance of GoogleCloudAiplatformV1ModelBaseModelSource.



14177
14178
14179
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14177

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#genie_sourceGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1GenieSource

Contains information about the source of the models generated from Generative AI Studio. Corresponds to the JSON property genieSource



14169
14170
14171
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14169

def genie_source
  @genie_source
end

#model_garden_sourceGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelGardenSource

Contains information about the source of the models generated from Model Garden. Corresponds to the JSON property modelGardenSource



14175
14176
14177
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14175

def model_garden_source
  @model_garden_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14182
14183
14184
14185
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14182

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