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-10-12 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-10-12 UTC."],[[["The `SuggestGeoTargetConstants` request allows you to search for geo target constants using either location names or resource names."],["You can refine the search by specifying a locale for translation and a country code for restriction."],["A maximum of 25 location names can be included in a single request when searching by location names."],["When searching by geo target resource names, existing resource names are used as filters to refine the results."]]],[]]