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.



14488
14489
14490
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14488

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)


14486
14487
14488
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14486

def model
  @model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14493
14494
14495
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14493

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