Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelGardenSource
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelGardenSource
- 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
Contains information about the source of the models generated from Model Garden.
Instance Attribute Summary collapse
-
#public_model_name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelGardenSource
constructor
A new instance of GoogleCloudAiplatformV1beta1ModelGardenSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelGardenSource
Returns a new instance of GoogleCloudAiplatformV1beta1ModelGardenSource.
16498 16499 16500 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16498 def initialize(**args) update!(**args) end |
Instance Attribute Details
#public_model_name ⇒ String
Required. The model garden source model resource name.
Corresponds to the JSON property publicModelName
16496 16497 16498 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16496 def public_model_name @public_model_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16503 16504 16505 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16503 def update!(**args) @public_model_name = args[:public_model_name] if args.key?(:public_model_name) end |