Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TunedModel

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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1TunedModel

Returns a new instance of GoogleCloudAiplatformV1beta1TunedModel.



35319
35320
35321
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35319

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)


35311
35312
35313
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35311

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)


35317
35318
35319
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35317

def model
  @model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35324
35325
35326
35327
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35324

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