Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployedIndexRef

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1DeployedIndexRef

Returns a new instance of GoogleCloudAiplatformV1DeployedIndexRef.



5651
5652
5653
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5651

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#deployed_index_idString

Immutable. The ID of the DeployedIndex in the above IndexEndpoint. Corresponds to the JSON property deployedIndexId

Returns:

  • (String)


5639
5640
5641
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5639

def deployed_index_id
  @deployed_index_id
end

#display_nameString

Output only. The display name of the DeployedIndex. Corresponds to the JSON property displayName

Returns:

  • (String)


5644
5645
5646
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5644

def display_name
  @display_name
end

#index_endpointString

Immutable. A resource name of the IndexEndpoint. Corresponds to the JSON property indexEndpoint

Returns:

  • (String)


5649
5650
5651
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5649

def index_endpoint
  @index_endpoint
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5656
5657
5658
5659
5660
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5656

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