Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelOriginalModelInfo

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 original Model if this Model is a copy.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1ModelOriginalModelInfo

Returns a new instance of GoogleCloudAiplatformV1ModelOriginalModelInfo.



16318
16319
16320
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16318

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)


16316
16317
16318
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16316

def model
  @model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16323
16324
16325
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 16323

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