Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SearchNearestEntitiesResponse

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

Response message for FeatureOnlineStoreService.SearchNearestEntities

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SearchNearestEntitiesResponse

Returns a new instance of GoogleCloudAiplatformV1beta1SearchNearestEntitiesResponse.



29666
29667
29668
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 29666

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

Instance Attribute Details

#nearest_neighborsGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NearestNeighbors

Nearest neighbors for one query. Corresponds to the JSON property nearestNeighbors



29664
29665
29666
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 29664

def nearest_neighbors
  @nearest_neighbors
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29671
29672
29673
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 29671

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