SuggestGeoTargetConstantsRequest

  • The request message for GeoTargetConstantService.SuggestGeoTargetConstants is used to suggest geo target constants.

  • The locale field is used to translate returned geo targets, defaulting to 'en' if the specified locale is not possible.

  • The country_code field restricts returned geo targets to a specific country.

  • The query field is a required union field used to select geo target constants, accepting either location_names or geo_targets.

Request message for GeoTargetConstantService.SuggestGeoTargetConstants.

Proto definition

Fields

country_code

string

Returned geo targets are restricted to this country code.

locale

string

If possible, returned geo targets are translated using this locale. If not, en is used by default. This is also used as a hint for returned geo targets.

query

Union field. Required. A selector of geo target constants.

query can be only one of the following:

geo_targets

GeoTargets

The geo target constant resource names to filter by.

location_names

LocationNames

The location names to search by. At most 25 names can be set.