Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TunedModel

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

The Model Registry Model and Online Prediction Endpoint assiociated with this TuningJob.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1TunedModel

Returns a new instance of GoogleCloudAiplatformV1TunedModel.



28149
28150
28151
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28149

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

Instance Attribute Details

#endpointString

Output only. A resource name of an Endpoint. Format: projects/project/ locations/location/endpoints/endpoint`. Corresponds to the JSON propertyendpoint`

Returns:

  • (String)


28141
28142
28143
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28141

def endpoint
  @endpoint
end

#modelString

Output only. The resource name of the TunedModel. Format: projects/project/ locations/location/models/model`. Corresponds to the JSON propertymodel`

Returns:

  • (String)


28147
28148
28149
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28147

def model
  @model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28154
28155
28156
28157
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28154

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