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.



14909
14910
14911
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14909

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



14901
14902
14903
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14901

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



14907
14908
14909
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14907

def model_garden_source
  @model_garden_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14914
14915
14916
14917
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14914

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