Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::FindNeighborsResponse::NearestNeighbors (v0.49.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::FindNeighborsResponse::NearestNeighbors.

Nearest neighbors for one query.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#id

def id() -> ::String
Returns
  • (::String) — The ID of the query datapoint.

#id=

def id=(value) -> ::String
Parameter
  • value (::String) — The ID of the query datapoint.
Returns
  • (::String) — The ID of the query datapoint.

#neighbors

def neighbors() -> ::Array<::Google::Cloud::AIPlatform::V1::FindNeighborsResponse::Neighbor>
Returns

#neighbors=

def neighbors=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::FindNeighborsResponse::Neighbor>
Parameter
Returns