Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::SearchNearestEntitiesResponse.
Response message for FeatureOnlineStoreService.SearchNearestEntities
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#nearest_neighbors
def nearest_neighbors() -> ::Google::Cloud::AIPlatform::V1::NearestNeighbors
Returns
- (::Google::Cloud::AIPlatform::V1::NearestNeighbors) — The nearest neighbors of the query entity.
#nearest_neighbors=
def nearest_neighbors=(value) -> ::Google::Cloud::AIPlatform::V1::NearestNeighbors
Parameter
- value (::Google::Cloud::AIPlatform::V1::NearestNeighbors) — The nearest neighbors of the query entity.
Returns
- (::Google::Cloud::AIPlatform::V1::NearestNeighbors) — The nearest neighbors of the query entity.