SuggestGeoTargetConstantsRequest
Stay organized with collections
Save and categorize content based on your preferences.
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-25 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-25 UTC."],[[["Suggests geo target constants based on provided location names or geo target resource names."],["Utilizes locale for translation and country code for restricting results."],["Accepts up to 25 location names for searching."],["Allows filtering by specific geo target constant resource names."]]],[]]