SuggestGeoTargetConstantsRequest

  • This is the request message for the GeoTargetConstantService.SuggestGeoTargetConstants service.

  • The request message includes fields for specifying the locale and country code for returned geo targets.

  • The query field, which is required, allows selecting geo target constants by either location names or existing geo target constant resource names.

  • Up to 25 location names can be used for searching, while geo target constants can be filtered by their resource names.

Request message for GeoTargetConstantService.SuggestGeoTargetConstants.

Fields

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.

country_code

string

Returned geo targets are restricted to this country code.

Union field

query

query. Required. A selector of geo target constants. query can be only one of the following:

location_names

LocationNames

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

geo_targets

GeoTargets

The geo target constant resource names to filter by.