Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SearchNearestEntitiesResponse

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

Response message for FeatureOnlineStoreService.SearchNearestEntities

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1SearchNearestEntitiesResponse

Returns a new instance of GoogleCloudAiplatformV1SearchNearestEntitiesResponse.



27983
27984
27985
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 27983

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

Instance Attribute Details

#nearest_neighborsGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1NearestNeighbors

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



27981
27982
27983
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 27981

def nearest_neighbors
  @nearest_neighbors
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



27988
27989
27990
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 27988

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