Geocoding API v4 methods have a default quota of 25 queries per second (QPS). For information on requesting a higher quota, see
View and manage quotas and select
Geocoding API as the service.
GeocodeAddressRequest.LocationBias
Stay organized with collections
Save and categorize content based on your preferences.
The region to search. This location serves as a bias which means results around the given location are preferred.
| JSON representation |
{
// The following is a list of mutually exclusive fields. At most one of the
// fields will be set in a response:
"rectangle": {
object (Viewport)
}
// End of mutually exclusive fields.
} |
| Fields |
| Types of location bias. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: |
rectangle |
object (Viewport)
A rectangular box defined by northeast and southwest corner. rectangle.high() must be the northeast point of the rectangle viewport. rectangle.low() must be the southwest point of the rectangle viewport. rectangle.low().latitude() cannot be greater than rectangle.high().latitude(). This will result in an empty latitude range. A rectangle viewport cannot be wider than 180 degrees.
|
| End of mutually exclusive fields. |
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 2026-10-22 UTC.
[null,null,["Last updated 2026-10-22 UTC."],[],[]]