Search for gauges by geographical area.
Note: Gauges are occasionally added or removed, so the result of this API should not be cached or stored for long periods of time. Consider no more than a day to be relatively safe.
HTTP request
POST https://floodforecasting.googleapis.com/v1/gauges:searchGaugesByArea
The URL uses gRPC Transcoding syntax.
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "pageSize": integer, "pageToken": string, // Union field |
Fields | |
---|---|
pageSize |
Optional. The maximum number of gauges to return. The service may return fewer than this value. If unspecified, at most 50,000 gauges will be returned. The maximum value is 50,000; values above 50,000 will be coerced to 50,000. The maximum value is currently not enforced by the API, but will be in the future. |
pageToken |
Optional. A page token, received from a previous |
Union field
|
|
regionCode |
Search for all gauges within a region by region code. Use https://cldr.unicode.org/ (list https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry). |
loop |
Search for all gauges within a loop (a simple spherical polygon, see |
includeNonQualityVerified |
Optional. Include in the result gauges that aren't quality verified. Please use with caution. Default is false. |
includeGaugesWithoutHydroModel |
Optional. Include in the result gauges that don't have a Google in-house hydro model. Default is false. |
Response body
The response of gauges.searchGaugesByArea.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"gauges": [
{
object ( |
Fields | |
---|---|
gauges[] |
Gauges found in the requested area. |
nextPageToken |
Optional. A token that can be sent as |