Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FindNeighborsResponse

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

The response message for MatchService.FindNeighbors.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1FindNeighborsResponse

Returns a new instance of GoogleCloudAiplatformV1beta1FindNeighborsResponse.



12420
12421
12422
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12420

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

Instance Attribute Details

#nearest_neighborsArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FindNeighborsResponseNearestNeighbors>

The nearest neighbors of the query datapoints. Corresponds to the JSON property nearestNeighbors



12418
12419
12420
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12418

def nearest_neighbors
  @nearest_neighbors
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12425
12426
12427
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12425

def update!(**args)
  @nearest_neighbors = args[:nearest_neighbors] if args.key?(:nearest_neighbors)
end