rankPreference property

String? rankPreference
getter/setter pair

How results will be ranked in the response. Possible string values are:

  • "RANK_PREFERENCE_UNSPECIFIED" : RankPreference value not set. Will use rank by POPULARITY by default.
  • "DISTANCE" : Ranks results by distance.
  • "POPULARITY" : Ranks results by popularity.

Implementation

core.String? rankPreference;