Search latest flood status by geographical area. Note: Returns flood statuses whose gauge is within the given area, as opposed to e.g., affected area intersecting with the given area. This is subject to change in the future.
HTTP request
POST https://floodforecasting.googleapis.com/v1/floodStatus:searchLatestFloodStatusByArea
The URL uses gRPC Transcoding syntax.
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "pageToken": string, "pageSize": integer, // Union field |
Fields | |
---|---|
pageToken |
Optional. A page token, received from a previous |
pageSize |
Optional. The maximum number of flood statuses to return. The service may return fewer than this value. If unspecified, at most 20,000 flood statuses will be returned. The maximum value is 20,000; values above 20,000 will be coerced to 20,000. The maximum value is currently not enforced by the API, but will be in the future. |
Union field
|
|
regionCode |
The region by which to query flood statuses. Using CLDR, e.g., 'US'. |
loop |
The loop by which to query flood statuses. |
includeNonQualityVerified |
Optional. Include in the result gauges that aren't quality verified. Please use with caution. Default is false. |
Response body
The response of floodStatus.searchLatestFloodStatusByArea.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"floodStatuses": [
{
object ( |
Fields | |
---|---|
floodStatuses[] |
The latest flood statuses in the requested area. Currently, this is determined by the location of the gauges, this is subject to change in the future. |
nextPageToken |
Optional. A token that can be sent as |