Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployedModelRef

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

Points to a DeployedModel.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1DeployedModelRef

Returns a new instance of GoogleCloudAiplatformV1beta1DeployedModelRef.



4411
4412
4413
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4411

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)


4404
4405
4406
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4404

def deployed_model_id
  @deployed_model_id
end

#endpointString

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

Returns:

  • (String)


4409
4410
4411
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4409

def endpoint
  @endpoint
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4416
4417
4418
4419
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4416

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