Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployedIndexRef
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployedIndexRef
- 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 DeployedIndex.
Instance Attribute Summary collapse
-
#deployed_index_id ⇒ String
Immutable.
-
#index_endpoint ⇒ String
Immutable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1DeployedIndexRef
constructor
A new instance of GoogleCloudAiplatformV1beta1DeployedIndexRef.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1DeployedIndexRef
Returns a new instance of GoogleCloudAiplatformV1beta1DeployedIndexRef.
4259 4260 4261 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4259 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deployed_index_id ⇒ String
Immutable. The ID of the DeployedIndex in the above IndexEndpoint.
Corresponds to the JSON property deployedIndexId
4252 4253 4254 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4252 def deployed_index_id @deployed_index_id end |
#index_endpoint ⇒ String
Immutable. A resource name of the IndexEndpoint.
Corresponds to the JSON property indexEndpoint
4257 4258 4259 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4257 def index_endpoint @index_endpoint end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4264 4265 4266 4267 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4264 def update!(**args) @deployed_index_id = args[:deployed_index_id] if args.key?(:deployed_index_id) @index_endpoint = args[:index_endpoint] if args.key?(:index_endpoint) end |