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.



13079
13080
13081
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13079

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)


13071
13072
13073
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13071

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)


13077
13078
13079
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13077

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13084
13085
13086
13087
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13084

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