Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MigrateResourceRequestMigrateMlEngineModelVersionConfig

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 version in ml.googleapis.com to Vertex AI's Model.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1MigrateResourceRequestMigrateMlEngineModelVersionConfig

Returns a new instance of GoogleCloudAiplatformV1MigrateResourceRequestMigrateMlEngineModelVersionConfig.



14563
14564
14565
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14563

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

Instance Attribute Details

#endpointString

Required. The ml.googleapis.com endpoint that this model version should be migrated from. Example values: * ml.googleapis.com * us-centrall-ml.googleapis. com * europe-west4-ml.googleapis.com * asia-east1-ml.googleapis.com Corresponds to the JSON property endpoint

Returns:

  • (String)


14549
14550
14551
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14549

def endpoint
  @endpoint
end

#model_display_nameString

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

Returns:

  • (String)


14555
14556
14557
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14555

def model_display_name
  @model_display_name
end

#model_versionString

Required. Full resource name of ml engine model version. Format: projects/ project/models/model/versions/version`. Corresponds to the JSON propertymodelVersion`

Returns:

  • (String)


14561
14562
14563
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14561

def model_version
  @model_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14568
14569
14570
14571
14572
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14568

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