Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MigrateResourceRequestMigrateAutomlModelConfig

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

Config for migrating Model in automl.googleapis.com to Vertex AI's Model.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1MigrateResourceRequestMigrateAutomlModelConfig

Returns a new instance of GoogleCloudAiplatformV1MigrateResourceRequestMigrateAutomlModelConfig.



14472
14473
14474
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14472

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

Instance Attribute Details

#modelString

Required. Full resource name of automl Model. Format: projects/project/ locations/location/models/model`. Corresponds to the JSON propertymodel`

Returns:

  • (String)


14464
14465
14466
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14464

def model
  @model
end

#model_display_nameString

Optional. Display name of the model in Vertex AI. System will pick a display name if unspecified. Corresponds to the JSON property modelDisplayName

Returns:

  • (String)


14470
14471
14472
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14470

def model_display_name
  @model_display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14477
14478
14479
14480
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14477

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