Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployedIndexRef
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployedIndexRef
- 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 DeployedIndex.
Instance Attribute Summary collapse
-
#deployed_index_id ⇒ String
Immutable.
-
#display_name ⇒ String
Output only.
-
#index_endpoint ⇒ String
Immutable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1DeployedIndexRef
constructor
A new instance of GoogleCloudAiplatformV1DeployedIndexRef.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1DeployedIndexRef
Returns a new instance of GoogleCloudAiplatformV1DeployedIndexRef.
5348 5349 5350 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5348 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
5336 5337 5338 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5336 def deployed_index_id @deployed_index_id end |
#display_name ⇒ String
Output only. The display name of the DeployedIndex.
Corresponds to the JSON property displayName
5341 5342 5343 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5341 def display_name @display_name end |
#index_endpoint ⇒ String
Immutable. A resource name of the IndexEndpoint.
Corresponds to the JSON property indexEndpoint
5346 5347 5348 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5346 def index_endpoint @index_endpoint end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5353 5354 5355 5356 5357 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5353 def update!(**args) @deployed_index_id = args[:deployed_index_id] if args.key?(:deployed_index_id) @display_name = args[:display_name] if args.key?(:display_name) @index_endpoint = args[:index_endpoint] if args.key?(:index_endpoint) end |