Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MigratableResourceMlEngineModelVersion

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

Represents one model Version in ml.googleapis.com.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1MigratableResourceMlEngineModelVersion

Returns a new instance of GoogleCloudAiplatformV1beta1MigratableResourceMlEngineModelVersion.



15014
15015
15016
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15014

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)


15006
15007
15008
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15006

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)


15012
15013
15014
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15012

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15019
15020
15021
15022
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 15019

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