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.



7389
7390
7391
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7389

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

Instance Attribute Details

#checkpoint_idString

Immutable. The ID of the Checkpoint deployed in the DeployedModel. Corresponds to the JSON property checkpointId

Returns:

  • (String)


7377
7378
7379
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7377

def checkpoint_id
  @checkpoint_id
end

#deployed_model_idString

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

Returns:

  • (String)


7382
7383
7384
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7382

def deployed_model_id
  @deployed_model_id
end

#endpointString

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

Returns:

  • (String)


7387
7388
7389
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7387

def endpoint
  @endpoint
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7394
7395
7396
7397
7398
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7394

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