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.



14379
14380
14381
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14379

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)


14371
14372
14373
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14371

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)


14377
14378
14379
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14377

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14384
14385
14386
14387
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 14384

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