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.



13831
13832
13833
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13831

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)


13817
13818
13819
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13817

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)


13823
13824
13825
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13823

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)


13829
13830
13831
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13829

def model_version
  @model_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13836
13837
13838
13839
13840
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13836

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