Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelOriginalModelInfo

Inherits:
Object
  • Object
show all
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 original Model if this Model is a copy.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelOriginalModelInfo

Returns a new instance of GoogleCloudAiplatformV1beta1ModelOriginalModelInfo.



18121
18122
18123
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18121

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

Instance Attribute Details

#modelString

Output only. The resource name of the Model this Model is a copy of, including the revision. Format: projects/project/locations/location/models/ model_id@version_id` Corresponds to the JSON propertymodel`

Returns:

  • (String)


18119
18120
18121
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18119

def model
  @model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18126
18127
18128
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18126

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