Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployedIndexRef

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1DeployedIndexRef

Returns a new instance of GoogleCloudAiplatformV1beta1DeployedIndexRef.



5367
5368
5369
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5367

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)


5355
5356
5357
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5355

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)


5360
5361
5362
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5360

def display_name
  @display_name
end

#index_endpointString

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

Returns:

  • (String)


5365
5366
5367
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5365

def index_endpoint
  @index_endpoint
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5372
5373
5374
5375
5376
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5372

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