Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MigratableResourceMlEngineModelVersion

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

Represents one model Version in ml.googleapis.com.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1MigratableResourceMlEngineModelVersion

Returns a new instance of GoogleCloudAiplatformV1MigratableResourceMlEngineModelVersion.



12350
12351
12352
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 12350

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

Instance Attribute Details

#endpointString

The ml.googleapis.com endpoint that this model Version currently lives in. 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)


12342
12343
12344
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 12342

def endpoint
  @endpoint
end

#versionString

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

Returns:

  • (String)


12348
12349
12350
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 12348

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12355
12356
12357
12358
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 12355

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