Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployedModelRef

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

Points to a DeployedModel.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1DeployedModelRef

Returns a new instance of GoogleCloudAiplatformV1DeployedModelRef.



5347
5348
5349
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5347

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

Instance Attribute Details

#deployed_model_idString

Immutable. An ID of a DeployedModel in the above Endpoint. Corresponds to the JSON property deployedModelId

Returns:

  • (String)


5340
5341
5342
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5340

def deployed_model_id
  @deployed_model_id
end

#endpointString

Immutable. A resource name of an Endpoint. Corresponds to the JSON property endpoint

Returns:

  • (String)


5345
5346
5347
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5345

def endpoint
  @endpoint
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5352
5353
5354
5355
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5352

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