rankPreference property
How results will be ranked in the response. Possible string values are:
- "RANK_PREFERENCE_UNSPECIFIED" : For a categorical query such as "Restaurants in New York City", RELEVANCE is the default. For non-categorical queries such as "Mountain View, CA" we recommend that you leave rankPreference unset.
- "DISTANCE" : Ranks results by distance.
- "RELEVANCE" : Ranks results by relevance. Sort order determined by normal ranking stack.
Implementation
core.String? rankPreference;