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.



13647
13648
13649
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13647

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)


13639
13640
13641
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13639

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)


13645
13646
13647
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13645

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13652
13653
13654
13655
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13652

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