Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelGardenSource

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

Contains information about the source of the models generated from Model Garden.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1ModelGardenSource

Returns a new instance of GoogleCloudAiplatformV1ModelGardenSource.



15188
15189
15190
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15188

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

Instance Attribute Details

#public_model_nameString

Required. The model garden source model resource name. Corresponds to the JSON property publicModelName

Returns:

  • (String)


15186
15187
15188
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15186

def public_model_name
  @public_model_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15193
15194
15195
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15193

def update!(**args)
  @public_model_name = args[:public_model_name] if args.key?(:public_model_name)
end