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.



4036
4037
4038
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 4036

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)


4029
4030
4031
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 4029

def deployed_index_id
  @deployed_index_id
end

#index_endpointString

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

Returns:

  • (String)


4034
4035
4036
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 4034

def index_endpoint
  @index_endpoint
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4041
4042
4043
4044
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 4041

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