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.



35203
35204
35205
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35203

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)


35195
35196
35197
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35195

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)


35201
35202
35203
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35201

def model
  @model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35208
35209
35210
35211
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35208

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