Cloud Firestore V1 API - Class Google::Cloud::Firestore::V1::StructuredQuery::FindNearest (v0.14.0)

Reference documentation and code samples for the Cloud Firestore V1 API class Google::Cloud::Firestore::V1::StructuredQuery::FindNearest.

Nearest Neighbors search config.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#distance_measure

def distance_measure() -> ::Google::Cloud::Firestore::V1::StructuredQuery::FindNearest::DistanceMeasure
Returns

#distance_measure=

def distance_measure=(value) -> ::Google::Cloud::Firestore::V1::StructuredQuery::FindNearest::DistanceMeasure
Parameter
Returns

#limit

def limit() -> ::Google::Protobuf::Int32Value
Returns

#limit=

def limit=(value) -> ::Google::Protobuf::Int32Value
Parameter
Returns

#query_vector

def query_vector() -> ::Google::Cloud::Firestore::V1::Value
Returns

#query_vector=

def query_vector=(value) -> ::Google::Cloud::Firestore::V1::Value
Parameter
Returns

#vector_field

def vector_field() -> ::Google::Cloud::Firestore::V1::StructuredQuery::FieldReference
Returns

#vector_field=

def vector_field=(value) -> ::Google::Cloud::Firestore::V1::StructuredQuery::FieldReference
Parameter
Returns