Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployedModelRef
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployedModelRef
- 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
-
#checkpoint_id ⇒ String
Immutable.
-
#deployed_model_id ⇒ String
Immutable.
-
#endpoint ⇒ String
Immutable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1DeployedModelRef
constructor
A new instance of GoogleCloudAiplatformV1beta1DeployedModelRef.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1DeployedModelRef
Returns a new instance of GoogleCloudAiplatformV1beta1DeployedModelRef.
8929 8930 8931 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8929 def initialize(**args) update!(**args) end |
Instance Attribute Details
#checkpoint_id ⇒ String
Immutable. The ID of the Checkpoint deployed in the DeployedModel.
Corresponds to the JSON property checkpointId
8917 8918 8919 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8917 def checkpoint_id @checkpoint_id end |
#deployed_model_id ⇒ String
Immutable. An ID of a DeployedModel in the above Endpoint.
Corresponds to the JSON property deployedModelId
8922 8923 8924 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8922 def deployed_model_id @deployed_model_id end |
#endpoint ⇒ String
Immutable. A resource name of an Endpoint.
Corresponds to the JSON property endpoint
8927 8928 8929 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8927 def endpoint @endpoint end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8934 8935 8936 8937 8938 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8934 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 |