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.



33224
33225
33226
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 33224

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)


33216
33217
33218
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 33216

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)


33222
33223
33224
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 33222

def model
  @model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



33229
33230
33231
33232
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 33229

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