Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MigratableResourceAutomlModel

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 in automl.googleapis.com.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1MigratableResourceAutomlModel

Returns a new instance of GoogleCloudAiplatformV1beta1MigratableResourceAutomlModel.



14927
14928
14929
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14927

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

Instance Attribute Details

#modelString

Full resource name of automl Model. Format: projects/project/locations/ location/models/model`. Corresponds to the JSON propertymodel`

Returns:

  • (String)


14920
14921
14922
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14920

def model
  @model
end

#model_display_nameString

The Model's display name in automl.googleapis.com. Corresponds to the JSON property modelDisplayName

Returns:

  • (String)


14925
14926
14927
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14925

def model_display_name
  @model_display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14932
14933
14934
14935
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 14932

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