Method: floodStatus.queryLatestFloodStatusByGaugeIds
Stay organized with collections
Save and categorize content based on your preferences.
Query latest flood status by gauge ids.
HTTP request
GET https://floodforecasting.googleapis.com/v1/floodStatus:queryLatestFloodStatusByGaugeIds
The URL uses gRPC Transcoding syntax.
Query parameters
Parameters |
gaugeIds[] |
string
Required. A list of gauge ids. The supported list size is limited to 20,000. If a list larger than 20,000 is provided it fails with an INVALID_REQUEST error.
|
Request body
The request body must be empty.
Response body
The response of floodStatus.queryLatestFloodStatusByGaugeIds.
If successful, the response body contains data with the following structure:
JSON representation |
{
"floodStatuses": [
{
object (FloodStatus )
}
]
} |
Fields |
floodStatuses[] |
object (FloodStatus )
The latest flood statuses for the requested gauges.
|
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 2025-09-01 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 2025-09-01 UTC."],[[["\u003cp\u003eThe API endpoint for querying the latest flood status by gauge IDs is \u003ccode\u003eGET https://floodforecasting.googleapis.com/v1/floodStatus:queryLatestFloodStatusByGaugeIds\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eTo query, a list of gauge IDs is required and must be provided as \u003ccode\u003egaugeIds[]\u003c/code\u003e in the query parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe request body for this API must be empty, and no data should be provided within it.\u003c/p\u003e\n"],["\u003cp\u003eA successful response returns an array of \u003ccode\u003efloodStatuses\u003c/code\u003e, where each element is a \u003ccode\u003eFloodStatus\u003c/code\u003e object containing the latest flood status information for a requested gauge.\u003c/p\u003e\n"]]],[],null,["# Method: floodStatus.queryLatestFloodStatusByGaugeIds\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.QueryLatestFloodStatusByGaugeIdsResponse.SCHEMA_REPRESENTATION)\n\nQuery latest flood status by gauge ids.\n\n### HTTP request\n\n`GET https://floodforecasting.googleapis.com/v1/floodStatus:queryLatestFloodStatusByGaugeIds`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Query parameters\n\n| Parameters ||\n|--------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `gaugeIds[]` | `string` Required. A list of gauge ids. The supported list size is limited to 20,000. If a list larger than 20,000 is provided it may fail, and soon we will also enforce the limit by returning an INVALID_REQUEST error. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nThe response of floodStatus.queryLatestFloodStatusByGaugeIds.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------|\n| ``` { \"floodStatuses\": [ { object (/flood-forecasting/rest/v1/floodStatus#FloodStatus) } ] } ``` |\n\n| Fields ||\n|-------------------|------------------------------------------------------------------------------------------------------------------------------------|\n| `floodStatuses[]` | `object (`[FloodStatus](/flood-forecasting/rest/v1/floodStatus#FloodStatus)`)` The latest flood statuses for the requested gauges. |"]]