Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MigrateResourceRequestMigrateMlEngineModelVersionConfig

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

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) ⇒ GoogleCloudAiplatformV1beta1MigrateResourceRequestMigrateMlEngineModelVersionConfig

Returns a new instance of GoogleCloudAiplatformV1beta1MigrateResourceRequestMigrateMlEngineModelVersionConfig.



15198
15199
15200
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15198

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)


15184
15185
15186
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15184

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)


15190
15191
15192
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15190

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)


15196
15197
15198
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15196

def model_version
  @model_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15203
15204
15205
15206
15207
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15203

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