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.



36359
36360
36361
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 36359

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)


36351
36352
36353
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 36351

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)


36357
36358
36359
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 36357

def model
  @model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



36364
36365
36366
36367
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 36364

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