Google Cloud Vector Search V1 Client - Class DistanceMetric (0.3.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Vector Search V1 Client class DistanceMetric.
Distance metric for vector search.
Protobuf type google.cloud.vectorsearch.v1.DistanceMetric
Namespace
Google \ Cloud \ VectorSearch \ V1
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
DISTANCE_METRIC_UNSPECIFIED
Value: 0
Default value, distance metric is not specified.
Generated from protobuf enum DISTANCE_METRIC_UNSPECIFIED = 0;
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-18 UTC."],[],[]]