Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployedModelRef
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployedModelRef
- 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
-
#deployed_model_id ⇒ String
Immutable.
-
#endpoint ⇒ String
Immutable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1DeployedModelRef
constructor
A new instance of GoogleCloudAiplatformV1DeployedModelRef.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1DeployedModelRef
Returns a new instance of GoogleCloudAiplatformV1DeployedModelRef.
6136 6137 6138 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6136 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deployed_model_id ⇒ String
Immutable. An ID of a DeployedModel in the above Endpoint.
Corresponds to the JSON property deployedModelId
6129 6130 6131 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6129 def deployed_model_id @deployed_model_id end |
#endpoint ⇒ String
Immutable. A resource name of an Endpoint.
Corresponds to the JSON property endpoint
6134 6135 6136 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6134 def endpoint @endpoint end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6141 6142 6143 6144 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6141 def update!(**args) @deployed_model_id = args[:deployed_model_id] if args.key?(:deployed_model_id) @endpoint = args[:endpoint] if args.key?(:endpoint) end |